[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b2bceaf4-92ce-92a4-c382-713d29ae3b70@amlogic.com>
Date: Thu, 29 Nov 2018 19:55:43 +0800
From: Jian Hu <jian.hu@...ogic.com>
To: Jerome Brunet <jbrunet@...libre.com>,
Neil Armstrong <narmstrong@...libre.com>
CC: Kevin Hilman <khilman@...libre.com>,
Carlo Caione <carlo@...one.org>, Rob Herring <robh@...nel.org>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...nel.org>,
Wolfram Sang <wsa@...-dreams.de>,
Mark Rutland <mark.rutland@....com>,
Jianxin Pan <jianxin.pan@...ogic.com>,
Hanjie Lin <hanjie.lin@...ogic.com>,
<linux-amlogic@...ts.infradead.org>, <linux-i2c@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>
Subject: Re: [PATCH 0/2] i2c: meson: add support for Meson G12A SoC i2c
controller
On 2018/11/29 19:02, Jerome Brunet wrote:
> On Thu, 2018-11-29 at 18:59 +0800, Jian Hu wrote:
>> 1)Add G12A SoC i2c compatible string in dt-bindings.
>> 2)Add compatible and data for G12A I2C controller driver.
>>
>> Jian Hu (2):
>> dt-bindings: i2c: meson: add Meson G12A SoC i2c compatible string
>> i2c: meson: add support for Meson G12A SoC I2C controller
>
> Looks to me that the g12a is compatible with the axg. What is the point of
> adding this new compatible string ?
>
I am okay if it is reasonable below in file
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi. I2c controller node just
uses axg's compatible.
i2c0: i2c@...00 {
compatible = "amlogic,meson-axg-i2c";
reg = <0x0 0x1f000 0x0 0x20>;
interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
clocks = <&clkc CLKID_I2C>;
#address-cells = <1>;
#size-cells = <0>;
status = "disabled";
};
If it is, I just submit the i2c controller node in meson-g12a.dtsi.
>>
>> Documentation/devicetree/bindings/i2c/i2c-meson.txt | 1 +
>> drivers/i2c/busses/i2c-meson.c | 5 +++++
>> 2 files changed, 6 insertions(+)
>>
>
>
> .
>
Powered by blists - more mailing lists