[PATCH] pinctrl: samsung: keep bus clock enabled

Peter Griffin peter.griffin at linaro.org
Wed Nov 25 13:01:35 PST 2026


On Mon, 23 Nov 2026 at 15:59, André Draszik <andre.draszik at linaro.org> wrote:
>
> With CONFIG_PROVE_RAW_LOCK_NESTING=y, lockdep reports:
>
>     [ BUG: Invalid wait context ]
>     irq/130-1-0025/196 is trying to lock:
>     (enable_lock){....}-{3:3}, at: clk_enable_lock+0x68/0x110
>     other info that might help us debug this:
>     context-{5:5}
>     locks held by irq/130-1-0025/196: 1, on CPU#0:
>      #0: (&irq_desc_lock_class){-.-.}-{2:2}, at: irq_finalize_oneshot
>     Call trace:
>      _raw_spin_lock_irqsave+0x60/0x98
>      clk_enable_lock+0x68/0x110
>      clk_disable+0x34/0x68
>      exynos_irq_unmask+0xd8/0x1c0
>      unmask_threaded_irq+0x58/0x80
>      irq_finalize_oneshot.part.0+0x98/0x108
>      irq_thread_fn+0x68/0xc0
>      irq_thread+0xd0/0x1e0
>      kthread+0x118/0x138
>      ret_from_fork+0x10/0x20
>
> The driver enables the optional bus clock ("pclk") around each register
> access using clk_enable() and clk_disable(). Both acquire the clock
> framework's enable_lock, which is a spinlock_t. On PREEMPT_RT,
> spinlock_t turns into a sleeping lock and must not be acquired in hard
> interrupt context or while holding a raw_spinlock_t. Most register
> accesses happen in such contexts:
>
> * The IRQ core invokes the irq_chip callbacks .irq_mask(),
>   .irq_unmask(), .irq_ack() and .irq_set_type() with the raw_spinlock_t
>   irq_desc::lock held.
> * exynos_irq_demux_eint16_31() is a chained interrupt handler and runs
>   in hard interrupt context.
> * The gpio_chip callbacks don't sleep, so GPIO consumers may call them
>   in hard interrupt context or with a raw_spinlock_t held.
>
> Lockdep reports this only when enable_lock is contended, because
> clk_enable_lock() tries spin_trylock_irqsave() first and lockdep
> doesn't check the wait context of trylocks.
>
> Enable the bus clock once during probe instead, keep it enabled for as
> long as the driver is bound, and drop all per-access clk_enable() and
> clk_disable() calls. Also revert samsung_pinmux_setup() back to void
> and drop the now-unused pclk member of struct samsung_pinctrl_drv_data.
>
> This reverts only the per-access clk_enable()/clk_disable() portion of
> commit f9c744747973 ("pinctrl: samsung: support a bus clock"). The
> driver still has to acquire and enable the bus clock: without a
> consumer, the clock framework turns off unused gate clocks on kernels
> or DTs without automatic clock gating, and gs101's alive GPIO clocks
> don't set CLK_IGNORE_UNUSED.
>
> The in-tree DTs provide this clock for Google Tensor gs101 only. Since
> commit 298fac4f4b96 ("clk: samsung: Implement automatic clock gating
> mode for CMUs"), the gs101 clock driver registers this clock as an
> automatically gated clock, for which the enable and disable operations
> are no-ops, so keeping the clock enabled doesn't stop the hardware from
> gating it. Without automatic clock gating (in older kernels, and with
> old DTs whose CMU register range size is not 0x10000), the clock stays
> enabled for as long as the driver is bound.
>
> The DT binding requires this clock for Exynos8890 as well, but the tree
> contains neither a DT nor a clock driver for Exynos8890.
>
> Fixes: f9c744747973 ("pinctrl: samsung: support a bus clock")
> Cc: stable at vger.kernel.org
> Signed-off-by: André Draszik <andre.draszik at linaro.org>
> ---

Reviewed-by: Peter Griffin <peter.griffin at linaro.org>

>  drivers/pinctrl/samsung/pinctrl-exynos.c  |  80 ----------------------
>  drivers/pinctrl/samsung/pinctrl-samsung.c | 106 +++---------------------------
>  drivers/pinctrl/samsung/pinctrl-samsung.h |   2 -
>  3 files changed, 9 insertions(+), 179 deletions(-)
>
> diff --git a/drivers/pinctrl/samsung/pinctrl-exynos.c b/drivers/pinctrl/samsung/pinctrl-exynos.c
> index c45da9f13411..8adfeae96566 100644
> --- a/drivers/pinctrl/samsung/pinctrl-exynos.c
> +++ b/drivers/pinctrl/samsung/pinctrl-exynos.c
> @@ -13,7 +13,6 @@
>  // the Samsung pinctrl/gpiolib driver. It also includes the implementation of
>  // external gpio and wakeup interrupt support.
>
> -#include <linux/clk.h>
>  #include <linux/device.h>
>  #include <linux/interrupt.h>
>  #include <linux/irqdomain.h>
> @@ -69,12 +68,6 @@ static void exynos_irq_mask(struct irq_data *irqd)
>         else
>                 reg_mask = our_chip->eint_mask + bank->eint_offset;
>
> -       if (clk_enable(bank->drvdata->pclk)) {
> -               dev_err(bank->gpio_chip.parent,
> -                       "unable to enable clock for masking IRQ\n");
> -               return;
> -       }
> -
>         raw_spin_lock_irqsave(&bank->slock, flags);
>
>         mask = readl(bank->eint_base + reg_mask);
> @@ -82,8 +75,6 @@ static void exynos_irq_mask(struct irq_data *irqd)
>         writel(mask, bank->eint_base + reg_mask);
>
>         raw_spin_unlock_irqrestore(&bank->slock, flags);
> -
> -       clk_disable(bank->drvdata->pclk);
>  }
>
>  static void exynos_irq_ack(struct irq_data *irqd)
> @@ -98,15 +89,7 @@ static void exynos_irq_ack(struct irq_data *irqd)
>         else
>                 reg_pend = our_chip->eint_pend + bank->eint_offset;
>
> -       if (clk_enable(bank->drvdata->pclk)) {
> -               dev_err(bank->gpio_chip.parent,
> -                       "unable to enable clock to ack IRQ\n");
> -               return;
> -       }
> -
>         writel(1 << irqd->hwirq, bank->eint_base + reg_pend);
> -
> -       clk_disable(bank->drvdata->pclk);
>  }
>
>  static void exynos_irq_unmask(struct irq_data *irqd)
> @@ -134,12 +117,6 @@ static void exynos_irq_unmask(struct irq_data *irqd)
>         else
>                 reg_mask = our_chip->eint_mask + bank->eint_offset;
>
> -       if (clk_enable(bank->drvdata->pclk)) {
> -               dev_err(bank->gpio_chip.parent,
> -                       "unable to enable clock for unmasking IRQ\n");
> -               return;
> -       }
> -
>         raw_spin_lock_irqsave(&bank->slock, flags);
>
>         mask = readl(bank->eint_base + reg_mask);
> @@ -147,8 +124,6 @@ static void exynos_irq_unmask(struct irq_data *irqd)
>         writel(mask, bank->eint_base + reg_mask);
>
>         raw_spin_unlock_irqrestore(&bank->slock, flags);
> -
> -       clk_disable(bank->drvdata->pclk);
>  }
>
>  static int exynos_irq_set_type(struct irq_data *irqd, unsigned int type)
> @@ -159,7 +134,6 @@ static int exynos_irq_set_type(struct irq_data *irqd, unsigned int type)
>         unsigned int shift = EXYNOS_EINT_CON_LEN * irqd->hwirq;
>         unsigned int con, trig_type;
>         unsigned long reg_con;
> -       int ret;
>
>         switch (type) {
>         case IRQ_TYPE_EDGE_RISING:
> @@ -192,20 +166,11 @@ static int exynos_irq_set_type(struct irq_data *irqd, unsigned int type)
>         else
>                 reg_con = our_chip->eint_con + bank->eint_offset;
>
> -       ret = clk_enable(bank->drvdata->pclk);
> -       if (ret) {
> -               dev_err(bank->gpio_chip.parent,
> -                       "unable to enable clock for configuring IRQ type\n");
> -               return ret;
> -       }
> -
>         con = readl(bank->eint_base + reg_con);
>         con &= ~(EXYNOS_EINT_CON_MASK << shift);
>         con |= trig_type << shift;
>         writel(con, bank->eint_base + reg_con);
>
> -       clk_disable(bank->drvdata->pclk);
> -
>         return 0;
>  }
>
> @@ -242,14 +207,6 @@ static int exynos_irq_request_resources(struct irq_data *irqd)
>         shift = irqd->hwirq * bank_type->fld_width[PINCFG_TYPE_FUNC];
>         mask = (1 << bank_type->fld_width[PINCFG_TYPE_FUNC]) - 1;
>
> -       ret = clk_enable(bank->drvdata->pclk);
> -       if (ret) {
> -               dev_err(bank->gpio_chip.parent,
> -                       "unable to enable clock for configuring pin %s-%lu\n",
> -                       bank->name, irqd->hwirq);
> -               return ret;
> -       }
> -
>         raw_spin_lock_irqsave(&bank->slock, flags);
>
>         con = readl(bank->pctl_base + reg_con);
> @@ -259,8 +216,6 @@ static int exynos_irq_request_resources(struct irq_data *irqd)
>
>         raw_spin_unlock_irqrestore(&bank->slock, flags);
>
> -       clk_disable(bank->drvdata->pclk);
> -
>         return 0;
>  }
>
> @@ -275,13 +230,6 @@ static void exynos_irq_release_resources(struct irq_data *irqd)
>         shift = irqd->hwirq * bank_type->fld_width[PINCFG_TYPE_FUNC];
>         mask = (1 << bank_type->fld_width[PINCFG_TYPE_FUNC]) - 1;
>
> -       if (clk_enable(bank->drvdata->pclk)) {
> -               dev_err(bank->gpio_chip.parent,
> -                       "unable to enable clock for deconfiguring pin %s-%lu\n",
> -                       bank->name, irqd->hwirq);
> -               return;
> -       }
> -
>         raw_spin_lock_irqsave(&bank->slock, flags);
>
>         con = readl(bank->pctl_base + reg_con);
> @@ -291,8 +239,6 @@ static void exynos_irq_release_resources(struct irq_data *irqd)
>
>         raw_spin_unlock_irqrestore(&bank->slock, flags);
>
> -       clk_disable(bank->drvdata->pclk);
> -
>         gpiochip_unlock_as_irq(&bank->gpio_chip, irqd->hwirq);
>  }
>
> @@ -342,19 +288,11 @@ static irqreturn_t exynos_eint_gpio_irq(int irq, void *data)
>         unsigned int svc, group, pin;
>         int ret;
>
> -       if (clk_enable(bank->drvdata->pclk)) {
> -               dev_err(bank->gpio_chip.parent,
> -                       "unable to enable clock for handling IRQ\n");
> -               return IRQ_NONE;
> -       }
> -
>         if (bank->eint_con_offset)
>                 svc = readl(bank->eint_base + EXYNOSAUTO_SVC_OFFSET);
>         else
>                 svc = readl(bank->eint_base + EXYNOS_SVC_OFFSET);
>
> -       clk_disable(bank->drvdata->pclk);
> -
>         group = EXYNOS_SVC_GROUP(svc);
>         pin = svc & EXYNOS_SVC_NUM_MASK;
>
> @@ -729,20 +667,6 @@ static void exynos_irq_demux_eint16_31(struct irq_desc *desc)
>
>         chained_irq_enter(chip, desc);
>
> -       /*
> -        * just enable the clock once here, to avoid an enable/disable dance for
> -        * each bank.
> -        */
> -       if (eintd->nr_banks) {
> -               struct samsung_pin_bank *b = eintd->banks[0];
> -
> -               if (clk_enable(b->drvdata->pclk)) {
> -                       dev_err(b->gpio_chip.parent,
> -                               "unable to enable clock for pending IRQs\n");
> -                       goto out;
> -               }
> -       }
> -
>         for (i = 0; i < eintd->nr_banks; ++i) {
>                 struct samsung_pin_bank *b = eintd->banks[i];
>                 pend = readl(b->eint_base + b->irq_chip->eint_pend
> @@ -752,10 +676,6 @@ static void exynos_irq_demux_eint16_31(struct irq_desc *desc)
>                 exynos_irq_demux_eint(pend & ~mask, b->irq_domain);
>         }
>
> -       if (eintd->nr_banks)
> -               clk_disable(eintd->banks[0]->drvdata->pclk);
> -
> -out:
>         chained_irq_exit(chip, desc);
>  }
>
> diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.c b/drivers/pinctrl/samsung/pinctrl-samsung.c
> index 0c91e1124a46..16980f4ef3b1 100644
> --- a/drivers/pinctrl/samsung/pinctrl-samsung.c
> +++ b/drivers/pinctrl/samsung/pinctrl-samsung.c
> @@ -370,8 +370,8 @@ static void pin_to_reg_bank(struct samsung_pinctrl_drv_data *drvdata,
>  }
>
>  /* enable or disable a pinmux function */
> -static int samsung_pinmux_setup(struct pinctrl_dev *pctldev, unsigned selector,
> -                               unsigned group)
> +static void samsung_pinmux_setup(struct pinctrl_dev *pctldev,
> +                                unsigned int selector, unsigned int group)
>  {
>         struct samsung_pinctrl_drv_data *drvdata;
>         const struct samsung_pin_bank_type *type;
> @@ -381,7 +381,6 @@ static int samsung_pinmux_setup(struct pinctrl_dev *pctldev, unsigned selector,
>         unsigned long flags;
>         const struct samsung_pmx_func *func;
>         const struct samsung_pin_group *grp;
> -       int ret;
>
>         drvdata = pinctrl_dev_get_drvdata(pctldev);
>         func = &drvdata->pmx_functions[selector];
> @@ -397,12 +396,6 @@ static int samsung_pinmux_setup(struct pinctrl_dev *pctldev, unsigned selector,
>                 reg += 4;
>         }
>
> -       ret = clk_enable(drvdata->pclk);
> -       if (ret) {
> -               dev_err(pctldev->dev, "failed to enable clock for setup\n");
> -               return ret;
> -       }
> -
>         raw_spin_lock_irqsave(&bank->slock, flags);
>
>         data = readl(reg + type->reg_offset[PINCFG_TYPE_FUNC]);
> @@ -411,10 +404,6 @@ static int samsung_pinmux_setup(struct pinctrl_dev *pctldev, unsigned selector,
>         writel(data, reg + type->reg_offset[PINCFG_TYPE_FUNC]);
>
>         raw_spin_unlock_irqrestore(&bank->slock, flags);
> -
> -       clk_disable(drvdata->pclk);
> -
> -       return 0;
>  }
>
>  /* enable a specified pinmux by writing to registers */
> @@ -422,7 +411,8 @@ static int samsung_pinmux_set_mux(struct pinctrl_dev *pctldev,
>                                   unsigned selector,
>                                   unsigned group)
>  {
> -       return samsung_pinmux_setup(pctldev, selector, group);
> +       samsung_pinmux_setup(pctldev, selector, group);
> +       return 0;
>  }
>
>  /* list of pinmux callbacks for the pinmux vertical in pinctrl core */
> @@ -445,7 +435,6 @@ static int samsung_pinconf_rw(struct pinctrl_dev *pctldev, unsigned int pin,
>         u32 data, width, pin_offset, mask, shift;
>         u32 cfg_value, cfg_reg;
>         unsigned long flags;
> -       int ret;
>
>         drvdata = pinctrl_dev_get_drvdata(pctldev);
>         pin_to_reg_bank(drvdata, pin, &reg_base, &pin_offset, &bank);
> @@ -457,12 +446,6 @@ static int samsung_pinconf_rw(struct pinctrl_dev *pctldev, unsigned int pin,
>         width = type->fld_width[cfg_type];
>         cfg_reg = type->reg_offset[cfg_type];
>
> -       ret = clk_enable(drvdata->pclk);
> -       if (ret) {
> -               dev_err(drvdata->dev, "failed to enable clock\n");
> -               return ret;
> -       }
> -
>         raw_spin_lock_irqsave(&bank->slock, flags);
>
>         mask = (1 << width) - 1;
> @@ -482,8 +465,6 @@ static int samsung_pinconf_rw(struct pinctrl_dev *pctldev, unsigned int pin,
>
>         raw_spin_unlock_irqrestore(&bank->slock, flags);
>
> -       clk_disable(drvdata->pclk);
> -
>         return 0;
>  }
>
> @@ -574,22 +555,12 @@ static int samsung_gpio_set(struct gpio_chip *gc, unsigned int offset,
>                             int value)
>  {
>         struct samsung_pin_bank *bank = gpiochip_get_data(gc);
> -       struct samsung_pinctrl_drv_data *drvdata = bank->drvdata;
>         unsigned long flags;
> -       int ret;
> -
> -       ret = clk_enable(drvdata->pclk);
> -       if (ret) {
> -               dev_err(drvdata->dev, "failed to enable clock\n");
> -               return ret;
> -       }
>
>         raw_spin_lock_irqsave(&bank->slock, flags);
>         samsung_gpio_set_value(gc, offset, value);
>         raw_spin_unlock_irqrestore(&bank->slock, flags);
>
> -       clk_disable(drvdata->pclk);
> -
>         return 0;
>  }
>
> @@ -600,23 +571,13 @@ static int samsung_gpio_get(struct gpio_chip *gc, unsigned offset)
>         u32 data;
>         struct samsung_pin_bank *bank = gpiochip_get_data(gc);
>         const struct samsung_pin_bank_type *type = bank->type;
> -       struct samsung_pinctrl_drv_data *drvdata = bank->drvdata;
> -       int ret;
>
>         reg = bank->pctl_base + bank->pctl_offset;
>
> -       ret = clk_enable(drvdata->pclk);
> -       if (ret) {
> -               dev_err(drvdata->dev, "failed to enable clock\n");
> -               return ret;
> -       }
> -
>         data = readl(reg + type->reg_offset[PINCFG_TYPE_DAT]);
>         data >>= offset;
>         data &= 1;
>
> -       clk_disable(drvdata->pclk);
> -
>         return data;
>  }
>
> @@ -661,22 +622,13 @@ static int samsung_gpio_set_direction(struct gpio_chip *gc,
>  static int samsung_gpio_direction_input(struct gpio_chip *gc, unsigned offset)
>  {
>         struct samsung_pin_bank *bank = gpiochip_get_data(gc);
> -       struct samsung_pinctrl_drv_data *drvdata = bank->drvdata;
>         unsigned long flags;
>         int ret;
>
> -       ret = clk_enable(drvdata->pclk);
> -       if (ret) {
> -               dev_err(drvdata->dev, "failed to enable clock\n");
> -               return ret;
> -       }
> -
>         raw_spin_lock_irqsave(&bank->slock, flags);
>         ret = samsung_gpio_set_direction(gc, offset, true);
>         raw_spin_unlock_irqrestore(&bank->slock, flags);
>
> -       clk_disable(drvdata->pclk);
> -
>         return ret;
>  }
>
> @@ -685,23 +637,14 @@ static int samsung_gpio_direction_output(struct gpio_chip *gc, unsigned offset,
>                                                         int value)
>  {
>         struct samsung_pin_bank *bank = gpiochip_get_data(gc);
> -       struct samsung_pinctrl_drv_data *drvdata = bank->drvdata;
>         unsigned long flags;
>         int ret;
>
> -       ret = clk_enable(drvdata->pclk);
> -       if (ret) {
> -               dev_err(drvdata->dev, "failed to enable clock\n");
> -               return ret;
> -       }
> -
>         raw_spin_lock_irqsave(&bank->slock, flags);
>         samsung_gpio_set_value(gc, offset, value);
>         ret = samsung_gpio_set_direction(gc, offset, false);
>         raw_spin_unlock_irqrestore(&bank->slock, flags);
>
> -       clk_disable(drvdata->pclk);
> -
>         return ret;
>  }
>
> @@ -1028,7 +971,6 @@ static int samsung_gpio_set_config(struct gpio_chip *gc, unsigned int offset,
>         struct samsung_pin_bank *bank = gpiochip_get_data(gc);
>         struct samsung_pinctrl_drv_data *drvdata = bank->drvdata;
>         unsigned int value;
> -       int ret = 0;
>         unsigned long flags;
>
>         switch (pinconf_to_config_param(config)) {
> @@ -1045,19 +987,11 @@ static int samsung_gpio_set_config(struct gpio_chip *gc, unsigned int offset,
>                 return -ENOTSUPP;
>         }
>
> -       ret = clk_enable(drvdata->pclk);
> -       if (ret) {
> -               dev_err(drvdata->dev, "failed to enable clock\n");
> -               return ret;
> -       }
> -
>         raw_spin_lock_irqsave(&bank->slock, flags);
>         samsung_gpio_set_pud(gc, offset, value);
>         raw_spin_unlock_irqrestore(&bank->slock, flags);
>
> -       clk_disable(drvdata->pclk);
> -
> -       return ret;
> +       return 0;
>  }
>
>  static const struct gpio_chip samsung_gpiolib_chip = {
> @@ -1257,6 +1191,7 @@ static int samsung_pinctrl_probe(struct platform_device *pdev)
>         struct samsung_pinctrl_drv_data *drvdata;
>         const struct samsung_pin_ctrl *ctrl;
>         struct device *dev = &pdev->dev;
> +       struct clk *pclk;
>         int ret;
>
>         drvdata = devm_kzalloc_obj(dev, *drvdata);
> @@ -1285,9 +1220,9 @@ static int samsung_pinctrl_probe(struct platform_device *pdev)
>                 }
>         }
>
> -       drvdata->pclk = devm_clk_get_optional_prepared(dev, "pclk");
> -       if (IS_ERR(drvdata->pclk)) {
> -               ret = PTR_ERR(drvdata->pclk);
> +       pclk = devm_clk_get_optional_enabled(dev, "pclk");
> +       if (IS_ERR(pclk)) {
> +               ret = PTR_ERR(pclk);
>                 goto err_put_banks;
>         }
>
> @@ -1335,13 +1270,6 @@ static int __maybe_unused samsung_pinctrl_suspend(struct device *dev)
>         struct samsung_pin_bank *bank;
>         int i;
>
> -       i = clk_enable(drvdata->pclk);
> -       if (i) {
> -               dev_err(drvdata->dev,
> -                       "failed to enable clock for saving state\n");
> -               return i;
> -       }
> -
>         for (i = 0; i < drvdata->nr_banks; i++) {
>                 bank = &drvdata->pin_banks[i];
>                 const void __iomem *reg = bank->pctl_base + bank->pctl_offset;
> @@ -1377,8 +1305,6 @@ static int __maybe_unused samsung_pinctrl_suspend(struct device *dev)
>                         drvdata->suspend(bank);
>         }
>
> -       clk_disable(drvdata->pclk);
> -
>         if (drvdata->retention_ctrl && drvdata->retention_ctrl->enable)
>                 drvdata->retention_ctrl->enable(drvdata);
>
> @@ -1397,20 +1323,8 @@ static int __maybe_unused samsung_pinctrl_resume(struct device *dev)
>  {
>         struct samsung_pinctrl_drv_data *drvdata = dev_get_drvdata(dev);
>         struct samsung_pin_bank *bank;
> -       int ret;
>         int i;
>
> -       /*
> -        * enable clock before the callback, as we don't want to have to deal
> -        * with callback cleanup on clock failures.
> -        */
> -       ret = clk_enable(drvdata->pclk);
> -       if (ret) {
> -               dev_err(drvdata->dev,
> -                       "failed to enable clock for restoring state\n");
> -               return ret;
> -       }
> -
>         for (i = 0; i < drvdata->nr_banks; i++) {
>                 bank = &drvdata->pin_banks[i];
>                 if (drvdata->resume)
> @@ -1448,8 +1362,6 @@ static int __maybe_unused samsung_pinctrl_resume(struct device *dev)
>                                 writel(bank->pm_save[type], reg + offs[type]);
>         }
>
> -       clk_disable(drvdata->pclk);
> -
>         if (drvdata->retention_ctrl && drvdata->retention_ctrl->disable)
>                 drvdata->retention_ctrl->disable(drvdata);
>
> diff --git a/drivers/pinctrl/samsung/pinctrl-samsung.h b/drivers/pinctrl/samsung/pinctrl-samsung.h
> index 7c60375d5924..5390c6d1d7a5 100644
> --- a/drivers/pinctrl/samsung/pinctrl-samsung.h
> +++ b/drivers/pinctrl/samsung/pinctrl-samsung.h
> @@ -302,7 +302,6 @@ struct samsung_pin_ctrl {
>   *             through samsung_pinctrl_drv_data, not samsung_pin_bank).
>   * @dev: device instance representing the controller.
>   * @irq: interrpt number used by the controller to notify gpio interrupts.
> - * @pclk: optional bus clock if required for accessing registers
>   * @ctrl: pin controller instance managed by the driver.
>   * @pctl: pin controller descriptor registered with the pinctrl subsystem.
>   * @pctl_dev: cookie representing pinctrl device instance.
> @@ -322,7 +321,6 @@ struct samsung_pinctrl_drv_data {
>         void __iomem                    *virt_base;
>         struct device                   *dev;
>         int                             irq;
> -       struct clk                      *pclk;
>
>         struct pinctrl_desc             pctl;
>         struct pinctrl_dev              *pctl_dev;
>
> ---
> base-commit: 749a4de370409464cf8501ec5b2451df45c84eb4
> change-id: 20261123-samsung-pinctrl-busclk-7211f2c20f58
>
> Best regards,
> --
> André Draszik <andre.draszik at linaro.org>
>



More information about the linux-arm-kernel mailing list