From mboxrd@z Thu Jan 1 00:00:00 1970 From: Priit Laes Subject: Re: [linux-sunxi] Re: [PATCH] ARM: dts: sun4i: Add dts file for the pov protab2-ips9 tablet Date: Mon, 07 Sep 2015 12:14:22 +0300 Message-ID: <1441617262.21530.4.camel@plaes.org> References: <1441441319-10658-1-git-send-email-hdegoede@redhat.com> <20150906163023.GR31584@lukather> <55ED3739.609@redhat.com> <1441612142.14422.34.camel@plaes.org> <55ED4F8F.6080502@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <55ED4F8F.6080502-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: hdegoede-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, Maxime Ripard Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree , linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Id: devicetree@vger.kernel.org On Mon, 2015-09-07 at 10:49 +0200, Hans de Goede wrote: > Hi, >=20 > On 07-09-15 09:49, Priit Laes wrote: > > On Mon, 2015-09-07 at 09:05 +0200, Hans de Goede wrote: > > > Hi, > > >=20 > > > On 06-09-15 18:30, Maxime Ripard wrote: > > > > On Sat, Sep 05, 2015 at 10:21:59AM +0200, Hans de Goede wrote: > > > > > The Point of View protab2-ips9 is a tablet with a 9" ips > > > > > 1024x768 > > > > > lcd screen, > > > > > microsd slot, headphones, mini hdmi, mini usb b and power > > > > > barrel > > > > > connectors. > > > > >=20 > > > > > It uses a rtl8188cus usb wifi chip and a RDA 5875Y bluetooth > > > > > chip > > > > > attached > > > > > to uart2. It has a bma250 accelerometer attached to i2c1 addr > > > > > 0x18. > > > > >=20 > >=20 > > [...] > > > >=20 > > > > What is connected on i2c1 ? Just the camera sensor? or it has > > > > some > > > > other devices there? > > >=20 > > > The bma250 accelerometer sits there, and the kernel already has a > > > driver > > > for it. That driver needs to have devicetree binding support > > > added, > > > and > > > then we should be able to use the accelerometer. > >=20 > > bma250 already has devicetree support. It is used in Gemei G9 > > tablet > > (sun4i-gemei-g9.dts). >=20 > Yes I've seen that, but does it actually work? I've not tried but I > do not see any compatible string in the actual bma250 code in the > kernel, > so I believe that this part of the sun4i-gemei-g9.dts file does not > work ? It worked (even without IRQs) when I submitted the patch. Driver itself is under iio/accel/bma180.c P=C3=A4ikest, Priit -- To unsubscribe from this list: send the line "unsubscribe devicetree" i= n the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html