From patchwork Mon Nov 7 14:55:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 622413 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18B16C46467 for ; Mon, 7 Nov 2022 14:56:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232650AbiKGO4A (ORCPT ); Mon, 7 Nov 2022 09:56:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232596AbiKGOzz (ORCPT ); Mon, 7 Nov 2022 09:55:55 -0500 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCD311E708 for ; Mon, 7 Nov 2022 06:55:37 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id q9so30930887ejd.0 for ; Mon, 07 Nov 2022 06:55:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=n9ReWYsqv/4y+sVAlfDMPpZttGbDSSM7AqAH827M+f0=; b=Tbi7dDc2Kv2SuE3Z8kIWoV3w8Cg/nM6Zh6Zt5fQuZ8xLSLjvkDkeTjUMsCacp8bRma WFkGv0GN8+7MOL1GoGAqE/RCYZh3VpIrzKUzygzebFUAkzezRBJZ41UQtSYS0rMTDhba ZBdADczQXDQZNCs/4ijObFqvuB+sio6jUYFIQyaEwxmxsHSTqi3Kt5qGzbN/38lTnprB AGH2uK629nS47IV5THztLlSIMXCzOOKT1vd0ImPNtr98IJW+Vw39rIx6KzI3WMEeiGsT t8PhF3uLEwggVrwFuYj0Xx/+bMFP9iQca0rvV4HwaKebk7Ep//kMbpY/tFxk0wImkYUc V8vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n9ReWYsqv/4y+sVAlfDMPpZttGbDSSM7AqAH827M+f0=; b=JP02tq0mnWvD5B2eabO/QEKAZ0ySMIZooK5jNGZOrMyA4awfsipCEio0mbe81SkjLi le+NBrBQR2rheAMddqJZeLWlCrMP1vRcucgwGShmFdGmr2ef6I/Rs7xsuXj8CkJhm/9m yk+xWaSAGAKyevnk5Z4XdVsmHxHNWN3tV2x9F6m+GBnWPLhAKG2lJeQCJAc9kk3wq5XE ArFtzz+GxILq7SF7N7oKwIMmxLkR3a5H7N+MggPSLxjbye5Nrlh4IlfYviOsZPrCNMYS otV8yx0rJLFvuzxbXnByzU+wEwnD6rjvF99row9m5cLZ3EFumArNBXI4JEoaCInT4SsF A/JQ== X-Gm-Message-State: ACrzQf3CCzES++52pN3gz2/ZjKjdxX58ztH207rSPqN2aMamj9FlyWbE QNc++tW6cMcMZdgkZ7U2xdYqEw== X-Google-Smtp-Source: AMsMyM73I1INxXt21DKrq/DTY1o/MBJffHEG4zDQZ9SajV/YuYDKAWKRI1NLGEMWcPAFVWojY9FjEQ== X-Received: by 2002:a17:906:8a6a:b0:79e:2efe:e0 with SMTP id hy10-20020a1709068a6a00b0079e2efe00e0mr49217496ejc.401.1667832937413; Mon, 07 Nov 2022 06:55:37 -0800 (PST) Received: from localhost.localdomain ([194.29.137.22]) by smtp.gmail.com with ESMTPSA id d1-20020a1709067f0100b0078907275a44sm3503049ejr.42.2022.11.07.06.55.35 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 07 Nov 2022 06:55:36 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org, krzysztof.kozlowski@linaro.org Cc: patches@linaro.org, Konrad Dybcio , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 06/11] arm64: dts: qcom: sdm845-*: Fix up comments Date: Mon, 7 Nov 2022 15:55:16 +0100 Message-Id: <20221107145522.6706-7-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.32.0 (Apple Git-132) In-Reply-To: <20221107145522.6706-1-konrad.dybcio@linaro.org> References: <20221107145522.6706-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Switch '//' comments to C-style /* */. Make sure all multiline C-style commends begin with just '/*' with the comment text starting on a new line. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 38 +++++++++++-------- .../boot/dts/qcom/sdm845-oneplus-common.dtsi | 5 ++- .../boot/dts/qcom/sdm850-samsung-w737.dts | 2 +- 3 files changed, 27 insertions(+), 18 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index 8ba3188ac4c3..ea092e884b45 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -120,9 +120,11 @@ lt9611_3v3: lt9611-3v3 { regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - // TODO: make it possible to drive same GPIO from two clients - // gpio = <&tlmm 89 GPIO_ACTIVE_HIGH>; - // enable-active-high; + /* + * TODO: make it possible to drive same GPIO from two clients + * gpio = <&tlmm 89 GPIO_ACTIVE_HIGH>; + * enable-active-high; + */ }; pcie0_1p05v: pcie-0-1p05v-regulator { @@ -133,9 +135,11 @@ pcie0_1p05v: pcie-0-1p05v-regulator { regulator-min-microvolt = <1050000>; regulator-max-microvolt = <1050000>; - // TODO: make it possible to drive same GPIO from two clients - // gpio = <&tlmm 90 GPIO_ACTIVE_HIGH>; - // enable-active-high; + /* + * TODO: make it possible to drive same GPIO from two clients + * gpio = <&tlmm 90 GPIO_ACTIVE_HIGH>; + * enable-active-high; + */ }; cam0_dvdd_1v2: reg_cam0_dvdd_1v2 { @@ -195,9 +199,11 @@ v5p0_hdmiout: v5p0-hdmiout-regulator { regulator-min-microvolt = <500000>; regulator-max-microvolt = <500000>; - // TODO: make it possible to drive same GPIO from two clients - // gpio = <&tlmm 89 GPIO_ACTIVE_HIGH>; - // enable-active-high; + /* + * TODO: make it possible to drive same GPIO from two clients + * gpio = <&tlmm 89 GPIO_ACTIVE_HIGH>; + * enable-active-high; + */ }; vbat: vbat-regulator { @@ -1192,7 +1198,7 @@ camera@10 { compatible = "ovti,ov8856"; reg = <0x10>; - // CAM0_RST_N + /* CAM0_RST_N */ reset-gpios = <&tlmm 9 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; pinctrl-0 = <&cam0_default>; @@ -1201,7 +1207,8 @@ camera@10 { clock-names = "xvclk"; clock-frequency = <19200000>; - /* The &vreg_s4a_1p8 trace is powered on as a, + /* + * The &vreg_s4a_1p8 trace is powered on as a, * so it is represented by a fixed regulator. * * The 2.8V vdda-supply and 1.2V vddd-supply regulators @@ -1229,10 +1236,10 @@ &cci_i2c1 { camera@60 { compatible = "ovti,ov7251"; - // I2C address as per ov7251.txt linux documentation + /* I2C address as per ov7251.txt linux documentation */ reg = <0x60>; - // CAM3_RST_N + /* CAM3_RST_N */ enable-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&cam3_default>; @@ -1241,7 +1248,8 @@ camera@60 { clock-names = "xclk"; clock-frequency = <24000000>; - /* The &vreg_s4a_1p8 trace always powered on. + /* + * The &vreg_s4a_1p8 trace always powered on. * * The 2.8V vdda-supply regulator is enabled when the * vreg_s4a_1p8 trace is pulled high. @@ -1257,7 +1265,7 @@ camera@60 { port { ov7251_ep: endpoint { data-lanes = <0 1>; -// remote-endpoint = <&csiphy3_ep>; +/* remote-endpoint = <&csiphy3_ep>; */ }; }; }; diff --git a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi index 5d99908d4628..a51ec7fb1746 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845-oneplus-common.dtsi @@ -50,7 +50,8 @@ key-vol-up { }; reserved-memory { - /* The rmtfs_mem needs to be guarded due to "XPU limitations" + /* + * The rmtfs_mem needs to be guarded due to "XPU limitations" * it is otherwise possible for an allocation adjacent to the * rmtfs_mem region to trigger an XPU violation, causing a crash. */ @@ -433,7 +434,7 @@ &mdss { status = "okay"; }; -/* Modem/wifi*/ +/* Modem/wifi */ &mss_pil { status = "okay"; firmware-name = "qcom/sdm845/oneplus6/mba.mbn", "qcom/sdm845/oneplus6/modem.mbn"; diff --git a/arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts b/arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts index f93d748e2c94..b712834a5d64 100644 --- a/arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts +++ b/arch/arm64/boot/dts/qcom/sdm850-samsung-w737.dts @@ -43,7 +43,7 @@ chosen { #size-cells = <2>; ranges; - // Firmware initialized the display at 1280p instead of 1440p + /* Firmware initialized the display at 1280p instead of 1440p */ framebuffer0: framebuffer@80400000 { compatible = "simple-framebuffer"; reg = <0 0x80400000 0 (1920 * 1280 * 4)>;