From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Subject: Re: [linux-sunxi] Re: [PATCH] ARM: dts: sun4i: Add dts file for the pov protab2-ips9 tablet Date: Mon, 7 Sep 2015 10:49:19 +0200 Message-ID: <55ED4F8F.6080502@redhat.com> References: <1441441319-10658-1-git-send-email-hdegoede@redhat.com> <20150906163023.GR31584@lukather> <55ED3739.609@redhat.com> <1441612142.14422.34.camel@plaes.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1441612142.14422.34.camel-q/aMd4JkU83YtjvyW6yDsg@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: plaes-q/aMd4JkU83YtjvyW6yDsg@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 Hi, On 07-09-15 09:49, Priit Laes wrote: > On Mon, 2015-09-07 at 09:05 +0200, Hans de Goede wrote: >> Hi, >> >> 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. >>>> >>>> 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. >>>> > > [...] >>> >>> What is connected on i2c1 ? Just the camera sensor? or it has some >>> other devices there? >> >> 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. > > bma250 already has devicetree support. It is used in Gemei G9 tablet > (sun4i-gemei-g9.dts). 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 ? Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html