Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1416432

Re: [PATCH] ARM: dts: am335x-boneblack: add i2c1 DT entry

From Robert Nelson <robertcnelson@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] ARM: dts: am335x-boneblack: add i2c1 DT entry
Date 2016-06-07 19:20 +0200
Message-ID <rHsPv-5vs-7@gated-at.bofh.it> (permalink)
References (3 earlier) <rFEUN-Es-9@gated-at.bofh.it> <rFF4t-HB-11@gated-at.bofh.it> <rFQ9A-7Ct-11@gated-at.bofh.it> <rHin7-7mM-5@gated-at.bofh.it> <rHiwO-7rh-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 7, 2016 at 1:14 AM, Li, Yong B <yong.b.li@intel.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@beaglebone:~# config-pin -l P9.17
default gpio gpio_pu gpio_pd spi i2c pwm

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

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

root@beaglebone:~# 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/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] ARM: dts: am335x-boneblack: add i2c1 DT entry Yong Li <yong.b.li@intel.com> - 2016-06-02 10:00 +0200
  Re: [PATCH] ARM: dts: am335x-boneblack: add i2c1 DT entry Tony Lindgren <tony@atomide.com> - 2016-06-02 19:40 +0200
    Re: [PATCH] ARM: dts: am335x-boneblack: add i2c1 DT entry Robert Nelson <robertcnelson@gmail.com> - 2016-06-02 19:50 +0200
      Re: [PATCH] ARM: dts: am335x-boneblack: add i2c1 DT entry Tony Lindgren <tony@atomide.com> - 2016-06-02 20:00 +0200
        RE: [PATCH] ARM: dts: am335x-boneblack: add i2c1 DT entry "Li, Yong B" <yong.b.li@intel.com> - 2016-06-03 07:50 +0200
          Re: [PATCH] ARM: dts: am335x-boneblack: add i2c1 DT entry Tony Lindgren <tony@atomide.com> - 2016-06-07 08:10 +0200
            RE: [PATCH] ARM: dts: am335x-boneblack: add i2c1 DT entry "Li, Yong B" <yong.b.li@intel.com> - 2016-06-07 08:20 +0200
              Re: [PATCH] ARM: dts: am335x-boneblack: add i2c1 DT entry Robert Nelson <robertcnelson@gmail.com> - 2016-06-07 19:20 +0200
                RE: [PATCH] ARM: dts: am335x-boneblack: add i2c1 DT entry "Li, Yong B" <yong.b.li@intel.com> - 2016-06-08 09:20 +0200

csiph-web