diff mbox series

clk: stub: add sm8150 compatible id

Message ID 20241009-clk-stub-sm8150-v1-1-697313752979@devpi.de
State Superseded
Delegated to: Caleb Connolly
Headers show
Series clk: stub: add sm8150 compatible id | expand

Commit Message

Julius Lehmann Oct. 9, 2024, 9:49 a.m. UTC
Add support for sm8150 clock controller to clk stub driver.

---
Simple patch to extend the clk stub driver to support binding to sm8150 clock controllers.

Signed-off-by: Julius Lehmann <lehmanju@devpi.de>
---
 drivers/clk/clk-stub.c | 1 +
 1 file changed, 1 insertion(+)


---
base-commit: d0f74bd417daf6492975ce346843ba0767caf51c
change-id: 20241009-clk-stub-sm8150-b7a29e0f43ba
prerequisite-message-id: 20240909-b4-clk-stub-v3-0-ef09307534d5@linaro.org
prerequisite-patch-id: 01b791d83c26250b3ff485045b88d5889f911bb8
prerequisite-patch-id: 66febbc73195c71535e2423d14f1ff6994ac36cd

Best regards,

Comments

Neil Armstrong Oct. 9, 2024, 9:50 a.m. UTC | #1
On 09/10/2024 11:49, Julius Lehmann wrote:
> Add support for sm8150 clock controller to clk stub driver.
> 
> ---
> Simple patch to extend the clk stub driver to support binding to sm8150 clock controllers.
> 
> Signed-off-by: Julius Lehmann <lehmanju@devpi.de>
> ---
>   drivers/clk/clk-stub.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/clk/clk-stub.c b/drivers/clk/clk-stub.c
> index ea817031fa6c0cc1ea21000273b5651be5d05e65..76df9e3aba0e664fdaab8431f7909dda52ceb795 100644
> --- a/drivers/clk/clk-stub.c
> +++ b/drivers/clk/clk-stub.c
> @@ -50,6 +50,7 @@ static struct clk_ops stub_clk_ops = {
>   
>   static const struct udevice_id stub_clk_ids[] = {
>   	{ .compatible = "qcom,rpmcc" },
> +	{ .compatible = "qcom,sm8150-rpmh-clk" }
>   	{ .compatible = "qcom,sm8250-rpmh-clk" },
>   	{ .compatible = "qcom,sm8550-rpmh-clk" },
>   	{ .compatible = "qcom,sm8650-rpmh-clk" },
> 
> ---
> base-commit: d0f74bd417daf6492975ce346843ba0767caf51c
> change-id: 20241009-clk-stub-sm8150-b7a29e0f43ba
> prerequisite-message-id: 20240909-b4-clk-stub-v3-0-ef09307534d5@linaro.org
> prerequisite-patch-id: 01b791d83c26250b3ff485045b88d5889f911bb8
> prerequisite-patch-id: 66febbc73195c71535e2423d14f1ff6994ac36cd
> 
> Best regards,

Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Julius Lehmann Oct. 9, 2024, 1:34 p.m. UTC | #2
On 09.10.24 11:49, Julius Lehmann wrote:
> Add support for sm8150 clock controller to clk stub driver.
>
> ---
> Simple patch to extend the clk stub driver to support binding to sm8150 clock controllers.
>
> Signed-off-by: Julius Lehmann <lehmanju@devpi.de>
> ---
>   drivers/clk/clk-stub.c | 1 +
>   1 file changed, 1 insertion(+)
>
> diff --git a/drivers/clk/clk-stub.c b/drivers/clk/clk-stub.c
> index ea817031fa6c0cc1ea21000273b5651be5d05e65..76df9e3aba0e664fdaab8431f7909dda52ceb795 100644
> --- a/drivers/clk/clk-stub.c
> +++ b/drivers/clk/clk-stub.c
> @@ -50,6 +50,7 @@ static struct clk_ops stub_clk_ops = {
>   
>   static const struct udevice_id stub_clk_ids[] = {
>   	{ .compatible = "qcom,rpmcc" },
> +	{ .compatible = "qcom,sm8150-rpmh-clk" }
crap, missed a "," here, will fix this in v2
>   	{ .compatible = "qcom,sm8250-rpmh-clk" },
>   	{ .compatible = "qcom,sm8550-rpmh-clk" },
>   	{ .compatible = "qcom,sm8650-rpmh-clk" },
>
> ---
> base-commit: d0f74bd417daf6492975ce346843ba0767caf51c
> change-id: 20241009-clk-stub-sm8150-b7a29e0f43ba
> prerequisite-message-id: 20240909-b4-clk-stub-v3-0-ef09307534d5@linaro.org
> prerequisite-patch-id: 01b791d83c26250b3ff485045b88d5889f911bb8
> prerequisite-patch-id: 66febbc73195c71535e2423d14f1ff6994ac36cd
>
> Best regards,
diff mbox series

Patch

diff --git a/drivers/clk/clk-stub.c b/drivers/clk/clk-stub.c
index ea817031fa6c0cc1ea21000273b5651be5d05e65..76df9e3aba0e664fdaab8431f7909dda52ceb795 100644
--- a/drivers/clk/clk-stub.c
+++ b/drivers/clk/clk-stub.c
@@ -50,6 +50,7 @@  static struct clk_ops stub_clk_ops = {
 
 static const struct udevice_id stub_clk_ids[] = {
 	{ .compatible = "qcom,rpmcc" },
+	{ .compatible = "qcom,sm8150-rpmh-clk" }
 	{ .compatible = "qcom,sm8250-rpmh-clk" },
 	{ .compatible = "qcom,sm8550-rpmh-clk" },
 	{ .compatible = "qcom,sm8650-rpmh-clk" },