linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] i2c: qcom-cci: add sm8250 compatible
@ 2021-05-13 17:55 Jonathan Marek
  2021-05-17  7:52 ` Loic Poulain
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jonathan Marek @ 2021-05-13 17:55 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: robert.foss, andrey.konovalov, Loic Poulain, Rob Herring,
	open list:QUALCOMM I2C CCI DRIVER,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list

SM8250 CCI is the same as SDM845, add an equivalent compatible for SM8250.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
---
 Documentation/devicetree/bindings/i2c/i2c-qcom-cci.txt | 5 +++--
 drivers/i2c/busses/i2c-qcom-cci.c                      | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/devicetree/bindings/i2c/i2c-qcom-cci.txt b/Documentation/devicetree/bindings/i2c/i2c-qcom-cci.txt
index c6668b7c66e6..7b9fc0c22eaf 100644
--- a/Documentation/devicetree/bindings/i2c/i2c-qcom-cci.txt
+++ b/Documentation/devicetree/bindings/i2c/i2c-qcom-cci.txt
@@ -9,6 +9,7 @@ PROPERTIES:
 		"qcom,msm8916-cci"
 		"qcom,msm8996-cci"
 		"qcom,sdm845-cci"
+		"qcom,sm8250-cci"
 
 - reg
 	Usage: required
@@ -41,8 +42,8 @@ PROPERTIES:
 
 SUBNODES:
 
-The CCI provides I2C masters for one (msm8916) or two i2c busses (msm8996 and
-sdm845), described as subdevices named "i2c-bus@0" and "i2c-bus@1".
+The CCI provides I2C masters for one (msm8916) or two i2c busses (msm8996,
+sdm845 and sm8250), described as subdevices named "i2c-bus@0" and "i2c-bus@1".
 
 PROPERTIES:
 
diff --git a/drivers/i2c/busses/i2c-qcom-cci.c b/drivers/i2c/busses/i2c-qcom-cci.c
index c63d5545fc2a..c1de8eb66169 100644
--- a/drivers/i2c/busses/i2c-qcom-cci.c
+++ b/drivers/i2c/busses/i2c-qcom-cci.c
@@ -769,6 +769,7 @@ static const struct of_device_id cci_dt_match[] = {
 	{ .compatible = "qcom,msm8916-cci", .data = &cci_v1_data},
 	{ .compatible = "qcom,msm8996-cci", .data = &cci_v2_data},
 	{ .compatible = "qcom,sdm845-cci", .data = &cci_v2_data},
+	{ .compatible = "qcom,sm8250-cci", .data = &cci_v2_data},
 	{}
 };
 MODULE_DEVICE_TABLE(of, cci_dt_match);
-- 
2.26.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] i2c: qcom-cci: add sm8250 compatible
  2021-05-13 17:55 [PATCH] i2c: qcom-cci: add sm8250 compatible Jonathan Marek
@ 2021-05-17  7:52 ` Loic Poulain
  2021-05-17  9:37 ` Vinod Koul
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Loic Poulain @ 2021-05-17  7:52 UTC (permalink / raw)
  To: Jonathan Marek
  Cc: linux-arm-msm, Robert Foss, Andrey Konovalov, Rob Herring,
	open list:QUALCOMM I2C CCI DRIVER,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list

On Thu, 13 May 2021 at 19:55, Jonathan Marek <jonathan@marek.ca> wrote:
>
> SM8250 CCI is the same as SDM845, add an equivalent compatible for SM8250.
>
> Signed-off-by: Jonathan Marek <jonathan@marek.ca>

Reviewed-by: Loic Poulain <loic.poulain@linaro.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] i2c: qcom-cci: add sm8250 compatible
  2021-05-13 17:55 [PATCH] i2c: qcom-cci: add sm8250 compatible Jonathan Marek
  2021-05-17  7:52 ` Loic Poulain
@ 2021-05-17  9:37 ` Vinod Koul
  2021-05-18  1:14 ` Rob Herring
  2021-06-20 20:46 ` Wolfram Sang
  3 siblings, 0 replies; 5+ messages in thread
From: Vinod Koul @ 2021-05-17  9:37 UTC (permalink / raw)
  To: Jonathan Marek
  Cc: linux-arm-msm, robert.foss, andrey.konovalov, Loic Poulain,
	Rob Herring, open list:QUALCOMM I2C CCI DRIVER,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list

On 13-05-21, 13:55, Jonathan Marek wrote:
> SM8250 CCI is the same as SDM845, add an equivalent compatible for SM8250.

Reviewed-by: Vinod Koul <vkoul@kernel.org>

-- 
~Vinod

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] i2c: qcom-cci: add sm8250 compatible
  2021-05-13 17:55 [PATCH] i2c: qcom-cci: add sm8250 compatible Jonathan Marek
  2021-05-17  7:52 ` Loic Poulain
  2021-05-17  9:37 ` Vinod Koul
@ 2021-05-18  1:14 ` Rob Herring
  2021-06-20 20:46 ` Wolfram Sang
  3 siblings, 0 replies; 5+ messages in thread
From: Rob Herring @ 2021-05-18  1:14 UTC (permalink / raw)
  To: Jonathan Marek
  Cc: linux-arm-msm, Loic Poulain, Rob Herring, devicetree,
	robert.foss, andrey.konovalov, linux-i2c, linux-kernel

On Thu, 13 May 2021 13:55:17 -0400, Jonathan Marek wrote:
> SM8250 CCI is the same as SDM845, add an equivalent compatible for SM8250.
> 
> Signed-off-by: Jonathan Marek <jonathan@marek.ca>
> ---
>  Documentation/devicetree/bindings/i2c/i2c-qcom-cci.txt | 5 +++--
>  drivers/i2c/busses/i2c-qcom-cci.c                      | 1 +
>  2 files changed, 4 insertions(+), 2 deletions(-)
> 

Acked-by: Rob Herring <robh@kernel.org>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] i2c: qcom-cci: add sm8250 compatible
  2021-05-13 17:55 [PATCH] i2c: qcom-cci: add sm8250 compatible Jonathan Marek
                   ` (2 preceding siblings ...)
  2021-05-18  1:14 ` Rob Herring
@ 2021-06-20 20:46 ` Wolfram Sang
  3 siblings, 0 replies; 5+ messages in thread
From: Wolfram Sang @ 2021-06-20 20:46 UTC (permalink / raw)
  To: Jonathan Marek
  Cc: linux-arm-msm, robert.foss, andrey.konovalov, Loic Poulain,
	Rob Herring, open list:QUALCOMM I2C CCI DRIVER,
	open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS,
	open list

[-- Attachment #1: Type: text/plain, Size: 264 bytes --]

On Thu, May 13, 2021 at 01:55:17PM -0400, Jonathan Marek wrote:
> SM8250 CCI is the same as SDM845, add an equivalent compatible for SM8250.
> 
> Signed-off-by: Jonathan Marek <jonathan@marek.ca>

For the record: Applied to for-next on 2021-05-21, thanks!


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-06-20 20:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 17:55 [PATCH] i2c: qcom-cci: add sm8250 compatible Jonathan Marek
2021-05-17  7:52 ` Loic Poulain
2021-05-17  9:37 ` Vinod Koul
2021-05-18  1:14 ` Rob Herring
2021-06-20 20:46 ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).