lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 8 Jun 2016 07:11:03 +0000
From:	"Li, Yong B" <yong.b.li@...el.com>
To:	Robert Nelson <robertcnelson@...il.com>
CC:	Tony Lindgren <tony@...mide.com>,
	Benoit Cousson <bcousson@...libre.com>,
	Rob Herring <robh+dt@...nel.org>,
	Pawel Moll <pawel.moll@....com>,
	"Mark Rutland" <mark.rutland@....com>,
	Ian Campbell <ijc+devicetree@...lion.org.uk>,
	Kumar Gala <galak@...eaurora.org>,
	"Russell King" <linux@....linux.org.uk>,
	"linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>,
	devicetree <devicetree@...r.kernel.org>,
	"linux-arm-kernel@...ts.infradead.org" 
	<linux-arm-kernel@...ts.infradead.org>,
	linux kernel <linux-kernel@...r.kernel.org>,
	"sdliyong@...il.com" <sdliyong@...il.com>,
	Pantelis Antoniou <pantelis.antoniou@...sulko.com>
Subject: RE: [PATCH] ARM: dts: am335x-boneblack: add i2c1 DT entry

Thanks Robert!

-----Original Message-----
From: Robert Nelson [mailto:robertcnelson@...il.com] 
Sent: Wednesday, June 8, 2016 1:15 AM
To: Li, Yong B <yong.b.li@...el.com>
Cc: Tony Lindgren <tony@...mide.com>; Benoit Cousson <bcousson@...libre.com>; Rob Herring <robh+dt@...nel.org>; Pawel Moll <pawel.moll@....com>; Mark Rutland <mark.rutland@....com>; Ian Campbell <ijc+devicetree@...lion.org.uk>; Kumar Gala <galak@...eaurora.org>; Russell King <linux@....linux.org.uk>; linux-omap@...r.kernel.org; devicetree <devicetree@...r.kernel.org>; linux-arm-kernel@...ts.infradead.org; linux kernel <linux-kernel@...r.kernel.org>; sdliyong@...il.com; Pantelis Antoniou <pantelis.antoniou@...sulko.com>
Subject: Re: [PATCH] ARM: dts: am335x-boneblack: add i2c1 DT entry

On Tue, Jun 7, 2016 at 1:14 AM, Li, Yong B <yong.b.li@...el.com> wrote:
> Thanks Tony.
>
> I checked the DTS/overlays using linux-yocto-4.1 kernel(Ostro OS). It seems to me that the kernel/u-boot do not include the latest overlay support patch. And I also tested the latest Debian 8.4 using BBB boards, the I2C1 does not work too. This patch is the simplest solution for I2C1/I2C2 in linux-yocto-4.1.

ps, your patch is also broken, you didn't even mux the pins, so i2c1 doesn't work for you anyways. ;)

pinctrl-0 = <&i2c2_pins>; -> pinctrl-0 = <&i2c1_pins>;

Option 1:

With the latest BBB image's, we utilize "cape_universal", thus you can enable I2C1 via:

root@...glebone:~# config-pin -l P9.17
default gpio gpio_pu gpio_pd spi i2c pwm

root@...glebone:~# config-pin -l P9.18
default gpio gpio_pu gpio_pd spi i2c pwm

root@...glebone:~# config-pin P9.17 i2c

root@...glebone:~# config-pin P9.18 i2c

Option 2, for the BB-I2C1 overlay:

add

cape_enable=bone_capemgr.enable_partno=BB-I2C1

Option 3, wait for Pantelis's solution... ;)

http://comments.gmane.org/gmane.linux.kernel/2234662

Regards,

--
Robert Nelson
https://rcn-ee.com/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ