Hi David,
On 09/12/2014 07:36 PM, David E. Box wrote:
This patch implements an I2C bus sharing mechanism between the host and platform
hardware on select Intel BayTrail SoC platforms using the XPower AXP288 PMIC.
On these platforms access to the PMIC must be shared with platform hardware. The
h
values.
This patch adds a 10% margin on all the timings in both Normal and Fast modes.
Trial and error method have been used to find the minimum margin necessary to
have the out-of-spec device working, and a security margin has been added.
Signed-off-by: Maxime Coquelin
---
drivers/i2c/busses
Hi Wolfram,
On 06/03/2014 09:59 AM, Wolfram Sang wrote:
>
>>> Can you give names here? Would be interesting to know since a few
>>> drivers implement the minimum timings.
>>
>> I don't have the name actually.
>> The request to implement this change came from hw guys.
>
> Can you ask? It feels be
argument 4 has type 'resource_size_t' [-Wformat=]
Use %pa to print 'resource_size_t' type to fix the warning.
Reported-by: Olof's autobuilder
Signed-off-by: Fabio Estevam
---
drivers/i2c/busses/i2c-st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
You can add m
Hi Wolfram,
On 06/02/2014 06:31 PM, Wolfram Sang wrote:
On Fri, May 16, 2014 at 05:32:10PM +0200, Maxime COQUELIN wrote:
The i2c timing values specified in the driver are the minimun
values defined in the I2C specifications.
The I2C specification does not specify any default or maximum values
timings.
Signed-off-by: Maxime Coquelin
---
drivers/i2c/busses/i2c-st.c | 24
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/drivers/i2c/busses/i2c-st.c b/drivers/i2c/busses/i2c-st.c
index 8720161..09142f1 100644
--- a/drivers/i2c/busses/i2c-st.c
+++ b
Hi Jingoo,
On 05/07/2014 11:01 AM, Jingoo Han wrote:
Make of_device_id array const, because all OF functions
handle it as const.
Acked-by: Maxime Coquelin
Signed-off-by: Jingoo Han
---
drivers/i2c/busses/i2c-st.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a
This patch fixes the error returned to the i2c_transfer function
to -EAGAIN in case of arbitratin lost, so that the retry mechanism
can be used.
Signed-off-by: Maxime Coquelin
---
drivers/i2c/busses/i2c-st.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/busses
On 11/14/2013 06:03 PM, Wolfram Sang wrote:
On Wed, Nov 06, 2013 at 09:25:13AM +0100, Maxime COQUELIN wrote:
This patch supplies I2C configuration to STiH416 SoC.
Signed-off-by: Maxime Coquelin
I suppose the dts patches go via arm-soc.
Yes, I think so.
Regards,
Maxime
--
To
On 11/14/2013 06:00 PM, Wolfram Sang wrote:
On Wed, Nov 06, 2013 at 09:25:12AM +0100, Maxime COQUELIN wrote:
This patch adds support to SSC (Synchronous Serial Controller)
I2C driver. This IP also supports SPI protocol, but this is not
the aim of this driver.
This IP is embedded in all ST
dates taking into account Stephen's comments
- Use "clock-names" property to comply with GCF
- DT cosmetic changes reported by Lee and Gabriel
Signed-off-by: Maxime Coquelin
Maxime Coquelin (4):
i2c: busses: i2c-st: Add ST I2C controller
ARM: STi: Supply I2C configuration to S
This patch supplies I2C configuration to STiH416 SoC.
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 +
arch/arm/boot/dts/stih416.dtsi | 53
2 files changed, 88 insertions(+)
diff --git a/arch/arm
This patch adds support to SSC (Synchronous Serial Controller)
I2C driver. This IP also supports SPI protocol, but this is not
the aim of this driver.
This IP is embedded in all ST SoCs for Set-top box platorms, and
supports I2C Standard and Fast modes.
Signed-off-by: Maxime Coquelin
This patch supplies I2C configuration to STiH415 SoC.
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih415-pinctrl.dtsi | 36 ++
arch/arm/boot/dts/stih415.dtsi | 53
2 files changed, 89 insertions(+)
diff --git a/arch/arm
This patch supplies I2C configuration to B2000 and B2020
based on either STiH415 or STiH416 SoCs.
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih41x-b2000.dtsi |9 +
arch/arm/boot/dts/stih41x-b2020.dtsi | 22 ++
2 files changed, 31 insertions(+)
diff
Hi Wolfram,
On 11/01/2013 12:16 PM, Wolfram Sang wrote:
Hi,
...
diff --git a/Documentation/devicetree/bindings/i2c/i2c-st.txt
b/Documentation/devicetree/bindings/i2c/i2c-st.txt
new file mode 100644
index 000..8b2fd0b
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/i2c-st.txt
@@
On 10/28/2013 08:25 PM, Kumar Gala wrote:
On Oct 14, 2013, at 7:46 AM, Maxime COQUELIN wrote:
This patch adds support to SSC (Synchronous Serial Controller)
I2C driver. This IP also supports SPI protocol, but this is not
the aim of this driver.
This IP is embedded in all ST SoCs for Set-top
On 10/18/2013 10:22 AM, Srinivas KANDAGATLA wrote:
On 17/10/13 15:49, Lucas Stach wrote:
Am Donnerstag, den 17.10.2013, 15:30 +0100 schrieb srinivas kandagatla:
[...]
Sorry to ask this but, Where is this requirement coming from?
I have not spotted any thing as such in ePAPR specs.
All the sp
On 10/17/2013 04:16 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
> On 09:27 Thu 17 Oct , Maxime COQUELIN wrote:
>> Hi Jean-Christophe,
>>
>> On 10/16/2013 05:14 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
>>
>>
>> ...
>>>> +
>>>>
Hi Jean-Christophe,
On 10/16/2013 05:14 PM, Jean-Christophe PLAGNIOL-VILLARD wrote:
...
>> +
>> +static inline void st_i2c_set_bits(void __iomem *reg, u32 mask)
>> +{
>> + writel(readl(reg) | mask, reg);
>> +}
>> +
>> +static inline void st_i2c_clr_bits(void __iomem *reg, u32 mask)
>> +{
>>
Hi Wolfram,
On 10/14/2013 02:46 PM, Maxime COQUELIN wrote:
> The goal of this series is to add I2C support to ST SoCs.
> The DT definition is added for STiH415 and STiH416 SoCs on
> B2000 and B2020 boards.
>
> The series has been tested working on STiH416-B2020 board.
> It appli
This patch supplies I2C configuration to STiH416 SoC.
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 +
arch/arm/boot/dts/stih416.dtsi | 53
2 files changed, 88 insertions(+)
diff --git a/arch/arm
This patch adds support to SSC (Synchronous Serial Controller)
I2C driver. This IP also supports SPI protocol, but this is not
the aim of this driver.
This IP is embedded in all ST SoCs for Set-top box platorms, and
supports I2C Standard and Fast modes.
Signed-off-by: Maxime Coquelin
This patch supplies I2C configuration to STiH415 SoC.
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih415-pinctrl.dtsi | 36 ++
arch/arm/boot/dts/stih415.dtsi | 53
2 files changed, 89 insertions(+)
diff --git a/arch/arm
h I2C specification
- Handle spurious interrupts properly
- DT binding updates taking into account Stephen's comments
- Use "clock-names" property to comply with GCF
- DT cosmetic changes reported by Lee and Gabriel
Signed-off-by: Maxime Coquelin
Maxime Coquelin (4):
i2c: bu
This patch supplies I2C configuration to B2000 and B2020
based on either STiH415 or STiH416 SoCs.
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih41x-b2000.dtsi |9 +
arch/arm/boot/dts/stih41x-b2020.dtsi | 22 ++
2 files changed, 31 insertions(+)
diff
On 10/10/2013 12:03 PM, Wolfram Sang wrote:
>>> Changes since v3:
>>> - Switch back to vendor specific DT properties regarding the anti-glitch
>>> filter configuration, as this IP is the only one having such a filter.
>> Do you agree to keep these properties vendor-specifics?
> My prefer
On 10/10/2013 02:33 PM, Stephen GALLIMORE wrote:
>> -Original Message-
>> From: Maxime COQUELIN [mailto:maxime.coque...@st.com]
>> Sent: 08 October 2013 17:43
>> .
>> +
>> +i2c@fed4 {
>> +
Hi Wolfram,
On 10/08/2013 06:42 PM, Maxime COQUELIN wrote:
> The goal of this series is to add I2C support to ST SoCs.
> The DT definition is added for STiH415 and STiH416 SoCs on
> B2000 and B2020 boards.
>
> The series has been tested working on STiH416-B2020 board.
> It appli
This patch supplies I2C configuration to STiH415 SoC.
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih415-pinctrl.dtsi | 36 ++
arch/arm/boot/dts/stih415.dtsi | 53
2 files changed, 89 insertions(+)
diff --git a/arch/arm
This patch adds support to SSC (Synchronous Serial Controller)
I2C driver. This IP also supports SPI protocol, but this is not
the aim of this driver.
This IP is embedded in all ST SoCs for Set-top box platorms, and
supports I2C Standard and Fast modes.
Signed-off-by: Maxime Coquelin
This patch supplies I2C configuration to STiH416 SoC.
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 +
arch/arm/boot/dts/stih416.dtsi | 53
2 files changed, 88 insertions(+)
diff --git a/arch/arm
This patch supplies I2C configuration to B2000 and B2020
based on either STiH415 or STiH416 SoCs.
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih41x-b2000.dtsi |9 +
arch/arm/boot/dts/stih41x-b2020.dtsi | 22 ++
2 files changed, 31 insertions(+)
diff
- Handle spurious interrupts properly
- DT binding updates taking into account Stephen's comments
- Use "clock-names" property to comply with GCF
- DT cosmetic changes reported by Lee and Gabriel
Signed-off-by: Maxime Coquelin
Maxime Coquelin (4):
i2c: busses: i2c-st: Add ST
Hi Pawel,
On 10/02/2013 11:35 AM, Maxime Coquelin wrote:
>
> On 10/02/2013 11:02 AM, Wolfram Sang wrote:
>>>>> +Optional properties :
>>>>> +- i2c-min-scl-pulse-width-us : The minimum valid SCL pulse width
>>>>> that is allowed
>>>>
On 10/02/2013 11:02 AM, Wolfram Sang wrote:
+Optional properties :
+- i2c-min-scl-pulse-width-us : The minimum valid SCL pulse width that is
allowed
+ through the deglitch circuit. In units of us.
+- i2c-min-sda-pulse-width-us : The minimum valid SDA pulse width that is
On 10/01/2013 10:45 PM, Stephen Warren wrote:
> On 10/01/2013 04:39 AM, Maxime COQUELIN wrote:
>> This patch adds support to SSC (Synchronous Serial Controller)
>> I2C driver. This IP also supports SPI protocol, but this is not
>> the aim of this driver.
>>
>> T
updates taking into account Stephen's comments
- Use "clock-names" property to comply with GCF
- DT cosmetic changes reported by Lee and Gabriel
Signed-off-by: Maxime Coquelin
Maxime Coquelin (4):
i2c: busses: i2c-st: Add ST I2C controller
ARM: STi: Supply I2C configuration
This patch adds support to SSC (Synchronous Serial Controller)
I2C driver. This IP also supports SPI protocol, but this is not
the aim of this driver.
This IP is embedded in all ST SoCs for Set-top box platorms, and
supports I2C Standard and Fast modes.
Signed-off-by: Maxime Coquelin
Cc
This patch supplies I2C configuration to B2000 and B2020
based on either STiH415 or STiH416 SoCs.
Cc: Srinivas Kandagatla
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih41x-b2000.dtsi |9 +
arch/arm/boot/dts/stih41x-b2020.dtsi | 22 ++
2 files
This patch supplies I2C configuration to STiH416 SoC.
Cc: Srinivas Kandagatla
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 +
arch/arm/boot/dts/stih416.dtsi | 53
2 files changed, 88 insertions
This patch supplies I2C configuration to STiH415 SoC.
Cc: Srinivas Kandagatla
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih415-pinctrl.dtsi | 36 ++
arch/arm/boot/dts/stih415.dtsi | 53
2 files changed, 89 insertions
taking into account Stephen's comments
- Use "clock-names" property to comply with GCF
- DT cosmetic changes reported by Lee and Gabriel
Signed-off-by: Maxime Coquelin
Maxime Coquelin (4):
i2c: busses: i2c-st: Add ST I2C controller
ARM: STi: Supply I2C configuration to ST
Hi Wolfram,
On 09/27/2013 07:50 PM, Wolfram Sang wrote:
> Hi,
>
> Please make one mail thread out of a patch series. That helps reviewing.
Ok, sorry for the inconvenience.
> On Thu, Sep 26, 2013 at 11:53:58AM +0200, Maxime COQUELIN wrote:
>> This patch adds support to SSC (
This patch supplies I2C configuration to STiH416 SoC.
Cc: Srinivas Kandagatla
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih416-pinctrl.dtsi | 35 +
arch/arm/boot/dts/stih416.dtsi | 65
2 files changed, 100 insertions
This patch supplies I2C configuration to STiH415 SoC.
Cc: Srinivas Kandagatla
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih415-pinctrl.dtsi | 36 ++
arch/arm/boot/dts/stih415.dtsi | 65
2 files changed, 101 insertions
This patch supplies I2C configuration to B2000 and B2020
based on either STiH415 or STiH416 SoCs.
Cc: Srinivas Kandagatla
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih41x-b2000.dtsi |7 +++
arch/arm/boot/dts/stih41x-b2020.dtsi | 20
2 files changed
This patch adds support to SSC (Synchronous Serial Controller)
I2C driver. This IP also supports SPI protocol, but this is not
the aim of this driver.
This IP is embedded in all ST SoCs for Set-top box platorms, and
supports I2C Standard and Fast modes.
Signed-off-by: Maxime Coquelin
Cc
Signed-off-by: Maxime Coquelin
Maxime Coquelin (4):
i2c: busses: i2c-st: Add ST I2C controller
ARM: STi: Supply I2C configuration to STiH416 SoC
ARM: STi: Supply I2C configuration to STiH415 SoC
ARM: STi: Add I2C config to B2000 and B2020 boards
Documentation/devicetree/bindings/i2c/i2
On 09/24/2013 05:59 PM, Wolfram Sang wrote:
>> "glitch" is is used to tune the I2C timing requirements, and has a
>> nanosecond granularity.
>> These values are added to default timing values.
>> I'm not 100% sure, but it looks like the "samsung,i2c-sda-delay" in the
>> i2c-s3c2410 driver.
> For t
On 09/23/2013 11:06 PM, Stephen Warren wrote:
> On 09/18/2013 04:01 AM, Maxime COQUELIN wrote:
>> This patch adds support to SSC (Synchronous Serial Controller)
>> I2C driver. This IP also supports SPI protocol, but this is not
>> the aim of this driver.
>>
>> T
On 09/19/2013 03:01 PM, Srinivas KANDAGATLA wrote:
> On 19/09/13 08:16, Maxime COQUELIN wrote:
>> Hi Srini,
>>
>> On 09/18/2013 03:17 PM, Srinivas KANDAGATLA wrote:
>>> On 18/09/13 13:46, Maxime COQUELIN wrote:
>>>> On 09/18/2013 02:03 PM, Lee Jon
Hi Srini,
On 09/18/2013 03:17 PM, Srinivas KANDAGATLA wrote:
> On 18/09/13 13:46, Maxime COQUELIN wrote:
>> On 09/18/2013 02:03 PM, Lee Jones wrote:
>>>>>> This patch supplies I2C configuration to STiH416 SoC.
>>>>>>
>>>>>>
On 09/18/2013 02:03 PM, Lee Jones wrote:
>> This patch supplies I2C configuration to STiH416 SoC.
>>
>> Cc: Srinivas Kandagatla
>> Signed-off-by: Maxime Coquelin
>> ---
>> arch/arm/boot/dts/stih416-pinctrl.dtsi | 35
>> arc
On 09/18/2013 02:00 PM, Lee Jones wrote:
> On Wed, 18 Sep 2013, Maxime COQUELIN wrote:
>
>> This patch supplies I2C configuration to STiH415 SoC.
>>
>> Cc: Srinivas Kandagatla
>> Signed-off-by: Maxime Coquelin
>> ---
>> arch/arm/boot/dts/stih415-pinctrl
Hi Lee,
On 09/18/2013 01:40 PM, Lee Jones wrote:
> On Wed, 18 Sep 2013, Maxime COQUELIN wrote:
>
>> This patch supplies I2C configuration to B2000 and B2020
>> based on either STiH415 or STiH416 SoCs.
>>
>> Cc: Srinivas Kandagatla
>> Signed-off-by: Maxime Co
This patch supplies I2C configuration to STiH415 SoC.
Cc: Srinivas Kandagatla
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih415-pinctrl.dtsi | 36
arch/arm/boot/dts/stih415.dtsi | 57
2 files changed, 93 insertions
: Maxime Coquelin
---
Documentation/devicetree/bindings/i2c/i2c-st.txt | 35 ++
drivers/i2c/busses/Kconfig | 10 +
drivers/i2c/busses/Makefile |1 +
drivers/i2c/busses/i2c-st.c | 713 ++
drivers/i2c/busses/i2c
The goal of this series is to add I2C support to ST SoCs.
The DT definition is added for STiH415 and STiH416 SoCs on
B2000 and B2020 boards.
Signed-off-by: Maxime Coquelin
Maxime Coquelin (4):
i2c: busses: i2c-st: Add ST I2C controller
ARM: STi: Supply I2C configuration to STiH416 SoC
ARM
This patch supplies I2C configuration to B2000 and B2020
based on either STiH415 or STiH416 SoCs.
Cc: Srinivas Kandagatla
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih41x-b2000.dtsi |7 +++
arch/arm/boot/dts/stih41x-b2020.dtsi | 20
2 files changed
This patch supplies I2C configuration to STiH416 SoC.
Cc: Srinivas Kandagatla
Signed-off-by: Maxime Coquelin
---
arch/arm/boot/dts/stih416-pinctrl.dtsi | 35
arch/arm/boot/dts/stih416.dtsi | 57
2 files changed, 92 insertions
61 matches
Mail list logo