From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753061AbaELUPb (ORCPT ); Mon, 12 May 2014 16:15:31 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:41836 "EHLO mho-02-ewr.mailhop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751368AbaELUPa (ORCPT ); Mon, 12 May 2014 16:15:30 -0400 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 99.127.230.128 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/by4KnGqxsiYFF2nnCKiFA Date: Mon, 12 May 2014 13:15:17 -0700 From: Tony Lindgren To: Robert Nelson Cc: Matt Ranostay , robh+dt@kernel.org, mark.rutland@arm.com, Russell King , "linux-omap@vger.kernel.org" , devicetree , linux kernel , pantelis.antoniou@gmail.com, matt.porter@linaro.org Subject: Re: [PATCH v2] ARM: dts: am335x-bone-common: Add i2c2 definition Message-ID: <20140512201517.GC5668@atomide.com> References: <1399686184-1594-1-git-send-email-mranostay@gmail.com> <20140512195050.GB5668@atomide.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Robert Nelson [140512 13:00]: > >> > >> + i2c2_pins: pinmux_i2c2_pins { > >> + pinctrl-single,pins = < > >> + 0x178 (PIN_INPUT_PULLUP | MUX_MODE3) /* uart1_ctsn.i2c2_sda */ > >> + 0x17c (PIN_INPUT_PULLUP | MUX_MODE3) /* uart1_rtsn.i2c2_scl */ > >> + >; > >> + }; > >> + > >> uart0_pins: pinmux_uart0_pins { > >> pinctrl-single,pins = < > >> 0x170 (PIN_INPUT_PULLUP | MUX_MODE0) /* uart0_rxd.uart0_rxd */ > >> > >> @@ -222,6 +229,15 @@ > >> > >> }; > >> > >> + > >> +&i2c2 { > >> + pinctrl-names = "default"; > >> + pinctrl-0 = <&i2c2_pins>; > >> + > >> + status = "okay"; > >> + clock-frequency = <100000>; > >> +}; > >> + > > > > If these pins are not used for i2c2 on some capes, this device > > should be set to status = "disabled" state by default. Then > > u-boot could re-enable it on the boards that have i2c2 in use. > > To-date, this is the i2c bus that all capes have placed an at24 eeprom > for cape identification. And how many capes actually implement the eeprom cape identification out of the available capes? :) Tony