Thread (1 message) 1 message, 1 author, 2015-08-13

Re: [PATCH v2] mtd: part: add generic parsing of linux,part-probe

From: Hauke Mehrtens <hidden>
Date: 2015-08-13 20:09:36

On 05/24/2015 08:38 PM, Hauke Mehrtens wrote:
This moves the linux,part-probe device tree parsing code from
physmap_of.c to mtdpart.c. Now all drivers can use this feature by just
providing a reference to their device tree node in struct
mtd_part_parser_data.

Signed-off-by: Hauke Mehrtens <hauke-5/S+JYg5SzeELgA04lAiVw@public.gmane.org>
---

changes since
v1:
 * add documentation for linux,part-probe
 * fix spacing
 * add documentation for of_get_probes()

 Documentation/devicetree/bindings/mtd/nand.txt | 16 ++++++++++
 drivers/mtd/maps/physmap_of.c                  | 40 +-----------------------
 drivers/mtd/mtdpart.c                          | 43 ++++++++++++++++++++++++++
 3 files changed, 60 insertions(+), 39 deletions(-)
I just want to bring this up again.

@Brian do you still have any problem with this patch? Should I use a
different approach and if so which? I think we agreed on that it is bad
when the flash chip driver decides which parser to use and it is not
possible to change it other that changing the code, but this is the
current situation with most drivers.

Hauke
--
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help