Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1341333 > unrolled thread
| Started by | Magnus Damm <magnus.damm@gmail.com> |
|---|---|
| First post | 2016-02-24 05:20 +0100 |
| Last post | 2016-02-24 06:20 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH v3 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings Magnus Damm <magnus.damm@gmail.com> - 2016-02-24 05:20 +0100
Re: [PATCH v3 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings Simon Horman <horms@verge.net.au> - 2016-02-24 06:20 +0100
| From | Magnus Damm <magnus.damm@gmail.com> |
|---|---|
| Date | 2016-02-24 05:20 +0100 |
| Subject | Re: [PATCH v3 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings |
| Message-ID | <r5z5E-7tx-3@gated-at.bofh.it> |
Hi Simon, On Wed, Feb 17, 2016 at 9:08 PM, Simon Horman <horms@verge.net.au> wrote: > On Wed, Feb 17, 2016 at 03:45:19PM +0900, Magnus Damm wrote: >> $ grep "renesas," Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt >> - compatible: "renesas,dmac-<soctype>", "renesas,rcar-dmac" as fallback. >> - "renesas,dmac-r8a7790" (R-Car H2) >> - "renesas,dmac-r8a7791" (R-Car M2-W) >> - "renesas,dmac-r8a7792" (R-Car V2H) >> - "renesas,dmac-r8a7793" (R-Car M2-N) >> - "renesas,dmac-r8a7794" (R-Car E2) >> - "renesas,dmac-r8a7795" (R-Car H3) >> compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac"; >> compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac"; >> $ > > It looks like I have been making the mess worse :( > > Possibly I prepared the patch in question, though recently, > before I was properly aware of the preferred order. No worries! The code above is at least consistent and matches the common current case. >> No need to rework existing stuff IMO. However once we rework DT >> bindings (CMT) or add new ones (SYS-DMAC) then we have a good >> opportunity to clean things up. > > Understood. From my point of view that seems like an opportunity worth taking. So shall we leave the SYS-DMAC as-is or change things around? I personally don't see the point in redoing things just to change order, so keep as-is sounds good to me. For the "fallback" CMT DT compat strings I think we should follow the proposal from Geert and go with "renesas,rcar-gen2-cmt0". Regarding the per-soc CMT DT compat strings my feeling is that we should follow the same order as SYS-DMAC to keep things consistent. Thanks, / magnus
[toc] | [next] | [standalone]
| From | Simon Horman <horms@verge.net.au> |
|---|---|
| Date | 2016-02-24 06:20 +0100 |
| Subject | Re: [PATCH v3 02/06] devicetree: bindings: R-Car Gen2 CMT0 and CMT1 bindings |
| Message-ID | <r5A1J-87D-53@gated-at.bofh.it> |
| In reply to | #1341333 |
On Wed, Feb 24, 2016 at 01:19:25PM +0900, Magnus Damm wrote: > Hi Simon, > > On Wed, Feb 17, 2016 at 9:08 PM, Simon Horman <horms@verge.net.au> wrote: > > On Wed, Feb 17, 2016 at 03:45:19PM +0900, Magnus Damm wrote: > >> $ grep "renesas," Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt > >> - compatible: "renesas,dmac-<soctype>", "renesas,rcar-dmac" as fallback. > >> - "renesas,dmac-r8a7790" (R-Car H2) > >> - "renesas,dmac-r8a7791" (R-Car M2-W) > >> - "renesas,dmac-r8a7792" (R-Car V2H) > >> - "renesas,dmac-r8a7793" (R-Car M2-N) > >> - "renesas,dmac-r8a7794" (R-Car E2) > >> - "renesas,dmac-r8a7795" (R-Car H3) > >> compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac"; > >> compatible = "renesas,dmac-r8a7790", "renesas,rcar-dmac"; > >> $ > > > > It looks like I have been making the mess worse :( > > > > Possibly I prepared the patch in question, though recently, > > before I was properly aware of the preferred order. > > No worries! The code above is at least consistent and matches the > common current case. > > >> No need to rework existing stuff IMO. However once we rework DT > >> bindings (CMT) or add new ones (SYS-DMAC) then we have a good > >> opportunity to clean things up. > > > > Understood. From my point of view that seems like an opportunity worth taking. > > So shall we leave the SYS-DMAC as-is or change things around? I > personally don't see the point in redoing things just to change order, > so keep as-is sounds good to me. > > For the "fallback" CMT DT compat strings I think we should follow the > proposal from Geert and go with "renesas,rcar-gen2-cmt0". Regarding > the per-soc CMT DT compat strings my feeling is that we should follow > the same order as SYS-DMAC to keep things consistent. I would lean towards changing the order of the per-soc CMT DT compat strings but I do not feel strongly about it. As for the rest of your proposal above: I agree without reservation.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web