Message ID | 20230314124404.117592-1-xingyu.wu@starfivetech.com (mailing list archive) |
---|---|
Headers | show |
Series | Add new partial clock and reset drivers for StarFive JH7110 | expand |
Quoting Xingyu Wu (2023-03-14 05:43:53) > This patch serises are to add new partial clock drivers and reset > supports about System-Top-Group(STG), Image-Signal-Process(ISP) > and Video-Output(VOUT) for the StarFive JH7110 RISC-V SoC. What is your merge plan for this series? Did you intend for clk tree to take the majority of patches? We won't take the dts changes through the clk tree. I think Philipp Zabel reviewed some earlier version of the patches and provided reviewed-by tags. Can you check if they can be added here? If so, please resend again, or get those merged through the reset tree.
On 2023/3/15 8:30, Stephen Boyd wrote: > Quoting Xingyu Wu (2023-03-14 05:43:53) >> This patch serises are to add new partial clock drivers and reset >> supports about System-Top-Group(STG), Image-Signal-Process(ISP) >> and Video-Output(VOUT) for the StarFive JH7110 RISC-V SoC. > > What is your merge plan for this series? Did you intend for clk tree to > take the majority of patches? We won't take the dts changes through the > clk tree. > > I think Philipp Zabel reviewed some earlier version of the patches and > provided reviewed-by tags. Can you check if they can be added here? If > so, please resend again, or get those merged through the reset tree. These patches add new clock & reset providers based on the basic clock & reset of the minimal system which Hal.feng had submitted[1], which are used in USB, DMA, VIN and Display modules that are merging. [1]: https://lore.kernel.org/all/20230311090733.56918-1-hal.feng@starfivetech.com/ Oh I checked and had not received any comments from Philipp Zabel in earlier version of these patches. Maybe it was confused with the patches of the minimal system. Best regards, Xingyu Wu
Hey Stephen, On Wed, Mar 15, 2023 at 11:44:00AM +0800, Xingyu Wu wrote: > On 2023/3/15 8:30, Stephen Boyd wrote: > > Quoting Xingyu Wu (2023-03-14 05:43:53) > >> This patch serises are to add new partial clock drivers and reset > >> supports about System-Top-Group(STG), Image-Signal-Process(ISP) > >> and Video-Output(VOUT) for the StarFive JH7110 RISC-V SoC. > > > > What is your merge plan for this series? Did you intend for clk tree to > > take the majority of patches? We won't take the dts changes through the > > clk tree. FWIW, I've been waiting for the "main" clock/reset series [1] to be ready to go, before suggesting that I take it (the main series) via the soc tree. This one is kinda in the same boat, with defines in the dt-binding headers that are used by both drivers and dts, so splitting the two doesn't make all that much sense. As Xingyu points out below, this series depends on the main one, so if I was to take that via soc, this one would need to go on top, or be delayed. At what point does that become too much to go via soc and some sort of shared tag become needed? Thanks, Conor. > > > > I think Philipp Zabel reviewed some earlier version of the patches and > > provided reviewed-by tags. Can you check if they can be added here? If > > so, please resend again, or get those merged through the reset tree. > > These patches add new clock & reset providers based on the basic clock & reset > of the minimal system which Hal.feng had submitted[1], which are used in USB, DMA, > VIN and Display modules that are merging. [1]: https://lore.kernel.org/all/20230311090733.56918-1-hal.feng@starfivetech.com/ > > Oh I checked and had not received any comments from Philipp Zabel in earlier version > of these patches. Maybe it was confused with the patches of the minimal system. > > Best regards, > Xingyu Wu
Quoting Conor Dooley (2023-03-15 01:14:06) > Hey Stephen, > > On Wed, Mar 15, 2023 at 11:44:00AM +0800, Xingyu Wu wrote: > > On 2023/3/15 8:30, Stephen Boyd wrote: > > > Quoting Xingyu Wu (2023-03-14 05:43:53) > > >> This patch serises are to add new partial clock drivers and reset > > >> supports about System-Top-Group(STG), Image-Signal-Process(ISP) > > >> and Video-Output(VOUT) for the StarFive JH7110 RISC-V SoC. > > > > > > What is your merge plan for this series? Did you intend for clk tree to > > > take the majority of patches? We won't take the dts changes through the > > > clk tree. > > FWIW, I've been waiting for the "main" clock/reset series [1] to be ready > to go, before suggesting that I take it (the main series) via the soc > tree. This one is kinda in the same boat, with defines in the dt-binding > headers that are used by both drivers and dts, so splitting the two > doesn't make all that much sense. > > As Xingyu points out below, this series depends on the main one, so if I > was to take that via soc, this one would need to go on top, or be > delayed. > At what point does that become too much to go via soc and some sort of > shared tag become needed? > Platform/SoC maintainers either base their DTS file branch on some branch made in clk repo that has the bindings and drivers they need (clk-starfive probably), or they send a pull request to clk maintainers with the bindings and clk drivers. Or they don't use the #defines in the header files and use raw numbers in the DTS, or they simply apply the patch that just has the #defines in it to their SoC tree and we duplicate the commit in the history by also applying it to the clk tree. Let's try to keep things simple and not use raw numbers. BTW, clk driver code doesn't typically go via soc. Not sure if that's happening but please don't do that.
Quoting Xingyu Wu (2023-03-14 20:44:00) > On 2023/3/15 8:30, Stephen Boyd wrote: > > Quoting Xingyu Wu (2023-03-14 05:43:53) > >> This patch serises are to add new partial clock drivers and reset > >> supports about System-Top-Group(STG), Image-Signal-Process(ISP) > >> and Video-Output(VOUT) for the StarFive JH7110 RISC-V SoC. > > > > What is your merge plan for this series? Did you intend for clk tree to > > take the majority of patches? We won't take the dts changes through the > > clk tree. > > > > I think Philipp Zabel reviewed some earlier version of the patches and > > provided reviewed-by tags. Can you check if they can be added here? If > > so, please resend again, or get those merged through the reset tree. > > These patches add new clock & reset providers based on the basic clock & reset > of the minimal system which Hal.feng had submitted[1], which are used in USB, DMA, > VIN and Display modules that are merging. > [1]: https://lore.kernel.org/all/20230311090733.56918-1-hal.feng@starfivetech.com/ > > Oh I checked and had not received any comments from Philipp Zabel in earlier version > of these patches. Maybe it was confused with the patches of the minimal system. > Ok. I am waiting for a resend on that series from Hal.feng
On Wed, Mar 15, 2023 at 03:40:00PM -0700, Stephen Boyd wrote: > Quoting Conor Dooley (2023-03-15 01:14:06) > > At what point does that become too much to go via soc and some sort of > > shared tag become needed? > BTW, clk driver code doesn't typically go via soc. Not sure if that's > happening but please don't do that. Perfect, shan't. > Platform/SoC maintainers either base their DTS file branch on some > branch made in clk repo that has the bindings and drivers they need > (clk-starfive probably), or they send a pull request to clk maintainers > with the bindings and clk drivers. Or they don't use the #defines in the > header files and use raw numbers in the DTS, or they simply apply the > patch that just has the #defines in it to their SoC tree and we > duplicate the commit in the history by also applying it to the clk tree. > > Let's try to keep things simple and not use raw numbers. Definitely not! I'll do something sane with Emil once the base series is ready. Just was not sure how you typically liked this stuff to go, and now I am sure of what you do not want! Thanks, Conor.