Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15831813rwd; Mon, 26 Jun 2023 01:49:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5ArxJ3sYy+/40HEe0ogr9ThE6BM+NHaALH+ESdeMuhRs+h+50+zeg8htnOXnETRJza+c/J X-Received: by 2002:a05:6a20:a128:b0:126:4886:d8ee with SMTP id q40-20020a056a20a12800b001264886d8eemr3542967pzk.26.1687769357962; Mon, 26 Jun 2023 01:49:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687769357; cv=none; d=google.com; s=arc-20160816; b=hw/t3kpXcIinNJ5vb1xi9zwav8pYauTqFv7dT95ikQt69/Q8OwS0UvouES4V8Kx2en 5zKrmVooRRJF4p7XJiyulS3zgYlfAfwZCHih0ltiFMFOzSA5N0v4wdgJ+mDUCWVGiZH9 PX4xe41gwiZs2rcD4Ohc11MHvCWSDFpoqZXetkc7cfiqrOHJ7EWtnV2c07Sd8nTXFEqT x55nDu5rCF5Jm1n3A3Vn2gKIMxGPK0Zv7PLcjcEmnqJqgpK4cOVUGog08+aGA3YLFcgv pgBpYzuVLCCC5jAuwH+vlBVIIkygvBJPFFLpjTACiz+JcOEqgdDvNQLl+t2KHwxwAzcR /Lbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=0qYVAKY+YXta+7lNsRy1YDUkvZipC4+LBE/XMbcyVzw=; fh=nrgsiwVwYxducxgPRrDaOWb2JjVxdBWISWY1C39fghc=; b=cF3jR3ISdtbS7DNz5kL3QJxL0kBiKZ70aw2j9UyV40jCoWk5ZyI8yCqRBdRUPU3JSL JJfGFOy7uVO5If4t8j1pLNswdxvD5tyQ5tyxmntYX97t6UgGOAVXo72h62MUR4t8j2Mo HYLnOMPWlOi5fdJDA28UQCBpd4yRuKzae2XsnyE2cC8UpBUPBghZEjN4coFt5r00u603 gloOTab38HmluNX3PJiqhRWlUpk22NeKZWinxZyDzv5OIhBGzGTXdUTiAp/9qQlJ0cR3 Vtzc+uANDkYaTi8TZQfSlwBQJrZ9jNCHhJVkxZscv9rxEmvPw2SrW70twIMlQUT1QGS6 646Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=hXMORbxH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a21-20020a63e855000000b0054fe7b18673si4924894pgk.723.2023.06.26.01.49.06; Mon, 26 Jun 2023 01:49:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=hXMORbxH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=fairphone.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230240AbjFZIQ2 (ORCPT + 99 others); Mon, 26 Jun 2023 04:16:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55500 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230173AbjFZIQR (ORCPT ); Mon, 26 Jun 2023 04:16:17 -0400 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B15901B6 for ; Mon, 26 Jun 2023 01:16:15 -0700 (PDT) Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-98bcc533490so358647466b.0 for ; Mon, 26 Jun 2023 01:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; t=1687767374; x=1690359374; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=0qYVAKY+YXta+7lNsRy1YDUkvZipC4+LBE/XMbcyVzw=; b=hXMORbxHbiqd1R5ySQVoMsVvKySIATv0WYQh9ag/q66Xwn39vSiJ4I0zp36NiWPL3f KXPHOfwu6nMiEbnjHTfqbmtVcxUhkz6GFlvE9ikNHwduC6O0g71hglFBaZ0tgdTCXwOO Z4obE1b69ZoP0qVejeYquadiqV1u1y2uVcfpdeiiWnK/cPxs+YfNgWh7IvXdl8IjqHSl +b4TqgNtlk7zheuVsJ4qGFeOaohC04YxM01yXLXbznbDd7GaStWyoBJgBkQZk2wa1UGn MzNiTq9xJfEtYCkmutfi2OjgAzTdln3lnMg6DIDbwO2tMBpBVyu3HBYe6axmxmTAX0vn WK0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687767374; x=1690359374; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0qYVAKY+YXta+7lNsRy1YDUkvZipC4+LBE/XMbcyVzw=; b=HYJzx4odHb7WEmDsRfhKFYgy8+wN0EG36ueSqdps5BXRC8Z/dW6+05LO6/SAQacmey eiNqT7uAFTD2kaN+MNBUkq3xKfvLudsdyA5qxhO9PXgY3uzQCohWJ8ji8ZrOcJwZgvBc +twAdj16wEu+kuhV6Iwurs0uCv6r7IdYhPYVJ6TV6bWhyqthfuC0Svdr53dhqyX6XOXG sMfFhp2CrfxsXfk4TDLeybJlyNUFbTfQ3DfsSam5IEvubAGk+crSBej6gJ67PR2ClcMZ 82ro7+w7vNeHhl91sK5smg2zMK3j7pxM+US2LN9lLPKhejeud+q08xZbTHiL9OTDDAc4 6ScQ== X-Gm-Message-State: AC+VfDwV1vwp1d/ErGE2j0MqsAZWLApNM4mvA9ve5bM1yCOlpWhySsu9 7qwm75HKu5XI0Cl9/gTDmwXS+g== X-Received: by 2002:a17:906:eecd:b0:988:6491:98db with SMTP id wu13-20020a170906eecd00b00988649198dbmr18334296ejb.17.1687767374137; Mon, 26 Jun 2023 01:16:14 -0700 (PDT) Received: from [172.16.240.113] (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id bm4-20020a170906c04400b0094f07545d40sm2935617ejb.220.2023.06.26.01.16.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jun 2023 01:16:13 -0700 (PDT) From: Luca Weiss Date: Mon, 26 Jun 2023 10:15:58 +0200 Subject: [PATCH v4 2/3] dt-bindings: ufs: qcom: Add reg-names property for ICE MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20221209-dt-binding-ufs-v4-2-14ced60f3d1b@fairphone.com> References: <20221209-dt-binding-ufs-v4-0-14ced60f3d1b@fairphone.com> In-Reply-To: <20221209-dt-binding-ufs-v4-0-14ced60f3d1b@fairphone.com> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Alim Akhtar , Avri Altman , Bart Van Assche , Rob Herring , Krzysztof Kozlowski , Iskren Chernev , Manivannan Sadhasivam , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, linux-scsi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , Krzysztof Kozlowski , Eric Biggers X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The code in ufs-qcom-ice.c needs the ICE reg to be named "ice". Add this in the bindings so the existing dts can validate successfully. Reviewed-by: Krzysztof Kozlowski Reviewed-by: Eric Biggers Reviewed-by: Iskren Chernev Signed-off-by: Luca Weiss --- Documentation/devicetree/bindings/ufs/qcom,ufs.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml index eb3de2fde6b0..b5fc686cb3a1 100644 --- a/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml +++ b/Documentation/devicetree/bindings/ufs/qcom,ufs.yaml @@ -80,6 +80,10 @@ properties: minItems: 1 maxItems: 2 + reg-names: + minItems: 1 + maxItems: 2 + required-opps: maxItems: 1 @@ -135,6 +139,8 @@ allOf: reg: minItems: 1 maxItems: 1 + reg-names: + maxItems: 1 - if: properties: @@ -163,6 +169,12 @@ allOf: reg: minItems: 2 maxItems: 2 + reg-names: + items: + - const: std + - const: ice + required: + - reg-names - if: properties: @@ -191,6 +203,8 @@ allOf: reg: minItems: 1 maxItems: 1 + reg-names: + maxItems: 1 - if: properties: @@ -216,6 +230,12 @@ allOf: reg: minItems: 2 maxItems: 2 + reg-names: + items: + - const: std + - const: ice + required: + - reg-names # TODO: define clock bindings for qcom,msm8994-ufshc -- 2.41.0