devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
	Andy Gross <agross@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
	Douglas Anderson <dianders@chromium.org>,
	Stephen Boyd <swboyd@chromium.org>,
	Matthias Kaehlcke <mka@chromium.org>,
	"Joseph S. Barrera III" <joebar@chromium.org>,
	Gustave Monce <gustave.monce@outlook.com>,
	Vinod Koul <vkoul@kernel.org>,
	Rajendra Nayak <rnayak@codeaurora.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 5/8] arm64: dts: qcom: msm8998-oneplus-cheeseburger: revert "fix backlight pin function"
Date: Mon, 13 Mar 2023 09:50:30 +0100	[thread overview]
Message-ID: <af9489db-4de2-5cd1-07ab-4f38e34832b9@linaro.org> (raw)
In-Reply-To: <20230312183622.460488-5-krzysztof.kozlowski@linaro.org>



On 12.03.2023 19:36, Krzysztof Kozlowski wrote:
> This reverts commit 46546f28825cf3a5ef6873b9cf947cd85c8a7258 because it
> mistakenly took PMIC pinctrl/GPIO as TLMM.  The TLMM pinctrl uses "gpio"
> function, but PMIC uses "normal", so original code was correct:
> 
>   msm8998-oneplus-cheeseburger.dtb: pmic@2: gpio@c000:button-backlight-state: 'oneOf' conditional failed, one must be fixed:
>     'gpio' is not one of ['normal', 'paired', 'func1', 'func2', 'dtest1', 'dtest2', 'dtest3', 'dtest4', 'func3', 'func4']
> 
> Fixes: 46546f28825c ("arm64: dts: qcom: msm8998-oneplus-cheeseburger: fix backlight pin function")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---
> 
> Eh, embarrassing. I would say to myself - use dtbs_check on patches, but
> I think that time there were too many errors coming from Qualcomm
> pinctrl bindings.
It's good that we have schema at all though.. It helps a lot!

> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
>  arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dts b/arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dts
> index d36b36af49d0..fac8b3510cd3 100644
> --- a/arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dts
> +++ b/arch/arm64/boot/dts/qcom/msm8998-oneplus-cheeseburger.dts
> @@ -34,7 +34,7 @@ led-keypad-backlight {
>  &pmi8998_gpios {
>  	button_backlight_default: button-backlight-state {
>  		pins = "gpio5";
> -		function = "gpio";
> +		function = "normal";
>  		bias-pull-down;
>  		qcom,drive-strength = <PMIC_GPIO_STRENGTH_NO>;
>  	};

  reply	other threads:[~2023-03-13  8:53 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-12 18:36 [PATCH 1/8] arm64: dts: qcom: sda660-inforce: correct key node name Krzysztof Kozlowski
2023-03-12 18:36 ` [PATCH 2/8] arm64: dts: qcom: sc7280-herobrine-villager: correct trackpad supply Krzysztof Kozlowski
2023-03-13  8:48   ` Konrad Dybcio
2023-03-13 14:37   ` Doug Anderson
2023-03-13 18:09   ` Stephen Boyd
2023-03-12 18:36 ` [PATCH 3/8] arm64: dts: qcom: sc7180-trogdor-lazor: " Krzysztof Kozlowski
2023-03-13  8:49   ` Konrad Dybcio
2023-03-13 14:37   ` Doug Anderson
2023-03-13 18:09   ` Stephen Boyd
2023-03-12 18:36 ` [PATCH 4/8] arm64: dts: qcom: sc7180-trogdor-pazquel: " Krzysztof Kozlowski
2023-03-13  8:49   ` Konrad Dybcio
2023-03-13 14:37   ` Doug Anderson
2023-03-13 18:10   ` Stephen Boyd
2023-03-12 18:36 ` [PATCH 5/8] arm64: dts: qcom: msm8998-oneplus-cheeseburger: revert "fix backlight pin function" Krzysztof Kozlowski
2023-03-13  8:50   ` Konrad Dybcio [this message]
2023-03-12 18:36 ` [PATCH 6/8] arm64: dts: qcom: msm8994-kitakami: drop unit address from PMI8994 regulator Krzysztof Kozlowski
2023-03-13  8:53   ` Konrad Dybcio
2023-03-12 18:36 ` [PATCH 7/8] arm64: dts: qcom: msm8994-msft-lumia-octagon: " Krzysztof Kozlowski
2023-03-13  8:53   ` Konrad Dybcio
2023-03-12 18:36 ` [PATCH 8/8] arm64: dts: qcom: apq8096-db820c: " Krzysztof Kozlowski
2023-03-13  8:54   ` Konrad Dybcio
2023-03-12 18:38 ` [PATCH 1/8] arm64: dts: qcom: sda660-inforce: correct key node name Krzysztof Kozlowski
2023-03-13  8:47 ` Konrad Dybcio
2023-04-05  4:09 ` (subset) " Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=af9489db-4de2-5cd1-07ab-4f38e34832b9@linaro.org \
    --to=konrad.dybcio@linaro.org \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dianders@chromium.org \
    --cc=gustave.monce@outlook.com \
    --cc=joebar@chromium.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mka@chromium.org \
    --cc=rnayak@codeaurora.org \
    --cc=robh+dt@kernel.org \
    --cc=swboyd@chromium.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).