Re: [PATCH 03/17] spi/qspi: parse register by name.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Thursday 28 November 2013 04:24 PM, Mark Brown wrote:
On Thu, Nov 28, 2013 at 10:15:14AM +0530, Sourav Poddar wrote:
On Tuesday 26 November 2013 05:54 PM, Mark Brown wrote:
Do device tree binding changes early on in the series rather than at the
end, one of the things that gets reviewed for is binding updates.
Your code should also cope with the existing bindings, falling back on
the current behaviour if it can't get the names or the extra resources.
My current code only has a single resouce, hence "*_byname* variants
was not used. With extra resources, I am switching to "byname" variants,
So, if a particular resource name is not found, it should just
bypass that, thinking
the resource is not required and should not resort to existing bindings..
That means that if you switch all resources to _byname then the driver
won't find any resources at all and will fail.  This will in turn mean
that any device trees that work with the current code wil start failing,
breaking compatibility.
I am changing my code to use *byname for all resources. There is no
dts available now in mainline using this code. I have added the dts file
as patch 15, 16 of this series to take care of this.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux