Message ID | 20230320135710.1989-1-johan+linaro@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp1238743wrt; Mon, 20 Mar 2023 07:10:57 -0700 (PDT) X-Google-Smtp-Source: AK7set+RrI+pmZXDR4OF3xnXb/8OM9OQgCo6LHkNbLPd3Eh4oMgEk1iHrkeQyVok84jw9PGsjosL X-Received: by 2002:a17:902:ced0:b0:1a1:b7fc:eeba with SMTP id d16-20020a170902ced000b001a1b7fceebamr9792641plg.19.1679321456900; Mon, 20 Mar 2023 07:10:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679321456; cv=none; d=google.com; s=arc-20160816; b=x051To+p7ukfonbFgAmIQPfiBt25HSxYTnlSMyXGaFlMab9BLsuCK0OIA+jfv4ZpCF 1ysD3QX/gYEB3I9+K8sIBZcYTaRX41o5rWPvRjYwLrR4Gwda+DLxSq1DnMjJk07a5q8u 9iaKSiF7vTtXMtJV5kt+Klrb2uLjK/ThHXnqGrv0yx5sMNGn71gnsxXaF4zxwPS5msOW T6lBAgdD/Mi1jGyHBBb2uJQaqgXy8cpzYNqwshaV795T6RSUiSTgj6iT5a8rgDBsSuxB +Kfw9t0f2TngUVr56pLc5WY8tmMnaZMzmfziMkcIaSx1HAM7ZwXNYjt+gaybG63aH6y2 V4Xg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=EsZG3ExDA+U7frDOE5Rce41DemhGc6BesU68RA291ec=; b=W+Esvg8g7VoH2bKWfelX+ZxZfePjtJhAI3VfBbNA14NlBd2jJrqIbhQCGX6a1PG2tp U4KmqWEVdEI+3B+4Ho18+X/YnKcAXJIZZer7nhkuUB26nDWY0r9vkgFRUnhOqq/7fU7r degDrHaQbhF0Lqh48I6xTThajj5vqIFVf0jfrDTvk1lziHUPR/0m9NlWCqfGDMdHuvgF DVbQr2i1TVnw8MFe0Chaj1yjG9MX71xd1r2Fnd+ybC0vLEeEKR50iU5pq19j0bYeY4zr ZnippfICskUoW/y4jQ0AMiwCjYN2ZK63lMT9l+3rhAAcpM1Rin1jI0L3iwEey/L5RDJJ nvgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=tQGGrQ5A; 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=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u11-20020a170902e80b00b001a1abc91952si10062055plg.194.2023.03.20.07.10.39; Mon, 20 Mar 2023 07:10:56 -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=@kernel.org header.s=k20201202 header.b=tQGGrQ5A; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231278AbjCTN4m (ORCPT <rfc822;pusanteemu@gmail.com> + 99 others); Mon, 20 Mar 2023 09:56:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42052 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231675AbjCTN4Y (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 20 Mar 2023 09:56:24 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E8D3AD0C; Mon, 20 Mar 2023 06:55:57 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0F25461519; Mon, 20 Mar 2023 13:55:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 664BBC433D2; Mon, 20 Mar 2023 13:55:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679320556; bh=IDEsPDZL0eVwZgvBZYPKhbIzQ+HsdvJH6DLdaGRl3Ac=; h=From:To:Cc:Subject:Date:From; b=tQGGrQ5AMiheYj07qk45aCmweD1tdADnr1eWNnnKsZsBym9j7m6Rkb4tdRd+hctU7 zrdy/kGvDs45M34yPyS3owtcpTf6taDAntYDHO6TwedOLNpYoxDpQH1vFIuImEKCt3 +9RZo6bYAjrB1LjAbgovPePcuPMfph9eMLOzjBEkEzr4FNFlFW7VDsuwuVAMEdjfZs ifJW7Ws1EUvPYT9Vg/d0sVAdc3uwxLePFSFiwtk1+1WbLEERD/uCrOjM+wzPORUhtt bwhRZWg4XjlAkOg25g8wyhh8nuRZRNXZ21KPHinUZzM/qbnA3p1yogpdUuX1q/n0VG agDpaR9s7gE+g== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from <johan+linaro@kernel.org>) id 1peG0j-0000WP-Kq; Mon, 20 Mar 2023 14:57:17 +0100 From: Johan Hovold <johan+linaro@kernel.org> To: Bjorn Andersson <andersson@kernel.org>, Lee Jones <lee@kernel.org>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Cc: Andy Gross <agross@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org> Subject: [PATCH 0/3] arm64: dts: qcom: sc8280xp-pmics: fix sdam 'reg' property Date: Mon, 20 Mar 2023 14:57:07 +0100 Message-Id: <20230320135710.1989-1-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760896175719932750?= X-GMAIL-MSGID: =?utf-8?q?1760896175719932750?= |
Series |
arm64: dts: qcom: sc8280xp-pmics: fix sdam 'reg' property
|
|
Message
Johan Hovold
March 20, 2023, 1:57 p.m. UTC
This series addresses the dt-schema validation warnings that were introduced when enabling the PMIC SDAM block (and RTC) on sc8280xp. I guess this should go through the nvmem, qcom, and mfd trees, respectively. Johan Johan Hovold (3): dt-bindings: nvmem: qcom,spmi-sdam: fix example 'reg' property arm64: dts: qcom: sc8280xp-pmics: fix sdam 'reg' property dt-bindings: mfd: qcom,spmi-pmic: add nvram function .../bindings/mfd/qcom,spmi-pmic.yaml | 4 +++ .../bindings/nvmem/qcom,spmi-sdam.yaml | 31 +++++++++++-------- arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 2 +- 3 files changed, 23 insertions(+), 14 deletions(-)
Comments
On 20.03.2023 14:57, Johan Hovold wrote: > The SPMI PMIC register region width is fixed and should not be encoded > in the devicetree. > > Fixes: 42f45cc655d0 ("arm64: dts: qcom: sc8280xp-pmics: add pmk8280 sdam nvram") > Signed-off-by: Johan Hovold <johan+linaro@kernel.org> > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Konrad > arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi > index 1411edd42b25..c35e7f6bd657 100644 > --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi > +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi > @@ -107,7 +107,7 @@ pmk8280_rtc: rtc@6100 { > > pmk8280_sdam_6: nvram@8500 { > compatible = "qcom,spmi-sdam"; > - reg = <0x8500 0x100>; > + reg = <0x8500>; > #address-cells = <1>; > #size-cells = <1>; > ranges = <0 0x8500 0x100>;
On Mon, 20 Mar 2023 14:57:07 +0100, Johan Hovold wrote: > This series addresses the dt-schema validation warnings that were > introduced when enabling the PMIC SDAM block (and RTC) on sc8280xp. > > I guess this should go through the nvmem, qcom, and mfd trees, > respectively. > > Johan > > [...] Applied, thanks! [2/3] arm64: dts: qcom: sc8280xp-pmics: fix sdam 'reg' property commit: 1681ce3735483ab6897e403a20a7faf5c34c1f09 Best regards,