mbox series

[0/2] rcar-csi2: Update how DT is traversed and parsed

Message ID 20200914215011.339387-1-niklas.soderlund+renesas@ragnatech.se (mailing list archive)
Headers show
Series rcar-csi2: Update how DT is traversed and parsed | expand

Message

Niklas Söderlund Sept. 14, 2020, 9:50 p.m. UTC
Hi,

This series touches up how the R-Car CSI-2 driver traverse and parse DT 
device nodes. Patch 1/2  switches to only use the fwnode interface and 
2/2 specifies the bus type used for parsing.

This is done a preparation to later modify the rcar-vin driver in a 
similar fashion to be able to drop the use of the 
v4l2_async_notifier_parse_fwnode_endpoints_by_port() helper which I 
understand is marked for deprecation. Therefore comments on the over all 
solution of parsing DT here would be appreciated.

Niklas Söderlund (2):
  rcar-csi2: Switch to using fwnode instead of OF
  rcar-csi2: Set bus type when parsing fwnode

 drivers/media/platform/rcar-vin/rcar-csi2.c | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)