All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@linaro.org>
To: u-boot@lists.denx.de
Cc: Bhupesh Sharma <bhupesh.sharma@linaro.org>,
	Konrad Dybcio <konrad.dybcio@linaro.org>,
	Ramon Fried <rfried.dev@gmail.com>,
	Sumit Garg <sumit.garg@linaro.org>
Subject: [PATCH 2/7] serial: msm: Match clocks through "clocks" property
Date: Fri, 24 Mar 2023 01:40:35 +0100	[thread overview]
Message-ID: <20230324004040.572525-2-konrad.dybcio@linaro.org> (raw)
In-Reply-To: <20230324004040.572525-1-konrad.dybcio@linaro.org>

"clocks" is the standard property used in Linux, "clock" seems to be
an U-Boot invention. Use the one that's more standardized.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---

 arch/arm/dts/qcom-ipq4019.dtsi | 2 +-
 drivers/serial/serial_msm.c    | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/arch/arm/dts/qcom-ipq4019.dtsi b/arch/arm/dts/qcom-ipq4019.dtsi
index 6edc69da6747..dee3159e5893 100644
--- a/arch/arm/dts/qcom-ipq4019.dtsi
+++ b/arch/arm/dts/qcom-ipq4019.dtsi
@@ -87,7 +87,7 @@
 		blsp1_uart1: serial@78af000 {
 			compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm";
 			reg = <0x78af000 0x200>;
-			clock = <&gcc GCC_BLSP1_UART1_APPS_CLK>;
+			clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>;
 			bit-rate = <0xFF>;
 			status = "disabled";
 			u-boot,dm-pre-reloc;
diff --git a/drivers/serial/serial_msm.c b/drivers/serial/serial_msm.c
index a22623c316ed..9c370cac323f 100644
--- a/drivers/serial/serial_msm.c
+++ b/drivers/serial/serial_msm.c
@@ -166,8 +166,7 @@ static int msm_uart_clk_init(struct udevice *dev)
 	struct clk clk;
 	int ret;
 
-	ret = fdtdec_get_int_array(gd->fdt_blob, dev_of_offset(dev), "clock",
-				   clkd, 2);
+	ret = fdtdec_get_int_array(gd->fdt_blob, dev_of_offset(dev), "clocks", clkd, 2);
 	if (ret)
 		return ret;
 
-- 
2.40.0


  reply	other threads:[~2023-03-24  1:57 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-24  0:40 [PATCH 1/7] mmc: msm_sdhci: Match clocks through "clocks" property Konrad Dybcio
2023-03-24  0:40 ` Konrad Dybcio [this message]
2023-03-24  6:00   ` [PATCH 2/7] serial: msm: " Sumit Garg
2023-03-24  9:34     ` Konrad Dybcio
2023-03-24  0:40 ` [PATCH 3/7] serial: msm: Always bind before relocation Konrad Dybcio
2023-03-24  6:04   ` Sumit Garg
2023-03-24  9:35     ` Konrad Dybcio
2023-03-24  0:40 ` [PATCH 4/7] arch: snapdragon: clock: " Konrad Dybcio
2023-03-24  6:06   ` Sumit Garg
2023-03-24 15:24     ` Tom Rini
2023-03-27  5:37       ` Sumit Garg
2023-03-27 16:24         ` Tom Rini
2023-03-24  0:40 ` [PATCH 5/7] arm: snapdragon: pinctrl: " Konrad Dybcio
2023-03-24  6:06   ` Sumit Garg
2023-03-24  0:40 ` [PATCH 6/7] serial: msm_geni: Use upstream Linux bindings Konrad Dybcio
2023-03-24  6:13   ` Sumit Garg
2023-03-24  9:35     ` Konrad Dybcio
2023-03-24  0:40 ` [PATCH 7/7] arm: Migrate Apple M1 to save_prev_bl_data Konrad Dybcio
2023-03-27 19:31   ` Mark Kettenis
2023-03-28  8:17     ` Konrad Dybcio
2023-03-28 14:30       ` Tom Rini
2023-03-24  5:55 ` [PATCH 1/7] mmc: msm_sdhci: Match clocks through "clocks" property Sumit Garg
2023-03-24  7:05 ` Bhupesh Sharma

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=20230324004040.572525-2-konrad.dybcio@linaro.org \
    --to=konrad.dybcio@linaro.org \
    --cc=bhupesh.sharma@linaro.org \
    --cc=rfried.dev@gmail.com \
    --cc=sumit.garg@linaro.org \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.