mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: linux-arm-msm@vger.kernel.org, andersson@kernel.org,
	agross@kernel.org, krzysztof.kozlowski@linaro.org
Cc: marijn.suijten@somainline.org,
	Konrad Dybcio <konrad.dybcio@linaro.org>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 7/7] soc: qcom: rpmpd: Make bindings assignments consistent
Date: Wed, 25 Jan 2023 04:27:28 +0100	[thread overview]
Message-ID: <20230125032728.611640-8-konrad.dybcio@linaro.org> (raw)
In-Reply-To: <20230125032728.611640-1-konrad.dybcio@linaro.org>

Currently the whitespace between [DT_BINDING] = &struct is all over
the place.. some SoC structs have a space, others have a tab, others
have N tabs.. Make that a single space for everybody to keep things
coherent.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
 drivers/soc/qcom/rpmpd.c | 164 +++++++++++++++++++--------------------
 1 file changed, 82 insertions(+), 82 deletions(-)

diff --git a/drivers/soc/qcom/rpmpd.c b/drivers/soc/qcom/rpmpd.c
index ca4e18cb9e84..8f34fd826cbb 100644
--- a/drivers/soc/qcom/rpmpd.c
+++ b/drivers/soc/qcom/rpmpd.c
@@ -474,12 +474,12 @@ static struct rpmpd sscx_l26a_corner_vfc = {
 };
 
 static struct rpmpd *mdm9607_rpmpds[] = {
-	[MDM9607_VDDCX] =	&cx_s3a_lvl,
-	[MDM9607_VDDCX_AO] =	&cx_s3a_lvl_ao,
-	[MDM9607_VDDCX_VFL] =	&cx_s3a_lvl_vfl,
-	[MDM9607_VDDMX] =		&mx_l12a_lvl,
-	[MDM9607_VDDMX_AO] =	&mx_l12a_lvl_ao,
-	[MDM9607_VDDMX_VFL] =	&mx_l12a_lvl_vfl,
+	[MDM9607_VDDCX] = &cx_s3a_lvl,
+	[MDM9607_VDDCX_AO] = &cx_s3a_lvl_ao,
+	[MDM9607_VDDCX_VFL] = &cx_s3a_lvl_vfl,
+	[MDM9607_VDDMX] = &mx_l12a_lvl,
+	[MDM9607_VDDMX_AO] = &mx_l12a_lvl_ao,
+	[MDM9607_VDDMX_VFL] = &mx_l12a_lvl_vfl,
 };
 
 static const struct rpmpd_desc mdm9607_desc = {
@@ -489,9 +489,9 @@ static const struct rpmpd_desc mdm9607_desc = {
 };
 
 static struct rpmpd *msm8226_rpmpds[] = {
-	[MSM8226_VDDCX] =	&cx_s1a_corner,
-	[MSM8226_VDDCX_AO] =	&cx_s1a_corner_ao,
-	[MSM8226_VDDCX_VFC] =	&cx_s1a_corner_vfc,
+	[MSM8226_VDDCX] = &cx_s1a_corner,
+	[MSM8226_VDDCX_AO] = &cx_s1a_corner_ao,
+	[MSM8226_VDDCX_VFC] = &cx_s1a_corner_vfc,
 };
 
 static const struct rpmpd_desc msm8226_desc = {
@@ -501,14 +501,14 @@ static const struct rpmpd_desc msm8226_desc = {
 };
 
 static struct rpmpd *msm8939_rpmpds[] = {
-	[MSM8939_VDDMDCX] =	&md_s1a_corner,
-	[MSM8939_VDDMDCX_AO] =	&md_s1a_corner_ao,
-	[MSM8939_VDDMDCX_VFC] =	&md_s1a_corner_vfc,
-	[MSM8939_VDDCX] =	&cx_s2a_corner,
-	[MSM8939_VDDCX_AO] =	&cx_s2a_corner_ao,
-	[MSM8939_VDDCX_VFC] =	&cx_s2a_corner_vfc,
-	[MSM8939_VDDMX] =	&mx_l3a_corner,
-	[MSM8939_VDDMX_AO] =	&mx_l3a_corner_ao,
+	[MSM8939_VDDMDCX] = &md_s1a_corner,
+	[MSM8939_VDDMDCX_AO] = &md_s1a_corner_ao,
+	[MSM8939_VDDMDCX_VFC] = &md_s1a_corner_vfc,
+	[MSM8939_VDDCX] = &cx_s2a_corner,
+	[MSM8939_VDDCX_AO] = &cx_s2a_corner_ao,
+	[MSM8939_VDDCX_VFC] = &cx_s2a_corner_vfc,
+	[MSM8939_VDDMX] = &mx_l3a_corner,
+	[MSM8939_VDDMX_AO] = &mx_l3a_corner_ao,
 };
 
 static const struct rpmpd_desc msm8939_desc = {
@@ -518,11 +518,11 @@ static const struct rpmpd_desc msm8939_desc = {
 };
 
 static struct rpmpd *msm8916_rpmpds[] = {
-	[MSM8916_VDDCX] =	&cx_s1a_corner,
-	[MSM8916_VDDCX_AO] =	&cx_s1a_corner_ao,
-	[MSM8916_VDDCX_VFC] =	&cx_s1a_corner_vfc,
-	[MSM8916_VDDMX] =	&mx_l3a_corner,
-	[MSM8916_VDDMX_AO] =	&mx_l3a_corner_ao,
+	[MSM8916_VDDCX] = &cx_s1a_corner,
+	[MSM8916_VDDCX_AO] = &cx_s1a_corner_ao,
+	[MSM8916_VDDCX_VFC] = &cx_s1a_corner_vfc,
+	[MSM8916_VDDMX] = &mx_l3a_corner,
+	[MSM8916_VDDMX_AO] = &mx_l3a_corner_ao,
 };
 
 static const struct rpmpd_desc msm8916_desc = {
@@ -532,13 +532,13 @@ static const struct rpmpd_desc msm8916_desc = {
 };
 
 static struct rpmpd *msm8953_rpmpds[] = {
-	[MSM8953_VDDMD] =	&md_s1a_lvl,
-	[MSM8953_VDDMD_AO] =	&md_s1a_lvl_ao,
-	[MSM8953_VDDCX] =	&cx_s2a_lvl,
-	[MSM8953_VDDCX_AO] =	&cx_s2a_lvl_ao,
-	[MSM8953_VDDCX_VFL] =	&cx_s2a_lvl_vfl,
-	[MSM8953_VDDMX] =	&mx_s7a_lvl,
-	[MSM8953_VDDMX_AO] =	&mx_s7a_lvl_ao,
+	[MSM8953_VDDMD] = &md_s1a_lvl,
+	[MSM8953_VDDMD_AO] = &md_s1a_lvl_ao,
+	[MSM8953_VDDCX] = &cx_s2a_lvl,
+	[MSM8953_VDDCX_AO] = &cx_s2a_lvl_ao,
+	[MSM8953_VDDCX_VFL] = &cx_s2a_lvl_vfl,
+	[MSM8953_VDDMX] = &mx_s7a_lvl,
+	[MSM8953_VDDMX_AO] = &mx_s7a_lvl_ao,
 };
 
 static const struct rpmpd_desc msm8953_desc = {
@@ -548,12 +548,12 @@ static const struct rpmpd_desc msm8953_desc = {
 };
 
 static struct rpmpd *msm8976_rpmpds[] = {
-	[MSM8976_VDDCX] =	&cx_s2a_lvl,
-	[MSM8976_VDDCX_AO] =	&cx_s2a_lvl_ao,
-	[MSM8976_VDDCX_VFL] =	&cx_s2a_lvl_vfl,
-	[MSM8976_VDDMX] =	&mx_s6a_lvl,
-	[MSM8976_VDDMX_AO] =	&mx_s6a_lvl_ao,
-	[MSM8976_VDDMX_VFL] =	&mx_s6a_lvl_vfl,
+	[MSM8976_VDDCX] = &cx_s2a_lvl,
+	[MSM8976_VDDCX_AO] = &cx_s2a_lvl_ao,
+	[MSM8976_VDDCX_VFL] = &cx_s2a_lvl_vfl,
+	[MSM8976_VDDMX] = &mx_s6a_lvl,
+	[MSM8976_VDDMX_AO] = &mx_s6a_lvl_ao,
+	[MSM8976_VDDMX_VFL] = &mx_s6a_lvl_vfl,
 };
 
 static const struct rpmpd_desc msm8976_desc = {
@@ -563,13 +563,13 @@ static const struct rpmpd_desc msm8976_desc = {
 };
 
 static struct rpmpd *msm8994_rpmpds[] = {
-	[MSM8994_VDDCX] =	&cx_s1a_corner,
-	[MSM8994_VDDCX_AO] =	&cx_s1a_corner_ao,
-	[MSM8994_VDDCX_VFC] =	&cx_s1a_corner_vfc,
-	[MSM8994_VDDMX] =	&mx_s2a_corner,
-	[MSM8994_VDDMX_AO] =	&mx_s2a_corner_ao,
-	[MSM8994_VDDGFX] =	&gfx_s2b_corner,
-	[MSM8994_VDDGFX_VFC] =	&gfx_s2b_corner_vfc,
+	[MSM8994_VDDCX] = &cx_s1a_corner,
+	[MSM8994_VDDCX_AO] = &cx_s1a_corner_ao,
+	[MSM8994_VDDCX_VFC] = &cx_s1a_corner_vfc,
+	[MSM8994_VDDMX] = &mx_s2a_corner,
+	[MSM8994_VDDMX_AO] = &mx_s2a_corner_ao,
+	[MSM8994_VDDGFX] = &gfx_s2b_corner,
+	[MSM8994_VDDGFX_VFC] = &gfx_s2b_corner_vfc,
 };
 
 static const struct rpmpd_desc msm8994_desc = {
@@ -579,12 +579,12 @@ static const struct rpmpd_desc msm8994_desc = {
 };
 
 static struct rpmpd *msm8996_rpmpds[] = {
-	[MSM8996_VDDCX] =	&cx_s1a_corner,
-	[MSM8996_VDDCX_AO] =	&cx_s1a_corner_ao,
-	[MSM8996_VDDCX_VFC] =	&cx_s1a_corner_vfc,
-	[MSM8996_VDDMX] =	&mx_s2a_corner,
-	[MSM8996_VDDMX_AO] =	&mx_s2a_corner_ao,
-	[MSM8996_VDDSSCX] =	&sscx_l26a_corner,
+	[MSM8996_VDDCX] = &cx_s1a_corner,
+	[MSM8996_VDDCX_AO] = &cx_s1a_corner_ao,
+	[MSM8996_VDDCX_VFC] = &cx_s1a_corner_vfc,
+	[MSM8996_VDDMX] = &mx_s2a_corner,
+	[MSM8996_VDDMX_AO] = &mx_s2a_corner_ao,
+	[MSM8996_VDDSSCX] = &sscx_l26a_corner,
 	[MSM8996_VDDSSCX_VFC] =	&sscx_l26a_corner_vfc,
 };
 
@@ -595,16 +595,16 @@ static const struct rpmpd_desc msm8996_desc = {
 };
 
 static struct rpmpd *msm8998_rpmpds[] = {
-	[MSM8998_VDDCX] =		&rwcx0_lvl,
-	[MSM8998_VDDCX_AO] =		&rwcx0_lvl_ao,
-	[MSM8998_VDDCX_VFL] =		&rwcx0_lvl_vfl,
-	[MSM8998_VDDMX] =		&rwmx0_lvl,
-	[MSM8998_VDDMX_AO] =		&rwmx0_lvl_ao,
-	[MSM8998_VDDMX_VFL] =		&rwmx0_lvl_vfl,
-	[MSM8998_SSCCX] =		&rwsc0_lvl,
-	[MSM8998_SSCCX_VFL] =		&rwsc0_lvl_vfl,
-	[MSM8998_SSCMX] =		&rwsm0_lvl,
-	[MSM8998_SSCMX_VFL] =		&rwsm0_lvl_vfl,
+	[MSM8998_VDDCX] = &rwcx0_lvl,
+	[MSM8998_VDDCX_AO] = &rwcx0_lvl_ao,
+	[MSM8998_VDDCX_VFL] = &rwcx0_lvl_vfl,
+	[MSM8998_VDDMX] = &rwmx0_lvl,
+	[MSM8998_VDDMX_AO] = &rwmx0_lvl_ao,
+	[MSM8998_VDDMX_VFL] = &rwmx0_lvl_vfl,
+	[MSM8998_SSCCX] = &rwsc0_lvl,
+	[MSM8998_SSCCX_VFL] = &rwsc0_lvl_vfl,
+	[MSM8998_SSCMX] = &rwsm0_lvl,
+	[MSM8998_SSCMX_VFL] = &rwsm0_lvl_vfl,
 };
 
 static const struct rpmpd_desc msm8998_desc = {
@@ -630,16 +630,16 @@ static const struct rpmpd_desc qcs404_desc = {
 };
 
 static struct rpmpd *sdm660_rpmpds[] = {
-	[SDM660_VDDCX] =		&rwcx0_lvl,
-	[SDM660_VDDCX_AO] =		&rwcx0_lvl_ao,
-	[SDM660_VDDCX_VFL] =		&rwcx0_lvl_vfl,
-	[SDM660_VDDMX] =		&rwmx0_lvl,
-	[SDM660_VDDMX_AO] =		&rwmx0_lvl_ao,
-	[SDM660_VDDMX_VFL] =		&rwmx0_lvl_vfl,
-	[SDM660_SSCCX] =		&rwlc0_lvl,
-	[SDM660_SSCCX_VFL] =		&rwlc0_lvl_vfl,
-	[SDM660_SSCMX] =		&rwlm0_lvl,
-	[SDM660_SSCMX_VFL] =		&rwlm0_lvl_vfl,
+	[SDM660_VDDCX] = &rwcx0_lvl,
+	[SDM660_VDDCX_AO] = &rwcx0_lvl_ao,
+	[SDM660_VDDCX_VFL] = &rwcx0_lvl_vfl,
+	[SDM660_VDDMX] = &rwmx0_lvl,
+	[SDM660_VDDMX_AO] = &rwmx0_lvl_ao,
+	[SDM660_VDDMX_VFL] = &rwmx0_lvl_vfl,
+	[SDM660_SSCCX] = &rwlc0_lvl,
+	[SDM660_SSCCX_VFL] = &rwlc0_lvl_vfl,
+	[SDM660_SSCMX] = &rwlm0_lvl,
+	[SDM660_SSCMX_VFL] = &rwlm0_lvl_vfl,
 };
 
 static const struct rpmpd_desc sdm660_desc = {
@@ -649,14 +649,14 @@ static const struct rpmpd_desc sdm660_desc = {
 };
 
 static struct rpmpd *sm6115_rpmpds[] = {
-	[SM6115_VDDCX] =		&rwcx0_lvl,
-	[SM6115_VDDCX_AO] =		&rwcx0_lvl_ao,
-	[SM6115_VDDCX_VFL] =		&rwcx0_lvl_vfl,
-	[SM6115_VDDMX] =		&rwmx0_lvl,
-	[SM6115_VDDMX_AO] =		&rwmx0_lvl_ao,
-	[SM6115_VDDMX_VFL] =		&rwmx0_lvl_vfl,
-	[SM6115_VDD_LPI_CX] =		&rwlc0_lvl,
-	[SM6115_VDD_LPI_MX] =		&rwlm0_lvl,
+	[SM6115_VDDCX] = &rwcx0_lvl,
+	[SM6115_VDDCX_AO] = &rwcx0_lvl_ao,
+	[SM6115_VDDCX_VFL] = &rwcx0_lvl_vfl,
+	[SM6115_VDDMX] = &rwmx0_lvl,
+	[SM6115_VDDMX_AO] = &rwmx0_lvl_ao,
+	[SM6115_VDDMX_VFL] = &rwmx0_lvl_vfl,
+	[SM6115_VDD_LPI_CX] = &rwlc0_lvl,
+	[SM6115_VDD_LPI_MX] = &rwlm0_lvl,
 };
 
 static const struct rpmpd_desc sm6115_desc = {
@@ -666,12 +666,12 @@ static const struct rpmpd_desc sm6115_desc = {
 };
 
 static struct rpmpd *sm6125_rpmpds[] = {
-	[SM6125_VDDCX] =		&rwcx0_lvl,
-	[SM6125_VDDCX_AO] =		&rwcx0_lvl_ao,
-	[SM6125_VDDCX_VFL] =		&rwcx0_lvl_vfl,
-	[SM6125_VDDMX] =		&rwmx0_lvl,
-	[SM6125_VDDMX_AO] =		&rwmx0_lvl_ao,
-	[SM6125_VDDMX_VFL] =		&rwmx0_lvl_vfl,
+	[SM6125_VDDCX] = &rwcx0_lvl,
+	[SM6125_VDDCX_AO] = &rwcx0_lvl_ao,
+	[SM6125_VDDCX_VFL] = &rwcx0_lvl_vfl,
+	[SM6125_VDDMX] = &rwmx0_lvl,
+	[SM6125_VDDMX_AO] = &rwmx0_lvl_ao,
+	[SM6125_VDDMX_VFL] = &rwmx0_lvl_vfl,
 };
 
 static const struct rpmpd_desc sm6125_desc = {
-- 
2.39.1


      parent reply	other threads:[~2023-01-25  3:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20230125032728.611640-1-konrad.dybcio@linaro.org>
2023-01-25  3:27 ` [PATCH 1/7] soc: qcom: rpmpd: Add parent PD support Konrad Dybcio
2023-01-25  3:27 ` [PATCH 2/7] soc: qcom: rpmpd: Expand #defines into structs Konrad Dybcio
2023-01-25  9:08   ` Dmitry Baryshkov
2023-01-25  3:27 ` [PATCH 3/7] soc: qcom: rpmpd: Hook up VDDMX as parent of SM6375 VDDGX Konrad Dybcio
2023-01-25  9:07   ` Dmitry Baryshkov
2023-01-25  3:27 ` [PATCH 4/7] soc: qcom: rpmpd: Remove SoC names from RPMPD names Konrad Dybcio
2023-01-25  9:02   ` Dmitry Baryshkov
2023-01-25  3:27 ` [PATCH 5/7] soc: qcom: rpmpd: Remove useless comments Konrad Dybcio
2023-01-25  3:27 ` [PATCH 6/7] soc: qcom: rpmpd: Move all RPMPD definitions up and sort them by name Konrad Dybcio
2023-01-25  3:27 ` Konrad Dybcio [this message]

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=20230125032728.611640-8-konrad.dybcio@linaro.org \
    --to=konrad.dybcio@linaro.org \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=krzysztof.kozlowski@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marijn.suijten@somainline.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

all inboxes | Powered by JetHome®