On Wed, Aug 02, 2023 at 03:44:17PM +0800, Yinbo Zhu wrote:
在 2023/8/2 下午3:22, Conor Dooley 写道:
On Wed, Aug 02, 2023 at 09:38:34AM +0800, Yinbo Zhu wrote:
在 2023/8/1 下午11:54, Conor Dooley 写道:
On Tue, Aug 01, 2023 at 04:34:30PM +0800, Yinbo Zhu wrote:
Sorry, I may not have described it clearly before, the ls2k500 was only
as a example, actually, Loongson GPIO controllers (2k500,2k1000,eg)come
in multiple variants that are compatible except for certain register
offset values. So above all offset device property was used to in all
loongson gpio controller.
But it would be good to know why they are different. Do they each
support some different features, or was there some other reason for
making controllers like this?
There are no other reasons, just differences in these offset addresses.
Huh. Do you have a link to a devicetree for the ls2k500?
Yes, there was a link about ls2k500 dts, but that ls2k500 dts has not
yet added a gpio node. this gpio node will be added later.
You must have something that you used to test with, no? I don't mind if
it is not a patch, but rather is some WIP - I'd just like to see user of
the binding :)