From patchwork Mon Feb 13 14:46:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 56321 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2385410wrn; Mon, 13 Feb 2023 06:48:26 -0800 (PST) X-Google-Smtp-Source: AK7set+9dfVx8TjPQbWydeKi6m75EBPxOLQiD6Qveagw74fIpGjQ4r2CZWjMjrQspnaUTIO+OM03 X-Received: by 2002:a50:d4c8:0:b0:4a1:8579:d6ee with SMTP id e8-20020a50d4c8000000b004a18579d6eemr24004870edj.42.1676299705879; Mon, 13 Feb 2023 06:48:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676299705; cv=none; d=google.com; s=arc-20160816; b=uPYx2wPbB8+BY48Zvk+czpXPtEC1/qugNVpo6eVYlA9b+f66e1u7NGmd7dDgFj5fy5 iUDFXMMoQw1oRyHyi4c1gcQDmDsX5+icZW94rExLiiATV9IuUWVGkc2elvrj2/zX9tOs yEOdkplu6wysuKK0nrbjmN0vhfMy+3SSsYp6qfz6I7Q2IHRH73plo/v3bacbV03BGAYz a9H9gRez103fBrM0FOyRr91ZS0JlyrJvzPaZjOnwuRctDaUSBzVvLlaopB8wBZfve+Wj BEEW6xNpNquDz17MQyOlpKbuA5hZvfu7qmRiiucjDZDGo+DLNOh6CG2oi1EFjsQy/JCH DMjA== 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=WFfrceIf1t2XWsQlP6g7QsNsQTEjGCVtN3IyH9ltulo=; b=b2HCKU9y4xVKRwTZhnW+NkiKtGBI0exPkjirPel9MfQzSSnJLj7JlvM+Z1JxeXnF9x rE34ogNcw8JLVL9r4T8YYGzu0S4r1oHFWy8zMRcLcoogbfL+jjKp/D0d8hwiPFIYTwVh M4Wtz2iP1G9s27bFogbnnA0eB4/+KxvDX/cp5dSGTzg6qonK1hq+rGgeiX/eA+uIAhb/ bBJ1wATcHk8QjnA/K1oPHfEjhcqwd11jm4lu6IiNxCRkKAOJofBQg/BvhfaLdxrubwPq 67tc23ZsKAZ7VFeg6JuPomRyS1cucHfr3WX3IXAyuG+6GqjwRmCSuow1TCEQENrYqWRn 8cHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fairphone.com header.s=fair header.b=woKvrX1s; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id uj9-20020a170907c98900b00894dac1c7casi15908629ejc.867.2023.02.13.06.48.02; Mon, 13 Feb 2023 06:48:25 -0800 (PST) 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=woKvrX1s; 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 S230328AbjBMOqs (ORCPT + 99 others); Mon, 13 Feb 2023 09:46:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37296 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229583AbjBMOqn (ORCPT ); Mon, 13 Feb 2023 09:46:43 -0500 Received: from mail-ej1-x629.google.com (mail-ej1-x629.google.com [IPv6:2a00:1450:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 82BA91C303 for ; Mon, 13 Feb 2023 06:46:33 -0800 (PST) Received: by mail-ej1-x629.google.com with SMTP id sa10so32398605ejc.9 for ; Mon, 13 Feb 2023 06:46:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; 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=WFfrceIf1t2XWsQlP6g7QsNsQTEjGCVtN3IyH9ltulo=; b=woKvrX1sGqxQx6Cbklg8tApJqk933IYZTDpF1a6UC5EWAzMm33IOcIqUXHCjtxA09y sAwKfHIGkVlmNlttz9k1nbmtt2eRA6A+5e5xi9ZlgxL/NX3Z80r4NK8IqUh7yjVd4Od2 HBTPk37AvoGJtTCHk8a3/HgmpYCmREDEFYBXfcl77HDLJZUu0Q3Y52c6COplPayq8V7B oT4EqOGTL1J03rSJv1K8uCbQj6mjwFnUdDK930tzEN6uNorHVb9/gRci6G9Hmhbpq9PP vuUXRjhqURT3q4pGZyEv5HXpyPDSCJTLFypDegB/mm3a1D+HcB+enHJQMTaLQaEbvHP/ FBxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=WFfrceIf1t2XWsQlP6g7QsNsQTEjGCVtN3IyH9ltulo=; b=eYxfzTpUJVq7pMFCd2DAACFdE8lX9s9aLoo4hLBYZNvK2Fc8YhSgvEhzk6wNMh9GgY N43g6q2JYkhSgVG1TPde2om3Zgprr0hxxFxto8sg9dM8uZXtRJOg7ZIJ7GIcRv6cG/eZ pb5J3xLxCf+M5xwPHBgpGaIYyB3GVzfGh+en0zEG2tiDN1gGTTInb4cbUi+R8dPuLO1F ggkPqKX9BjBa40I/nhwQyusoc4CFZhNurVQWg4E6zEeOSSQ9KYTThg2Hm0hkNF5vIGM3 wJdXX4sarYdjI3WwSy6xClsj3nE0RNq0+dcTum+81dZx7KT7yMt3HFAin+eK2LLaKG7w Tf1w== X-Gm-Message-State: AO0yUKXP69IcIS78xxxpM1Web42SRFM9e/URasUhj1/KsgQbTm6Ubuf0 tHnu0oDCLBWXy/KxPDN3ilcPrQ== X-Received: by 2002:a17:906:1d14:b0:88c:a43d:81bc with SMTP id n20-20020a1709061d1400b0088ca43d81bcmr22765588ejh.58.1676299592151; Mon, 13 Feb 2023 06:46:32 -0800 (PST) Received: from [172.16.220.87] (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id b19-20020a17090636d300b0085d6bfc6201sm6884208ejc.86.2023.02.13.06.46.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 06:46:31 -0800 (PST) From: Luca Weiss Date: Mon, 13 Feb 2023 15:46:30 +0100 Subject: [PATCH v2 1/2] arm64: dts: qcom: sm7225-fairphone-fp4: move status property down MIME-Version: 1.0 Message-Id: <20230213-fp4-more-i2c-v2-1-1c459c572f80@fairphone.com> References: <20230213-fp4-more-i2c-v2-0-1c459c572f80@fairphone.com> In-Reply-To: <20230213-fp4-more-i2c-v2-0-1c459c572f80@fairphone.com> To: Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Luca Weiss X-Mailer: b4 0.12.1 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 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757727640391216780?= X-GMAIL-MSGID: =?utf-8?q?1757727640391216780?= Currently the dts contains a mix of status-as-first-property (old qcom style) and status-as-last-property (new style). Move all status properties down to the bottom once and for all so that the style is consistent between different nodes. Reviewed-by: Konrad Dybcio Signed-off-by: Luca Weiss --- arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts | 34 +++++++++++------------ 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts index f7602e93121a..86114dd2c0c4 100644 --- a/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts +++ b/arch/arm64/boot/dts/qcom/sm7225-fairphone-fp4.dts @@ -110,8 +110,8 @@ active-config0 { }; &adsp { - status = "okay"; firmware-name = "qcom/sm7225/fairphone4/adsp.mdt"; + status = "okay"; }; &apps_rsc { @@ -355,13 +355,13 @@ &cci1_i2c0 { }; &cdsp { - status = "okay"; firmware-name = "qcom/sm7225/fairphone4/cdsp.mdt"; + status = "okay"; }; &i2c10 { - status = "okay"; clock-frequency = <400000>; + status = "okay"; haptics@5a { compatible = "awinic,aw8695"; @@ -396,8 +396,8 @@ &ipa { }; &mpss { - status = "okay"; firmware-name = "qcom/sm7225/fairphone4/modem.mdt"; + status = "okay"; }; &pm6150l_flash { @@ -423,11 +423,11 @@ led-1 { }; &pm6150l_wled { - status = "okay"; - qcom,switching-freq = <800>; qcom,current-limit-microamp = <20000>; qcom,num-strings = <2>; + + status = "okay"; }; &pm6350_gpios { @@ -441,8 +441,8 @@ gpio_keys_pin: gpio-keys-state { }; &pm6350_resin { - status = "okay"; linux,code = ; + status = "okay"; }; &pm7250b_adc { @@ -535,21 +535,21 @@ &uart9 { }; &ufs_mem_hc { - status = "okay"; - reset-gpios = <&tlmm 156 GPIO_ACTIVE_LOW>; vcc-supply = <&vreg_l7e>; vcc-max-microamp = <800000>; vccq2-supply = <&vreg_l12a>; vccq2-max-microamp = <800000>; + + status = "okay"; }; &ufs_mem_phy { - status = "okay"; - vdda-phy-supply = <&vreg_l18a>; vdda-pll-supply = <&vreg_l22a>; + + status = "okay"; }; &usb_1 { @@ -562,26 +562,26 @@ &usb_1_dwc3 { }; &usb_1_hsphy { - status = "okay"; - vdd-supply = <&vreg_l18a>; vdda-pll-supply = <&vreg_l2a>; vdda-phy-dpdm-supply = <&vreg_l3a>; + + status = "okay"; }; &usb_1_qmpphy { - status = "okay"; - vdda-phy-supply = <&vreg_l22a>; vdda-pll-supply = <&vreg_l16a>; + + status = "okay"; }; &wifi { - status = "okay"; - vdd-0.8-cx-mx-supply = <&vreg_l4a>; vdd-1.8-xo-supply = <&vreg_l7a>; vdd-1.3-rfa-supply = <&vreg_l2e>; vdd-3.3-ch0-supply = <&vreg_l10e>; vdd-3.3-ch1-supply = <&vreg_l11e>; + + status = "okay"; };