From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422655AbbENPkF (ORCPT ); Thu, 14 May 2015 11:40:05 -0400 Received: from muru.com ([72.249.23.125]:50926 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932684AbbENPkC (ORCPT ); Thu, 14 May 2015 11:40:02 -0400 Date: Thu, 14 May 2015 08:39:58 -0700 From: Tony Lindgren To: Pantelis Antoniou Cc: Benoit Cousson , Rob Herring , Grant Likely , Matt Porter , Koen Kooi , Robert Nelson , Srinivas Kandagatla , Guenter Roeck , Geert Uytterhoeven , devicetree@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Pantelis Antoniou Subject: Re: [PATCH] arm: dts: Enable beaglebone cape-manager Message-ID: <20150514153957.GK15563@atomide.com> References: <1431504292-32132-1-git-send-email-pantelis.antoniou@konsulko.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1431504292-32132-1-git-send-email-pantelis.antoniou@konsulko.com> 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 * Pantelis Antoniou [150513 01:06]: > Enable the cape manager on the beaglebone family of boards. I don't think we have the "ti,bone-capemgr" binding in use yet in Linux next? An ack from the DT people would be good to have here for the binding. Regards, Tony > Signed-off-by: Pantelis Antoniou > --- > arch/arm/boot/dts/am335x-bone-common.dtsi | 42 +++++++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) > > diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi > index 236b7db..28d9764 100644 > --- a/arch/arm/boot/dts/am335x-bone-common.dtsi > +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi > @@ -375,3 +375,45 @@ > &sham { > status = "okay"; > }; > + > +/* the cape manager */ > +/ { > + bone_capemgr { > + compatible = "ti,bone-capemgr"; > + status = "okay"; > + > + eeprom = <&baseboard_data>; > + > + /* map board revisions to compatible definitions */ > + baseboardmaps { > + baseboard_beaglebone: board@0 { > + board-name = "A335BONE"; > + compatible-name = "ti,beaglebone"; > + }; > + > + baseboard_beaglebone_black: board@1 { > + board-name = "A335BNLT"; > + compatible-name = "ti,beaglebone-black"; > + }; > + }; > + > + /* only 4 slots defined */ > + slots { > + slot@0 { > + eeprom = <&cape0_data>; > + }; > + > + slot@1 { > + eeprom = <&cape1_data>; > + }; > + > + slot@2 { > + eeprom = <&cape2_data>; > + }; > + > + slot@3 { > + eeprom = <&cape3_data>; > + }; > + }; > + }; > +}; > -- > 1.7.12 > From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] arm: dts: Enable beaglebone cape-manager Date: Thu, 14 May 2015 08:39:58 -0700 Message-ID: <20150514153957.GK15563@atomide.com> References: <1431504292-32132-1-git-send-email-pantelis.antoniou@konsulko.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1431504292-32132-1-git-send-email-pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Pantelis Antoniou Cc: Benoit Cousson , Rob Herring , Grant Likely , Matt Porter , Koen Kooi , Robert Nelson , Srinivas Kandagatla , Guenter Roeck , Geert Uytterhoeven , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Pantelis Antoniou List-Id: devicetree@vger.kernel.org * Pantelis Antoniou [150513 01:06]: > Enable the cape manager on the beaglebone family of boards. I don't think we have the "ti,bone-capemgr" binding in use yet in Linux next? An ack from the DT people would be good to have here for the binding. Regards, Tony > Signed-off-by: Pantelis Antoniou > --- > arch/arm/boot/dts/am335x-bone-common.dtsi | 42 +++++++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) > > diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi > index 236b7db..28d9764 100644 > --- a/arch/arm/boot/dts/am335x-bone-common.dtsi > +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi > @@ -375,3 +375,45 @@ > &sham { > status = "okay"; > }; > + > +/* the cape manager */ > +/ { > + bone_capemgr { > + compatible = "ti,bone-capemgr"; > + status = "okay"; > + > + eeprom = <&baseboard_data>; > + > + /* map board revisions to compatible definitions */ > + baseboardmaps { > + baseboard_beaglebone: board@0 { > + board-name = "A335BONE"; > + compatible-name = "ti,beaglebone"; > + }; > + > + baseboard_beaglebone_black: board@1 { > + board-name = "A335BNLT"; > + compatible-name = "ti,beaglebone-black"; > + }; > + }; > + > + /* only 4 slots defined */ > + slots { > + slot@0 { > + eeprom = <&cape0_data>; > + }; > + > + slot@1 { > + eeprom = <&cape1_data>; > + }; > + > + slot@2 { > + eeprom = <&cape2_data>; > + }; > + > + slot@3 { > + eeprom = <&cape3_data>; > + }; > + }; > + }; > +}; > -- > 1.7.12 > -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Thu, 14 May 2015 08:39:58 -0700 Subject: [PATCH] arm: dts: Enable beaglebone cape-manager In-Reply-To: <1431504292-32132-1-git-send-email-pantelis.antoniou@konsulko.com> References: <1431504292-32132-1-git-send-email-pantelis.antoniou@konsulko.com> Message-ID: <20150514153957.GK15563@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org * Pantelis Antoniou [150513 01:06]: > Enable the cape manager on the beaglebone family of boards. I don't think we have the "ti,bone-capemgr" binding in use yet in Linux next? An ack from the DT people would be good to have here for the binding. Regards, Tony > Signed-off-by: Pantelis Antoniou > --- > arch/arm/boot/dts/am335x-bone-common.dtsi | 42 +++++++++++++++++++++++++++++++ > 1 file changed, 42 insertions(+) > > diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi > index 236b7db..28d9764 100644 > --- a/arch/arm/boot/dts/am335x-bone-common.dtsi > +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi > @@ -375,3 +375,45 @@ > &sham { > status = "okay"; > }; > + > +/* the cape manager */ > +/ { > + bone_capemgr { > + compatible = "ti,bone-capemgr"; > + status = "okay"; > + > + eeprom = <&baseboard_data>; > + > + /* map board revisions to compatible definitions */ > + baseboardmaps { > + baseboard_beaglebone: board at 0 { > + board-name = "A335BONE"; > + compatible-name = "ti,beaglebone"; > + }; > + > + baseboard_beaglebone_black: board at 1 { > + board-name = "A335BNLT"; > + compatible-name = "ti,beaglebone-black"; > + }; > + }; > + > + /* only 4 slots defined */ > + slots { > + slot at 0 { > + eeprom = <&cape0_data>; > + }; > + > + slot at 1 { > + eeprom = <&cape1_data>; > + }; > + > + slot at 2 { > + eeprom = <&cape2_data>; > + }; > + > + slot at 3 { > + eeprom = <&cape3_data>; > + }; > + }; > + }; > +}; > -- > 1.7.12 >