All of lore.kernel.org
 help / color / mirror / Atom feed
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	linux-kernel@vger.kernel.org, Andy Gross <andy.gross@linaro.org>,
	linux-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 11/12] ARM: dts: dragonboard-600c: add i2c support
Date: Tue, 29 Mar 2016 16:02:32 +0100	[thread overview]
Message-ID: <56FA9908.80205@linaro.org> (raw)
In-Reply-To: <20160329144437.GN8929@tuxbot>



On 29/03/16 15:44, Bjorn Andersson wrote:
> On Wed 23 Mar 12:48 PDT 2016, Srinivas Kandagatla wrote:
>
>> This patch adds nodes required to enable 4 i2c buses on the board which
>> are connected to various sensors and eeprom.
>>
>
> I would like for the pinconf for these blocks to be in this patch (and
> file) to make it clear how they are configured and where to change them.
>
When I started adding this I had same opinion, I will do that in next 
release.

thanks,
srini
> Regards,
> Bjorn
>
>> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
>> ---
>>   .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 46 ++++++++++++++++++++++
>>   1 file changed, 46 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts
>> index 4fecd94..942de04 100644
>> --- a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts
>> +++ b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts
>> @@ -8,6 +8,10 @@
>>   	aliases {
>>   		serial0 = &gsbi7_serial;
>>   		serial1 = &gsbi1_serial;
>> +		i2c0 = &gsbi2_i2c;
>> +		i2c1 = &gsbi3_i2c;
>> +		i2c2 = &gsbi4_i2c;
>> +		i2c3 = &gsbi7_i2c;
>>   	};
>>
>>   	regulators {
>> @@ -180,6 +184,42 @@
>>   			};
>>   		};
>>
>> +		gsbi@12480000 {
>> +			status = "okay";
>> +			qcom,mode = <GSBI_PROT_I2C>;
>> +			i2c@124a0000 {
>> +				/* On Low speed expansion and Sensors */
>> +				label = "LS-I2C0";
>> +				status = "okay";
>> +			};
>> +		};
>> +
>> +		gsbi@16200000 {
>> +			status = "okay";
>> +			qcom,mode = <GSBI_PROT_I2C>;
>> +			i2c@16280000 {
>> +			/* On Low speed expansion */
>> +				status = "okay";
>> +				label = "LS-I2C1";
>> +				clock-frequency = <200000>;
>> +				eeprom@52 {
>> +					compatible = "atmel,24c128";
>> +					reg = <0x52>;
>> +					pagesize = <64>;
>> +				};
>> +			};
>> +		};
>> +
>> +		gsbi@16300000 {
>> +			status = "okay";
>> +			qcom,mode = <GSBI_PROT_I2C>;
>> +			i2c@16380000 {
>> +				/* On High speed expansion */
>> +				label = "HS-CAM-I2C3";
>> +				status = "okay";
>> +			};
>> +		};
>> +
>>   		/* DEBUG UART  */
>>   		gsbi@16600000 {
>>   			status = "okay";
>> @@ -190,6 +230,12 @@
>>   				pinctrl-names = "default";
>>   				pinctrl-0 = <&gsbi7_uart_2pins>;
>>   			};
>> +
>> +			i2c@16680000 {
>> +				/* On High speed expansion */
>> +				status = "okay";
>> +				label = "HS-CAM-I2C2";
>> +			};
>>   		};
>>
>>   		leds {
>> --
>> 2.5.0
>>

WARNING: multiple messages have this Message-ID (diff)
From: srinivas.kandagatla@linaro.org (Srinivas Kandagatla)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 11/12] ARM: dts: dragonboard-600c: add i2c support
Date: Tue, 29 Mar 2016 16:02:32 +0100	[thread overview]
Message-ID: <56FA9908.80205@linaro.org> (raw)
In-Reply-To: <20160329144437.GN8929@tuxbot>



On 29/03/16 15:44, Bjorn Andersson wrote:
> On Wed 23 Mar 12:48 PDT 2016, Srinivas Kandagatla wrote:
>
>> This patch adds nodes required to enable 4 i2c buses on the board which
>> are connected to various sensors and eeprom.
>>
>
> I would like for the pinconf for these blocks to be in this patch (and
> file) to make it clear how they are configured and where to change them.
>
When I started adding this I had same opinion, I will do that in next 
release.

thanks,
srini
> Regards,
> Bjorn
>
>> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
>> ---
>>   .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 46 ++++++++++++++++++++++
>>   1 file changed, 46 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts
>> index 4fecd94..942de04 100644
>> --- a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts
>> +++ b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts
>> @@ -8,6 +8,10 @@
>>   	aliases {
>>   		serial0 = &gsbi7_serial;
>>   		serial1 = &gsbi1_serial;
>> +		i2c0 = &gsbi2_i2c;
>> +		i2c1 = &gsbi3_i2c;
>> +		i2c2 = &gsbi4_i2c;
>> +		i2c3 = &gsbi7_i2c;
>>   	};
>>
>>   	regulators {
>> @@ -180,6 +184,42 @@
>>   			};
>>   		};
>>
>> +		gsbi at 12480000 {
>> +			status = "okay";
>> +			qcom,mode = <GSBI_PROT_I2C>;
>> +			i2c at 124a0000 {
>> +				/* On Low speed expansion and Sensors */
>> +				label = "LS-I2C0";
>> +				status = "okay";
>> +			};
>> +		};
>> +
>> +		gsbi at 16200000 {
>> +			status = "okay";
>> +			qcom,mode = <GSBI_PROT_I2C>;
>> +			i2c at 16280000 {
>> +			/* On Low speed expansion */
>> +				status = "okay";
>> +				label = "LS-I2C1";
>> +				clock-frequency = <200000>;
>> +				eeprom at 52 {
>> +					compatible = "atmel,24c128";
>> +					reg = <0x52>;
>> +					pagesize = <64>;
>> +				};
>> +			};
>> +		};
>> +
>> +		gsbi at 16300000 {
>> +			status = "okay";
>> +			qcom,mode = <GSBI_PROT_I2C>;
>> +			i2c at 16380000 {
>> +				/* On High speed expansion */
>> +				label = "HS-CAM-I2C3";
>> +				status = "okay";
>> +			};
>> +		};
>> +
>>   		/* DEBUG UART  */
>>   		gsbi at 16600000 {
>>   			status = "okay";
>> @@ -190,6 +230,12 @@
>>   				pinctrl-names = "default";
>>   				pinctrl-0 = <&gsbi7_uart_2pins>;
>>   			};
>> +
>> +			i2c at 16680000 {
>> +				/* On High speed expansion */
>> +				status = "okay";
>> +				label = "HS-CAM-I2C2";
>> +			};
>>   		};
>>
>>   		leds {
>> --
>> 2.5.0
>>

WARNING: multiple messages have this Message-ID (diff)
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Andy Gross <andy.gross@linaro.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, linux-soc@vger.kernel.org
Subject: Re: [PATCH 11/12] ARM: dts: dragonboard-600c: add i2c support
Date: Tue, 29 Mar 2016 16:02:32 +0100	[thread overview]
Message-ID: <56FA9908.80205@linaro.org> (raw)
In-Reply-To: <20160329144437.GN8929@tuxbot>



On 29/03/16 15:44, Bjorn Andersson wrote:
> On Wed 23 Mar 12:48 PDT 2016, Srinivas Kandagatla wrote:
>
>> This patch adds nodes required to enable 4 i2c buses on the board which
>> are connected to various sensors and eeprom.
>>
>
> I would like for the pinconf for these blocks to be in this patch (and
> file) to make it clear how they are configured and where to change them.
>
When I started adding this I had same opinion, I will do that in next 
release.

thanks,
srini
> Regards,
> Bjorn
>
>> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
>> ---
>>   .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 46 ++++++++++++++++++++++
>>   1 file changed, 46 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts
>> index 4fecd94..942de04 100644
>> --- a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts
>> +++ b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts
>> @@ -8,6 +8,10 @@
>>   	aliases {
>>   		serial0 = &gsbi7_serial;
>>   		serial1 = &gsbi1_serial;
>> +		i2c0 = &gsbi2_i2c;
>> +		i2c1 = &gsbi3_i2c;
>> +		i2c2 = &gsbi4_i2c;
>> +		i2c3 = &gsbi7_i2c;
>>   	};
>>
>>   	regulators {
>> @@ -180,6 +184,42 @@
>>   			};
>>   		};
>>
>> +		gsbi@12480000 {
>> +			status = "okay";
>> +			qcom,mode = <GSBI_PROT_I2C>;
>> +			i2c@124a0000 {
>> +				/* On Low speed expansion and Sensors */
>> +				label = "LS-I2C0";
>> +				status = "okay";
>> +			};
>> +		};
>> +
>> +		gsbi@16200000 {
>> +			status = "okay";
>> +			qcom,mode = <GSBI_PROT_I2C>;
>> +			i2c@16280000 {
>> +			/* On Low speed expansion */
>> +				status = "okay";
>> +				label = "LS-I2C1";
>> +				clock-frequency = <200000>;
>> +				eeprom@52 {
>> +					compatible = "atmel,24c128";
>> +					reg = <0x52>;
>> +					pagesize = <64>;
>> +				};
>> +			};
>> +		};
>> +
>> +		gsbi@16300000 {
>> +			status = "okay";
>> +			qcom,mode = <GSBI_PROT_I2C>;
>> +			i2c@16380000 {
>> +				/* On High speed expansion */
>> +				label = "HS-CAM-I2C3";
>> +				status = "okay";
>> +			};
>> +		};
>> +
>>   		/* DEBUG UART  */
>>   		gsbi@16600000 {
>>   			status = "okay";
>> @@ -190,6 +230,12 @@
>>   				pinctrl-names = "default";
>>   				pinctrl-0 = <&gsbi7_uart_2pins>;
>>   			};
>> +
>> +			i2c@16680000 {
>> +				/* On High speed expansion */
>> +				status = "okay";
>> +				label = "HS-CAM-I2C2";
>> +			};
>>   		};
>>
>>   		leds {
>> --
>> 2.5.0
>>

  reply	other threads:[~2016-03-29 15:02 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-23 19:46 [PATCH 00/12] ARM: dts: Add dragonboard-600c support Srinivas Kandagatla
2016-03-23 19:46 ` Srinivas Kandagatla
2016-03-23 19:46 ` Srinivas Kandagatla
2016-03-23 19:47 ` [PATCH 01/12] ARM: dts: apq8064: fix the pinctrls for i2c and spi Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
     [not found]   ` <1458762421-9339-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-03-29 14:28     ` Bjorn Andersson
2016-03-29 14:28       ` Bjorn Andersson
2016-03-29 14:28       ` Bjorn Andersson
2016-03-29 15:02       ` Srinivas Kandagatla
2016-03-29 15:02         ` Srinivas Kandagatla
2016-03-29 16:10         ` Bjorn Andersson
2016-03-29 16:10           ` Bjorn Andersson
2016-03-23 19:47 ` [PATCH 02/12] ARM: dts: apq8064: add support to gsbi1 uart Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
     [not found]   ` <1458762429-9397-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-03-29 14:29     ` Bjorn Andersson
2016-03-29 14:29       ` Bjorn Andersson
2016-03-29 14:29       ` Bjorn Andersson
2016-03-23 19:47 ` [PATCH 03/12] ARM: dts: apq8064: add gsbi7 i2c support Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
2016-03-29 14:34   ` Bjorn Andersson
2016-03-29 14:34     ` Bjorn Andersson
     [not found] ` <1458762366-9233-1-git-send-email-srinivas.kandagatla-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-03-23 19:47   ` [PATCH 04/12] ARM: dts: dragonboard-600c: add board support with serial Srinivas Kandagatla
2016-03-23 19:47     ` Srinivas Kandagatla
2016-03-23 19:47     ` Srinivas Kandagatla
2016-03-23 20:07     ` Stephen Boyd
2016-03-23 20:07       ` Stephen Boyd
2016-03-23 20:30       ` Srinivas Kandagatla
2016-03-23 20:30         ` Srinivas Kandagatla
     [not found]         ` <56F2FCD0.1000708-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2016-03-24  1:04           ` Bjorn Andersson
2016-03-24  1:04             ` Bjorn Andersson
2016-03-24  1:04             ` Bjorn Andersson
     [not found]             ` <CAOCOHw7TyzDf4jvAMChOFFEgsL4Z1+CcESLOuckT=Q7W9hQvCw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-24  1:48               ` Stephen Boyd
2016-03-24  1:48                 ` Stephen Boyd
2016-03-24  1:48                 ` Stephen Boyd
2016-03-24 12:49                 ` Arnd Bergmann
2016-03-24 12:49                   ` Arnd Bergmann
2016-03-24 20:50                 ` Nicolas Dechesne
2016-03-24 20:50                   ` Nicolas Dechesne
2016-03-29 19:00                   ` Stephen Boyd
2016-03-29 19:00                     ` Stephen Boyd
2016-03-29 14:21                 ` Bjorn Andersson
2016-03-29 14:21                   ` Bjorn Andersson
2016-03-29 14:54   ` [PATCH 00/12] ARM: dts: Add dragonboard-600c support Bjorn Andersson
2016-03-29 14:54     ` Bjorn Andersson
2016-03-29 14:54     ` Bjorn Andersson
2016-03-29 15:02     ` Srinivas Kandagatla
2016-03-29 15:02       ` Srinivas Kandagatla
2016-03-23 19:47 ` [PATCH 05/12] ARM: dts: dragonboard-600c: add pmic regulator supplies Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
2016-03-29 14:37   ` Bjorn Andersson
2016-03-29 14:37     ` Bjorn Andersson
2016-03-29 15:02     ` Srinivas Kandagatla
2016-03-29 15:02       ` Srinivas Kandagatla
2016-03-23 19:47 ` [PATCH 06/12] ARM: dts: dragonboard-600c: Add eMMC and SD card support Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
2016-03-29 14:38   ` Bjorn Andersson
2016-03-29 14:38     ` Bjorn Andersson
2016-03-29 15:02     ` Srinivas Kandagatla
2016-03-29 15:02       ` Srinivas Kandagatla
2016-03-23 19:47 ` [PATCH 07/12] ARM: dts: dragonboard-600c: add usb support Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
2016-03-29 14:39   ` Bjorn Andersson
2016-03-29 14:39     ` Bjorn Andersson
2016-03-23 19:47 ` [PATCH 08/12] ARM: dts: dragonboard-600c: add pcie support Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
2016-03-29 14:39   ` Bjorn Andersson
2016-03-29 14:39     ` Bjorn Andersson
2016-03-23 19:47 ` [PATCH 09/12] ARM: dts: dragonboard-600c: add on board sata support Srinivas Kandagatla
2016-03-23 19:47   ` Srinivas Kandagatla
2016-03-29 14:40   ` Bjorn Andersson
2016-03-29 14:40     ` Bjorn Andersson
2016-03-23 19:48 ` [PATCH 10/12] ARM: dts: dragonboard-600c: Add on board leds support Srinivas Kandagatla
2016-03-23 19:48   ` Srinivas Kandagatla
2016-03-24 16:51   ` Nicolas Dechesne
2016-03-24 16:51     ` Nicolas Dechesne
2016-03-29 13:30     ` Srinivas Kandagatla
2016-03-29 13:30       ` Srinivas Kandagatla
2016-03-27  5:50   ` Bjorn Andersson
2016-03-27  5:50     ` Bjorn Andersson
2016-03-29 14:20     ` Srinivas Kandagatla
2016-03-29 14:20       ` Srinivas Kandagatla
2016-03-29 14:51       ` Bjorn Andersson
2016-03-29 14:51         ` Bjorn Andersson
2016-03-29 14:51         ` Bjorn Andersson
2016-03-29 18:32         ` Nicolas Dechesne
2016-03-29 18:32           ` Nicolas Dechesne
     [not found]           ` <CAP71WjwPQn8OuCy+8iuQpDrUW2baQ0qzaviLEDixVzTmUP_BTw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2016-03-29 21:10             ` Bjorn Andersson
2016-03-29 21:10               ` Bjorn Andersson
2016-03-29 21:10               ` Bjorn Andersson
2016-03-30 12:54     ` Rob Herring
2016-03-30 12:54       ` Rob Herring
2016-03-30 12:54       ` Rob Herring
2016-03-23 19:48 ` [PATCH 11/12] ARM: dts: dragonboard-600c: add i2c support Srinivas Kandagatla
2016-03-23 19:48   ` Srinivas Kandagatla
2016-03-29 14:44   ` Bjorn Andersson
2016-03-29 14:44     ` Bjorn Andersson
2016-03-29 14:44     ` Bjorn Andersson
2016-03-29 15:02     ` Srinivas Kandagatla [this message]
2016-03-29 15:02       ` Srinivas Kandagatla
2016-03-29 15:02       ` Srinivas Kandagatla
2016-03-23 19:48 ` [PATCH 12/12] ARM: dts: dragonboard-600c: add spi support Srinivas Kandagatla
2016-03-23 19:48   ` Srinivas Kandagatla

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=56FA9908.80205@linaro.org \
    --to=srinivas.kandagatla@linaro.org \
    --cc=andy.gross@linaro.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-soc@vger.kernel.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 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.