[PATCH v12 2/3] soc/sophgo: add top sysctrl layout file for CV18XX/SG200X
Inochi Amaoto
inochiama at outlook.com
Thu Aug 29 18:30:24 PDT 2024
On Thu, Aug 29, 2024 at 10:33:27PM GMT, Vinod Koul wrote:
> On 29-08-24, 09:38, Inochi Amaoto wrote:
> > On Wed, Aug 28, 2024 at 11:24:24PM GMT, Vinod Koul wrote:
> > > On 27-08-24, 14:49, Inochi Amaoto wrote:
> > > > The "top" system controller of CV18XX/SG200X exposes control
> > > > register access for various devices. Add soc header file to
> > > > describe it.
> > >
> > > I dont think I am full onboard this idea,
> >
> > Feel free to share your idea. I just added this file for
> > convenience to access the offset of the syscon device.
> > In fact, I am not sure whether it is better to use reg
> > offset. Using reg adds some unncessary complexity, but
> > can avoid use this offset file. If you prefer this way,
> > it is OK for me to change.
>
> I would just add the offsets that I need in local driver header and move
> on...
>
Yeah, this is a solution. I think I should take it.
After rechecking the headers in the include/soc/.
I think I may make a mistake.
Regards,
Inochi
More information about the linux-riscv
mailing list