lkml.org 
[lkml]   [2022]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v2 06/33] ARM: dts: qcom: msm8974: align TLMM pin configuration with DT schema
From


On 26.09.2022 09:43, Krzysztof Kozlowski wrote:
> DT schema expects TLMM pin configuration nodes to be named with
> '-state' suffix and their optional children with '-pins' suffix.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>

Konrad
> .../qcom-msm8974-lge-nexus5-hammerhead.dts | 30 +++++++++----------
> 1 file changed, 15 insertions(+), 15 deletions(-)
>
> diff --git a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
> index 6daceaa87802..8138f37233aa 100644
> --- a/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
> +++ b/arch/arm/boot/dts/qcom-msm8974-lge-nexus5-hammerhead.dts
> @@ -573,43 +573,43 @@ bcrmf@1 {
> };
>
> &tlmm {
> - sdc1_on: sdc1-on {
> - clk {
> + sdc1_on: sdc1-on-state {
> + clk-pins {
> pins = "sdc1_clk";
> drive-strength = <16>;
> bias-disable;
> };
>
> - cmd-data {
> + cmd-data-pins {
> pins = "sdc1_cmd", "sdc1_data";
> drive-strength = <10>;
> bias-pull-up;
> };
> };
>
> - sdc2_on: sdc2-on {
> - clk {
> + sdc2_on: sdc2-on-state {
> + clk-pins {
> pins = "sdc2_clk";
> drive-strength = <6>;
> bias-disable;
> };
>
> - cmd-data {
> + cmd-data-pins {
> pins = "sdc2_cmd", "sdc2_data";
> drive-strength = <6>;
> bias-pull-up;
> };
> };
>
> - mpu6515_pin: mpu6515 {
> + mpu6515_pin: mpu6515-state {
> pins = "gpio73";
> function = "gpio";
> bias-disable;
> input-enable;
> };
>
> - touch_pin: touch {
> - int {
> + touch_pin: touch-state {
> + int-pins {
> pins = "gpio5";
> function = "gpio";
>
> @@ -618,7 +618,7 @@ int {
> input-enable;
> };
>
> - reset {
> + reset-pins {
> pins = "gpio8";
> function = "gpio";
>
> @@ -627,25 +627,25 @@ reset {
> };
> };
>
> - panel_pin: panel {
> + panel_pin: panel-state {
> pins = "gpio12";
> function = "mdp_vsync";
> drive-strength = <2>;
> bias-disable;
> };
>
> - bt_pin: bt {
> - hostwake {
> + bt_pin: bt-state {
> + hostwake-pins {
> pins = "gpio42";
> function = "gpio";
> };
>
> - devwake {
> + devwake-pins {
> pins = "gpio62";
> function = "gpio";
> };
>
> - shutdown {
> + shutdown-pins {
> pins = "gpio41";
> function = "gpio";
> };

\
 
 \ /
  Last update: 2022-09-27 15:12    [W:0.263 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site