From patchwork Mon Nov 7 14:55:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 622415 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 4A576C4167B for ; Mon, 7 Nov 2022 14:55:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232614AbiKGOz4 (ORCPT ); Mon, 7 Nov 2022 09:55:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232499AbiKGOzn (ORCPT ); Mon, 7 Nov 2022 09:55:43 -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 B73E81E3E9 for ; Mon, 7 Nov 2022 06:55:31 -0800 (PST) Received: by mail-ej1-x632.google.com with SMTP id bj12so30709718ejb.13 for ; Mon, 07 Nov 2022 06:55:31 -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=EgfM4NTtnCK306YjpvWBBimKN7eI2DmTNzB4KqfbC+M=; b=gG1L58n/R8ro4416FI66rwb9ygjwbzvjvCJaufUO4NnnTpEWCCR7kQimaBpcyzVk6D 7PczhDbZ1S0dBigYk5wAvbA4ii95lLeaq4zVi8KaofbZLFVVMV4GZjDRfmCxyJ9+fU+k M6Axs5DFRZ5mF+TTge0MFSkHD1Tko+1HCOiBr0pj7BAVj/cRxui4wMWxhLiriS1R/dCx smncyhoF61jdP0SnQWnUuOUBDN++ybsi2NV4eb5zHt39was/JRhKHRQdziyucaMGS08L 8DQqgxjPc7g5DYQZ+bVp4MqaEXGNtWuOhLonEQHGKu8mcBXUpXXXie31PjGmK9oV/xKT LPcA== 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=EgfM4NTtnCK306YjpvWBBimKN7eI2DmTNzB4KqfbC+M=; b=MhozanA+Y5KVKB5LRvHMqdpQO+mfdJb0q3avVjTQKnI96IkUHaXAgNwVmgeD1uLJYf U47NRbA+a/BEpH9oIvSlRtBEKbOJYsaMfhFHdKmS5+LsROyNwgqFFbVGPiWwnK507tXi BFviUpLE/Z+BjFZjmY+VNhTMoYBIIXWcJ4jFkyWqOOEGB2vMzXeddPy6obusirDn2qFX HNYF/52bIlVaU6mvOwk6/t98HIAYCMeHctYzMWmY+FevEj6Ans+eSm/ng7aWu574EmVA mnF+5pRU9olnHfgh51WW4LK864YhMRWQja6LcaueC6/eMXCGLy/EXxAI/xXCgAsXBxMG WBcg== X-Gm-Message-State: ACrzQf0/FYOpY0/eSFwgiOgXvrQ4cJCyJXwjCi3DyazeyPaz4lAgvf+G gY/WwfyLaBH8BDShK47aIZ0DXg== X-Google-Smtp-Source: AMsMyM7DVL1VthJLULQ91psrVUH89eBu/bhVpkNaeN8xijgAnPYeuxJGPApeDjzkdq4l0iWOtYsDLw== X-Received: by 2002:a17:907:7632:b0:7a1:d4f0:e7c5 with SMTP id jy18-20020a170907763200b007a1d4f0e7c5mr48698760ejc.160.1667832930229; Mon, 07 Nov 2022 06:55:30 -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.28 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 07 Nov 2022 06:55:29 -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 02/11] arm64: dts: qcom: msm/apq8x96-*: Fix up comments Date: Mon, 7 Nov 2022 15:55:12 +0100 Message-Id: <20221107145522.6706-3-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 /* */ and fix up the contents of some. Make sure all multiline C-style commends begin with just '/*' with the comment text starting on a new line. Also, fix up a single raw '2' to PM8994_GPIO_S4 while at it. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/apq8096-db820c.dts | 14 +++++++------- arch/arm64/boot/dts/qcom/msm8996.dtsi | 3 ++- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts index 7f10372178d6..6ad7e5c78ae1 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dts +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dts @@ -560,7 +560,7 @@ pinconf { pins = "gpio5"; function = PMIC_GPIO_FUNC_NORMAL; output-low; - power-source = <2>; // PM8994_GPIO_S4, 1.8V + power-source = ; /* 1.8V */ }; }; @@ -569,7 +569,7 @@ pinconf { pins = "gpio19"; function = PMIC_GPIO_FUNC_NORMAL; output-low; - power-source = ; // 1.8V + power-source = ; /* 1.8V */ qcom,drive-strength = ; bias-pull-down; }; @@ -580,7 +580,7 @@ pinconf { pins = "gpio8"; function = PMIC_GPIO_FUNC_NORMAL; output-low; - power-source = ; // 1.8V + power-source = ; /* 1.8V */ qcom,drive-strength = ; bias-pull-down; }; @@ -590,7 +590,7 @@ audio_mclk: clk-div1-state { pinconf { pins = "gpio15"; function = "func1"; - power-source = ; // 1.8V + power-source = ; /* 1.8V */ }; }; @@ -602,7 +602,7 @@ pinconf { drive-push-pull; bias-pull-up; qcom,drive-strength = ; - power-source = ; // 1.8V + power-source = ; /* 1.8V */ }; }; @@ -623,7 +623,7 @@ pinconf { input-enable; bias-pull-down; qcom,drive-strength = ; - power-source = ; // 1.8V + power-source = ; /* 1.8V */ }; }; }; @@ -679,7 +679,7 @@ pinconf { input-enable; bias-pull-down; qcom,drive-strength = ; - power-source = ; // 1.8V + power-source = ; /* 1.8V */ }; }; }; diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi index df0f67c223bb..4dccde54dd2f 100644 --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. +/* + * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. */ #include From patchwork Mon Nov 7 14:55:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 622414 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 ADFD9C4332F for ; Mon, 7 Nov 2022 14:55:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232494AbiKGOz6 (ORCPT ); Mon, 7 Nov 2022 09:55:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232588AbiKGOzy (ORCPT ); Mon, 7 Nov 2022 09:55:54 -0500 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 567C71E703 for ; Mon, 7 Nov 2022 06:55:35 -0800 (PST) Received: by mail-ed1-x530.google.com with SMTP id a5so17940308edb.11 for ; Mon, 07 Nov 2022 06:55:35 -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=/7GKMF/lET5d/bSPpn69UJxHLYl9FEVbhPqltHrC3iU=; b=HRAzrmSotF5vn7R4dpjJ1TJqTjoyO0iB7MFkiXMx8kZFwXTnRzBh/dCFFO92llq7aY 9QNnyrNPA4hekLR7q6GWEUbLcBbFHag1GV7mNjIRL4guOl7x/zHAi10mjRn4/4k6HuyA eopb8efMBrN5Di+T8A35xySQUUwOhztFp30y9etxH+1T27L50cTDxNBnc2XloBMi4Ps3 TS4p3KRj9Eysbbo+O6++0t7FjhPXmcDM7dsKZwD5/ewBxcQQYm+8v93AOyjyw4VxwNAi cKMPTttiEqbQxB0K441z6C4J3oWiq71T0kukuiH5xAJ+bq/XIbYbxns/mB4TK/Ty3I2m ZA/w== 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=/7GKMF/lET5d/bSPpn69UJxHLYl9FEVbhPqltHrC3iU=; b=iEcciWJO17NikqlBMigEONLhw5zmnWkSiDpfBXgQvV/eQxmX+ycixdeQ8m+Yh2sIuJ K6vuaC5KaP2NJ4NGKNlCE5WrHNmJrLolFdg5QNPIx4nofh0oBoIx6baiwlwYg3YFOHiH SJTAZiM5R29HKLxteAS0cAylpN/aEoPV7FL4p3w4F1g29uTi8JPdip61NC5r14UQ+oot z+VS9T731zUNAySgsgykJT+4+I3cKiythSxEn+hfBl7tS6H0xoepG8JXwwhy6BI7a+fr Rwa4YWiJ0E9S00Xfe+AFIf0bRVOEdjcgy+6PLizaUXh3ZyGWIj9ne4cBH/YPiDU/pqjq 8sGg== X-Gm-Message-State: ACrzQf1fuXGL9WSiRiQhr4K9aI10vT2iTCigYnz9B0VUAiV+HWesI7Yi ZgZid/lpMoOB1YMjNoq+Qe5hOA== X-Google-Smtp-Source: AMsMyM4SA0SE5ADDHc+/PcE4KIzL/N7XSfEc3jBsJUWiMf3ZzwKwNb3BjpJR6oQgczMj/7ZTM/AHUQ== X-Received: by 2002:aa7:d889:0:b0:460:62ef:2695 with SMTP id u9-20020aa7d889000000b0046062ef2695mr48931916edq.273.1667832934997; Mon, 07 Nov 2022 06:55:34 -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.33 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 07 Nov 2022 06:55:34 -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 05/11] arm64: dts: qcom: sc8280xp-x13s: Fix up comments Date: Mon, 7 Nov 2022 15:55:15 +0100 Message-Id: <20221107145522.6706-6-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 /* */. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts index 68b61e8d03c0..381d521d2ba0 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts +++ b/arch/arm64/boot/dts/qcom/sc8280xp-lenovo-thinkpad-x13s.dts @@ -95,7 +95,7 @@ vreg_l6b: ldo6 { regulator-max-microvolt = <880000>; regulator-initial-mode = ; regulator-boot-on; - regulator-always-on; // FIXME: VDD_A_EDP_0_0P9 + regulator-always-on; /* FIXME: VDD_A_EDP_0_0P9 */ }; }; 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)>; From patchwork Mon Nov 7 14:55:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 622412 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 8DBE5C4332F for ; Mon, 7 Nov 2022 14:56:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232613AbiKGO4P (ORCPT ); Mon, 7 Nov 2022 09:56:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232608AbiKGOz4 (ORCPT ); Mon, 7 Nov 2022 09:55:56 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B36481E723 for ; Mon, 7 Nov 2022 06:55:42 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id ud5so30845242ejc.4 for ; Mon, 07 Nov 2022 06:55:42 -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=nuX6KaudmQsn2rPeSIOs44P/XRafMRrl0nWAlEjY1QQ=; b=qUvi/WW4l6eZKvg6CoVOWpUhUryY17EtC9VmpANw26S+Gm3H03up6n+Dtmb+2czWmL A/1ImnD1qaTHLWGKEeSPCO66q1VdqCxDo0dV+iyXccODR8R52SEP/WULvylEtOpgMTs6 ywzHaNO5Wh4f0QrpAHajiDzH0IvLUn4Y1JkLU4HQtuejvRBMDqlcfrHXvEQltzqaCtLm 6M4f4YKLizDNyq66JIANfzWwmkGoGJKTst9AgJolQoH2boph/EVWvvKR/2K4n92pMZx/ l/jjvipyCE+vSVhzVTI5uUrfvfKunQvZNSnMXROWd+LiFNyZEeyLnQJfE+W22saAq9QF zOjw== 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=nuX6KaudmQsn2rPeSIOs44P/XRafMRrl0nWAlEjY1QQ=; b=rqXPsugywpfx+q8p4PaW0zkwMFBJB0Ih0wvz6jsTVntjPiZKAI2ufig9vtW1faBA4c lKdNMdlE5cWKIbbrvyuVfz1XmXUJC2Eqq1UmLBAJ2jkvyUk7Kd9XjGBMOmm+SL2tiTTa PKBHm4DRz7YjHkVp9URKL/+uVcxhK1wDqjScwlyXP4T94B4G0knZnIGyvkBLWSRwpGQN 7RmVsjAMDp1IqjqY31hbTzH9k2Qz7dfanwk7Jgwy58eRQ0yo/IAXJemSpdRA9eARWQe5 4VBnmWXUAk1uActPu9IrYWEkTEN74QVKUM3RTg219uq/78tRfJUh11vw4fdLFlwGCssG sR8g== X-Gm-Message-State: ACrzQf2gDNW+ugUObPdqxlj2zeqRjNTJtLvkIPSFUhYIegLMjdNo6ZYi gIbqQz+o4W6zUSyuRswSSOrvGQ== X-Google-Smtp-Source: AMsMyM4D4uwJQulwIbw6S5UCCU8M81PoQNr3dWDmRFTJw9rQ/h918nc8+RIVddulAPMpX0KSDrXhCQ== X-Received: by 2002:a17:907:2da3:b0:7ad:ffba:a8e4 with SMTP id gt35-20020a1709072da300b007adffbaa8e4mr27651762ejc.684.1667832942315; Mon, 07 Nov 2022 06:55:42 -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.40 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 07 Nov 2022 06:55:41 -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 08/11] arm64: dts: qcom: msm8992-*: Fix up comments Date: Mon, 7 Nov 2022 15:55:18 +0100 Message-Id: <20221107145522.6706-9-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 Make sure all multiline C-style commends begin with just '/*' with the comment text starting on a new line. Also, trim off downstream regulator properties from comments to prevent them from accidentally landing into mainline one day.. Signed-off-by: Konrad Dybcio --- .../dts/qcom/msm8992-lg-bullhead-rev-10.dts | 3 +- .../dts/qcom/msm8992-lg-bullhead-rev-101.dts | 3 +- .../boot/dts/qcom/msm8992-lg-bullhead.dtsi | 41 ++++++++++--------- arch/arm64/boot/dts/qcom/msm8992.dtsi | 3 +- 4 files changed, 28 insertions(+), 22 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-10.dts b/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-10.dts index 7e6bce4af441..4159fc35571a 100644 --- a/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-10.dts +++ b/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-10.dts @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) Jean Thomas +/* + * Copyright (c) Jean Thomas */ /dts-v1/; diff --git a/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-101.dts b/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-101.dts index e6a5ebd30e2f..ad9702dd171b 100644 --- a/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-101.dts +++ b/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead-rev-101.dts @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) Jean Thomas +/* + * Copyright (c) Jean Thomas */ /dts-v1/; diff --git a/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi b/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi index aef92f3c49da..87c90e93667f 100644 --- a/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8992-lg-bullhead.dtsi @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) 2015, LGE Inc. All rights reserved. +/* + * Copyright (c) 2015, LGE Inc. All rights reserved. * Copyright (c) 2016, The Linux Foundation. All rights reserved. * Copyright (c) 2021, Petr Vorel */ @@ -236,9 +237,11 @@ pm8994_l25: l25 { }; pm8994_l26: l26 { - /* TODO: value from downstream - regulator-min-microvolt = <987500>; - fails to apply */ + /* + * TODO: value from downstream + * regulator-min-microvolt = <987500>; + * fails to apply + */ }; pm8994_l27: l27 { @@ -252,19 +255,19 @@ pm8994_l28: l28 { }; pm8994_l29: l29 { - /* TODO: Unsupported voltage range. - regulator-min-microvolt = <2800000>; - regulator-max-microvolt = <2800000>; - qcom,init-voltage = <2800000>; - */ + /* + * TODO: Unsupported voltage range. + * regulator-min-microvolt = <2800000>; + * regulator-max-microvolt = <2800000>; + */ }; pm8994_l30: l30 { - /* TODO: get this verified - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - */ + /* + * TODO: get this verified + * regulator-min-microvolt = <1800000>; + * regulator-max-microvolt = <1800000>; + */ }; pm8994_l31: l31 { @@ -273,11 +276,11 @@ pm8994_l31: l31 { }; pm8994_l32: l32 { - /* TODO: get this verified - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - qcom,init-voltage = <1800000>; - */ + /* + * TODO: get this verified + * regulator-min-microvolt = <1800000>; + * regulator-max-microvolt = <1800000>; + */ }; }; diff --git a/arch/arm64/boot/dts/qcom/msm8992.dtsi b/arch/arm64/boot/dts/qcom/msm8992.dtsi index 750643763a76..10adb4986ef1 100644 --- a/arch/arm64/boot/dts/qcom/msm8992.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8992.dtsi @@ -1,5 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. +/* + * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. */ #include "msm8994.dtsi" From patchwork Mon Nov 7 14:55:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 622411 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 5FA1FC433FE for ; Mon, 7 Nov 2022 14:56:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232739AbiKGO4r (ORCPT ); Mon, 7 Nov 2022 09:56:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232584AbiKGOz7 (ORCPT ); Mon, 7 Nov 2022 09:55:59 -0500 Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 316221EAE9 for ; Mon, 7 Nov 2022 06:55:48 -0800 (PST) Received: by mail-ej1-x630.google.com with SMTP id n12so30736714eja.11 for ; Mon, 07 Nov 2022 06:55:48 -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=kOtt4TgnKXp9fj1DHy8FkNetuTYDbpK+ZsFHgnK7rY0=; b=kfFS0dWaJljMpp43/JDMAZ1AOos71/7++MW6Svbzn38EPnfSBiEqYbo56N7vk05+j1 2qkv4hkISXgaxD8bbuArwhh5GB8LsfTmqDikKGcBMbm+czrYt2m/+H1IZHtALUbGk/oO xL9j9OvT4oLKP0TAQTqYGCqeyoPSdPr4FQByGZsndSivpYCurZE3REcf3c3tjPGM9ABK b3Ck/gDGM6UPKPjHDCNaUbV4poO0Xru+qjj1FPSCIuxaCXVb/p/eErQh5jmqwJPnPU4Z f2vFzV90JyXUvd+mhIlPvzzOHUKg2SpKgmtg+eHnRi9AQc9lPeSpY+ofJ93s3P1bZK2U InMA== 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=kOtt4TgnKXp9fj1DHy8FkNetuTYDbpK+ZsFHgnK7rY0=; b=ktpjjEoJ5tzonUoiIWUyBT91an+XvGmc4O/wCH43q6NFcaCPYhtuuqCBWRlGk8w/wB wfYSDfg6XuAk3uFOShAGT0Yt188KEzNltAvnu3BVMYV94NONT8E4Ou7ZNvuZCic3xa+D 2Whtw9iizU+UcFGYaDDqBBl+N09F8x4+K5trdQZ1NFR4uAEjXLk4sSlDanok3yMH18dC mQtn1G+fg6lwgCNntWX7BarsDomFzZk80nV47ougGEzhOK6IWjkU4hOuAa44KXQrHwTu x+iEW8SR/XAsZv6rkTIjbeTWOWs6R2sP9yP3zwOFEvY/UGOtCy035c1GVvtlisCBmRPX AOSQ== X-Gm-Message-State: ACrzQf1dnRzx0oFOEdq/mIJffPyfJffJrOW59F6GojU0Dq1aaby2/f6c q4s4VHlhfAUw8dnrLw4b9t6qZg== X-Google-Smtp-Source: AMsMyM5gcZ/fxE4XfsOW46/dE5R6NZqw+sdEe12gWdgwA4ewT7cC//LxFyj19QYw3ABEPc2jeH18/A== X-Received: by 2002:a17:907:608d:b0:7a2:b93e:a765 with SMTP id ht13-20020a170907608d00b007a2b93ea765mr48933718ejc.273.1667832946752; Mon, 07 Nov 2022 06:55:46 -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.44 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 07 Nov 2022 06:55:46 -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 10/11] arm64: dts: qcom: qcs404-*: Fix up comments Date: Mon, 7 Nov 2022 15:55:20 +0100 Message-Id: <20221107145522.6706-11-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 /* */. Signed-off-by: Konrad Dybcio --- arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts | 4 +++- arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts | 4 +++- arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 4 +++- arch/arm64/boot/dts/qcom/qcs404.dtsi | 4 +++- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts b/arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts index 937eb4555ffe..fc29b194cd34 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts +++ b/arch/arm64/boot/dts/qcom/qcs404-evb-1000.dts @@ -1,5 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2018, Linaro Limited +/* + * Copyright (c) 2018, Linaro Limited + */ /dts-v1/; diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts b/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts index 08d5d51221cf..047b74d912a1 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts +++ b/arch/arm64/boot/dts/qcom/qcs404-evb-4000.dts @@ -1,5 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2018, Linaro Limited +/* + * Copyright (c) 2018, Linaro Limited + */ /dts-v1/; diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index dbbe1653718b..c6f8b5b15825 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -1,5 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2018, Linaro Limited +/* + * Copyright (c) 2018, Linaro Limited + */ #include #include "qcs404.dtsi" diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi index 80f2d05595fa..b4b89346b492 100644 --- a/arch/arm64/boot/dts/qcom/qcs404.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404.dtsi @@ -1,5 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 -// Copyright (c) 2018, Linaro Limited +/* + * Copyright (c) 2018, Linaro Limited + */ #include #include