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


Groups > linux.kernel > #1282341

Re: [PATCH (v6) 1/2] mtd: brcmnand: Add brcm,bcm63268-nand device tree binding

From Simon Arlott <simon@fire.lp0.eu>
Newsgroups linux.kernel
Subject Re: [PATCH (v6) 1/2] mtd: brcmnand: Add brcm,bcm63268-nand device tree binding
Date 2015-12-02 21:20 +0100
Message-ID <qBm2C-3zv-13@gated-at.bofh.it> (permalink)
References (6 earlier) <qyqP7-3pF-7@gated-at.bofh.it> <qysee-4rc-21@gated-at.bofh.it> <qBkWS-2Tg-9@gated-at.bofh.it> <qBlzA-38R-15@gated-at.bofh.it> <qBlSW-3wb-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 02/12/15 20:00, Brian Norris wrote:
> Hi,
> 
> On Wed, Dec 02, 2015 at 07:41:07PM +0000, Simon Arlott wrote:
>> >> +	nand0: nandcs@0 {
>> >> +		compatible = "brcm,nandcs";
>> >> +
>> >> +		#address-cells = <0>;
>> >> +		#size-cells = <0>;
> 
>> I think they're also implicit so you can just remove those two lines.
> 
> From ePAPR: "The #address-cells and #size-cells properties are not
> inherited from ancestors in the device tree. They shall be explicitly
> defined."
> 
> But we don't want to define them. I'd drop them, at least from the
> example, as they're not relevant.

Ok.

>> I've created a bcm963268part driver so there won't need to be any
>> partitions in DT for bcm63268.
> 
> Just curious, do you plan to submit this driver? We're working on

Yes, it's just the most recent one I've been working on. I still have
USBH and IUDMA to submit

> matching up partition parsers to flash devices via device tree
> of_match_table's, so you could do something like this:
> 
> 	nand0: nandcs@0 {
> 		compatible = "brcm,nandcs";
> 		...
> 
> 		partitions {
> 			compatible = "brcm,bcm963268-partitions";
> 			...
> 		};
> 	};

I modified brcmnand to look for a machine matching "brcm,bcm963268", but
that way is ok with me. Presumably "ofpart" defers to another matching
partition parser?

Is there a patch for that method of parser detection available?

-- 
Simon Arlott
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

Re: [PATCH (v6) 1/2] mtd: brcmnand: Add brcm,bcm63268-nand device  tree binding Brian Norris <computersforpeace@gmail.com> - 2015-12-02 20:10 +0100
  Re: [PATCH (v6) 1/2] mtd: brcmnand: Add brcm,bcm63268-nand device  tree binding Florian Fainelli <f.fainelli@gmail.com> - 2015-12-02 20:40 +0100
    Re: [PATCH (v6) 1/2] mtd: brcmnand: Add brcm,bcm63268-nand device  tree binding Simon Arlott <simon@fire.lp0.eu> - 2015-12-02 21:10 +0100
      Re: [PATCH (v6) 1/2] mtd: brcmnand: Add brcm,bcm63268-nand device  tree binding Florian Fainelli <fainelli@broadcom.com> - 2015-12-02 22:50 +0100
  Re: [PATCH (v6) 1/2] mtd: brcmnand: Add brcm,bcm63268-nand device  tree binding Jonas Gorski <jogo@openwrt.org> - 2015-12-02 20:40 +0100
  Re: [PATCH (v6) 1/2] mtd: brcmnand: Add brcm,bcm63268-nand device  tree binding Simon Arlott <simon@fire.lp0.eu> - 2015-12-02 20:50 +0100
    Re: [PATCH (v6) 1/2] mtd: brcmnand: Add brcm,bcm63268-nand device  tree binding Brian Norris <computersforpeace@gmail.com> - 2015-12-02 21:10 +0100
      Re: [PATCH (v6) 1/2] mtd: brcmnand: Add brcm,bcm63268-nand device  tree binding Simon Arlott <simon@fire.lp0.eu> - 2015-12-02 21:20 +0100
        Re: [PATCH (v6) 1/2] mtd: brcmnand: Add brcm,bcm63268-nand device  tree binding Brian Norris <computersforpeace@gmail.com> - 2015-12-02 21:30 +0100
        Re: [PATCH (v6) 1/2] mtd: brcmnand: Add brcm,bcm63268-nand device  tree binding Brian Norris <computersforpeace@gmail.com> - 2015-12-02 21:30 +0100
          Re: [PATCH (v6) 1/2] mtd: brcmnand: Add brcm,bcm63268-nand device  tree binding Simon Arlott <simon@fire.lp0.eu> - 2015-12-02 21:40 +0100
            Re: [PATCH (v6) 1/2] mtd: brcmnand: Add brcm,bcm63268-nand device  tree binding Brian Norris <computersforpeace@gmail.com> - 2015-12-02 21:50 +0100

csiph-web