On Wed, Apr 26, 2023 at 6:18 PM Rohit Agarwal <quic_rohiagar@xxxxxxxxxxx> wrote:PINCTRL_PINGROUP cannot be used as it is, since msm_pigroup has multiple other fields that needs to be set
On 4/26/2023 8:34 PM, andy.shevchenko@xxxxxxxxx wrote:...
Mon, Apr 24, 2023 at 02:33:50PM +0530, Rohit Agarwal kirjoitti:
Yes, please.Ok, Will update this. Shall I also update "PINGROUP" to "PINCTRL_PINGROUP"?+#define FUNCTION(fname) \PINCTRL_PINFUNCTION() ?
+ [msm_mux_##fname] = { \
+ .name = #fname, \
+ .groups = fname##_groups, \
+ .ngroups = ARRAY_SIZE(fname##_groups), \
+ }