From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko =?ISO-8859-1?Q?St=FCbner?= Subject: Re: [PATCH 1/2] i2c: rk3x: add support for rk3228 Date: Mon, 14 Mar 2016 23:23:47 +0100 Message-ID: <1737352.02BE0tcSEc@diego> References: <1457924955-29996-1-git-send-email-ykk@rock-chips.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1457924955-29996-1-git-send-email-ykk@rock-chips.com> Sender: linux-i2c-owner@vger.kernel.org To: Yakir Yang Cc: Wolfram Sang , Rob Herring , Kumar Gala , Pawel Moll , Mark Rutland , Ian Campbell , devicetree@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org List-Id: devicetree@vger.kernel.org Am Montag, 14. M=E4rz 2016, 11:09:15 schrieb Yakir Yang: > Enable the I2C core for this SoC. >=20 > Signed-off-by: Yakir Yang Reviewed-by: Heiko Stuebner Heiko > --- > Documentation/devicetree/bindings/i2c/i2c-rk3x.txt | 4 ++-- > drivers/i2c/busses/i2c-rk3x.c | 1 + > 2 files changed, 3 insertions(+), 2 deletions(-) >=20 > diff --git a/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt > b/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt index f0d71bc..0= b4a85f > 100644 > --- a/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt > +++ b/Documentation/devicetree/bindings/i2c/i2c-rk3x.txt > @@ -6,8 +6,8 @@ RK3xxx SoCs. > Required properties : >=20 > - reg : Offset and length of the register set for the device > - - compatible : should be "rockchip,rk3066-i2c", "rockchip,rk3188-i2= c" or > - "rockchip,rk3288-i2c". > + - compatible : should be "rockchip,rk3066-i2c", "rockchip,rk3188-i2= c", > + "rockchip,rk3228-i2c" or "rockchip,rk3288-i2c". > - interrupts : interrupt number > - clocks : parent clock >=20 > diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i2c/busses/i2c-r= k3x.c > index 9096d17..3dcc5f3 100644 > --- a/drivers/i2c/busses/i2c-rk3x.c > +++ b/drivers/i2c/busses/i2c-rk3x.c > @@ -855,6 +855,7 @@ static struct rk3x_i2c_soc_data soc_data[3] =3D { > static const struct of_device_id rk3x_i2c_match[] =3D { > { .compatible =3D "rockchip,rk3066-i2c", .data =3D (void *)&soc_dat= a[0] }, > { .compatible =3D "rockchip,rk3188-i2c", .data =3D (void *)&soc_dat= a[1] }, > + { .compatible =3D "rockchip,rk3228-i2c", .data =3D (void *)&soc_dat= a[2] }, > { .compatible =3D "rockchip,rk3288-i2c", .data =3D (void *)&soc_dat= a[2] }, > {}, > };