lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e945f4e0-4256-40de-9946-c195b999bae8@189.cn>
Date: Fri, 13 Dec 2024 18:25:18 +0800
From: Song Chen <chensong_2000@....cn>
To: Bartosz Golaszewski <brgl@...ev.pl>
Cc: krzk@...nel.org, lgirdwood@...il.com, broonie@...nel.org, lee@...nel.org,
 linus.walleij@...aro.org, linux-kernel@...r.kernel.org,
 linux-gpio@...r.kernel.org, linux-samsung-soc@...r.kernel.org
Subject: Re: [PATCH v2] regulator:s5m8767: Fully convert to GPIO descriptors

Hi Bart,

在 2024/12/12 18:29, Bartosz Golaszewski 写道:
> On Thu, Dec 12, 2024 at 6:55 AM Song Chen <chensong_2000@....cn> wrote:
>>
>> Or we can use devm_gpiod_get_array, it's pretty much equivalent effect
>> in s5m8767 even without fwnode specified.
>>
> 
> Can you use it though? I was thinking you need the fwnode variant
> because it's the child (regulator) node of the device?
> 
> If you can, that would be great.
> 
> Bart
> 

yes, i believe so, eventually both devm_gpiod_get_array and 
devm_fwnode_gpiod_get_index use of_fwnode_handle(iodev->dev->of_node) in 
this case.

But, i think it's a good idea to introduce a helper to get gpio 
descriptor array with fwnode, i have made a patch, would appreciate it 
if you can help me have a look.

Best regards,

Song

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ