Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1355583lqj; Mon, 3 Jun 2024 20:57:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkSXdhqyJv17R2LVJK18Z81c9rNNkK/r5hZKgTLCpRN0hqwBpiFMwEgnj72W7zQ670hFqceIH1Hdtro/VzEgt10TuHME1jXX79JCPoQg== X-Google-Smtp-Source: AGHT+IE9If2T3/vSW0DCZZrQf9rfKEltB4Muhazpakr+SO+EyzAd8qaAI8Qob1GweiqXmUIOxx2Q X-Received: by 2002:ac8:7f49:0:b0:43a:f936:3ce7 with SMTP id d75a77b69052e-43ff52b4d77mr120110521cf.53.1717473458182; Mon, 03 Jun 2024 20:57:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717473458; cv=pass; d=google.com; s=arc-20160816; b=WXc26JiH2Sf5xKsAxmBOV+4M3ky598v4EHgmuqgMzNHnEPp+wHyeTZ09fYf/7jINWn bHwIii0Mg1xrlQMaZbEw35/JV0pKvG08dTbA3SfY4k+/VXur0VFcKLKaiKYvFDxTvOzu bbD27RG+3O6NMZl59v30f5bJ9ny8NbnNAjS9ZOZk4oJUhDGOwivhFal5QYe5VOjwU9ZA 1JTe8aUwKL1Ya2HQRFwae4cqQW+XUyV6yFVazOY9DVmojNnGz+uKSK8Jwb6w7eBD6LVZ gywB2dYS+Uus1EUEkVlUl2+X5KWG4+uAR+lBEQfXzZUt0Z+F6gpxKzQje4/76kj58kht 5F6w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=sDw463836VXxjFEssZxkzySa5xdge6xhhv/M+Qec16I=; fh=Tize9VAbOIM3ohJ80/1oECuLMApPTvjUCr6FAOzgq1Y=; b=Qj1GPRYhkNnwjsOTf6BkAKOD0KNbAdtJetLDo9iq34yYSh7WFhFS9CCkTkCcyplulN w8+r0J9lpV9cLct1NhzbPd+ZJfCq+BIdSd5CmXn8F/Gwd/fyvwKsWDhNUXR0qClIw4Ad US9DICSOEDRRs9ASfo+DR0Sw97Dp1GKttBSnDlEbFaJtyXHE1Hqz1AgcX1WPuSwPmyDx /JWDlDiomA+T3gLMaFzbdPS+e3f/klsdE0K7h0DKZnCTyUQzccKp9N6YYVbwd881MEYC JfpqSvnhFvu4Gt+oSXb4TaT9lAPxZUbTljtuJ8uJOMzNAw4yjPqIm5skRzVdhYmEiLai yf/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Za411B2j; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-199991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43ff2468b53si2067831cf.292.2024.06.03.20.57.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 20:57:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Za411B2j; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-199991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id D58B11C23592 for ; Tue, 4 Jun 2024 03:57:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 77A7413DDA4; Tue, 4 Jun 2024 03:57:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Za411B2j" Received: from mail-il1-f175.google.com (mail-il1-f175.google.com [209.85.166.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 80E0613DB9F; Tue, 4 Jun 2024 03:57:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717473441; cv=none; b=gezMKJVVTUlONR7uzgVa5Xdkr5hgdxl5W327wnJ52LiM1Qp2pyvQL8GClgZeZ3Xv4tWGxsNGL8n5jAn2jC6e1+AfJ16JaewqTiWXFh2U/bHP+6hsppp2TOGlR4jwmiKaGu0y1DYhYmtQRpyEiXSolf6H3KER1lJySLIyukFPduE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717473441; c=relaxed/simple; bh=UMFaQHIGOcCk2JsX+HFbn+3z235Z8FarTMQKUt5Qxwc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=qOXwQO06XXsXgu7wn7UkUC7hQ21SBMGQfYubJycEbBhWHYMZkrXS/ZMGy14qKcb9nqBr/4tJIVipAAkFQ4t4hTxU5frfrWy2cq/n6todZL5Ay8MvG5gQYhlh9xFuDeExUd8TuKsHNdwFR6h/tT6UI8FvMjz9q84H6GXKWpocpOE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Za411B2j; arc=none smtp.client-ip=209.85.166.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-il1-f175.google.com with SMTP id e9e14a558f8ab-36ddf683ad7so21504845ab.2; Mon, 03 Jun 2024 20:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717473439; x=1718078239; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=sDw463836VXxjFEssZxkzySa5xdge6xhhv/M+Qec16I=; b=Za411B2jTS5MzNl8HC2R/lLdQBEhvSD5ZuUwwOg3sWoS2Bs4+s38NTffxB6PR2CdFl NY4ITaSaLzix+kehlbRrLfAN5O6a8sd4m4hfxigEVpNUAmVR/RImaiLPnLo0F6w2jD13 8FJoROINXcaPe3sJ7o40U62Vt7xA7EhIvj2m3UfP84lvzNVQ0HEmFYEYbqTCi0pN68pf vh39hhrTmWlWJ7A6yny1f0Uz+PMl6b9HTkNoaqt+Ul8sZATXfzJWdGg3ta8GAPpki5z1 rmLiVnx3Y4iLtSQM1Kuxqkd2asYAFDgYUvy4U0M0Q+ld5IV2hCZu2VFCCEC6XXk5m46z MaOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717473439; x=1718078239; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sDw463836VXxjFEssZxkzySa5xdge6xhhv/M+Qec16I=; b=bRmkm7PtMHigdEiTA++Iz9mjJrhc/S+07Bhubv39NXc8421uAzQgfUuFwWQzLFatgS fT/Fnl9MBI1A0VHRpT//QhnLQpKf0nO7R37ivaIqZzMJuu+2N4M+4m0LE7ermeMAZliB i8h5oJb2C6C62Ftc4+ZMuJ2ENO9kidU/5E6sQvOxi+9GEjRFEUso9W7sRseViV4uqArs QRd/cpCt/pTj/mn53VnCJrsTa2kKgg2YiTIYrQhqFEtAzlqfHCRo8Y2QzfEZKg07ZSiV J9f8EuW6jg+XXiVVete3GNwSGVjqP8dEg2XYByYsWzmHCgh5IoWlzXh0tOBXJfc8BACF DrUg== X-Forwarded-Encrypted: i=1; AJvYcCWcjReaZzVg4jvACr6TsmB66kQYVzlCISsO9l50KxeSl1tFwvYr8G5mRLHLkJOZGWS7opqKgLl9aAV9CxS3K3b9nFQVS7Z4ov1QT8DQVj1zzZP8ewEom6C1nnDtXQp5LMC1zBafLbIQ2SkmNm4TLhZ01TpsoVOF/y0G10KNaNCdoOG26w== X-Gm-Message-State: AOJu0YwdYqdjc1m7cUq/fpYDqgI/OPzHcAly96hiNioPU4zuauy9yIxU KQQ5iKg7z+lH77VhZfvXJUdp/HOUcM463qqpvXrpKCkmWMrTHXu+jrjxtrTDpQc37irLmeNoSKX 86YOqZFnGzoZWlItlPdFtbZh2cPU= X-Received: by 2002:a05:6e02:2165:b0:374:99df:1da2 with SMTP id e9e14a558f8ab-37499df20b9mr66313035ab.18.1717473438578; Mon, 03 Jun 2024 20:57:18 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <1717036278-3515-1-git-send-email-shengjiu.wang@nxp.com> <1717036278-3515-4-git-send-email-shengjiu.wang@nxp.com> <20240530090558.53reobf2zea22oi2@pengutronix.de> In-Reply-To: <20240530090558.53reobf2zea22oi2@pengutronix.de> From: Shengjiu Wang Date: Tue, 4 Jun 2024 11:57:07 +0800 Message-ID: Subject: Re: [PATCH v6 3/5] reset: imx-aux: Add i.MX auxiliary reset driver To: Marco Felsch Cc: Shengjiu Wang , p.zabel@pengutronix.de, abelvesa@kernel.org, peng.fan@nxp.com, mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, marex@denx.de, linux-clk@vger.kernel.org, imx@lists.linux.dev, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, May 30, 2024 at 5:06=E2=80=AFPM Marco Felsch wrote: > > Hi, > > On 24-05-30, Shengjiu Wang wrote: > > Add support for the resets on i.MX8MP Audio Block Control module, > > which includes the EARC PHY software reset and EARC controller > > software reset. The reset controller is created using the auxiliary > > device framework and set up in the clock driver. > > > > Signed-off-by: Shengjiu Wang > > --- > > drivers/reset/Kconfig | 8 ++ > > drivers/reset/Makefile | 1 + > > drivers/reset/reset-imx-aux.c | 217 ++++++++++++++++++++++++++++++++++ > ^ > You make use of the auxiliary bus but this isn't a aux driver, it's the > i.MX8MP EARC reset driver. According the TRM only the EARC reset bits > are covered by the AUDIOMIX blk-ctrl. I am confused. According to below discussion: https://lore.kernel.org/lkml/b86c83a520f0c45a60249468fa92b1de.sboyd@kernel.= org/ Stephen and Conor suggested using auxdev. Best regards Shengjiu Wang > > > 3 files changed, 226 insertions(+) > > create mode 100644 drivers/reset/reset-imx-aux.c > > > > diff --git a/drivers/reset/Kconfig b/drivers/reset/Kconfig > > index 7112f5932609..38fdf05b326b 100644 > > --- a/drivers/reset/Kconfig > > +++ b/drivers/reset/Kconfig > > @@ -91,6 +91,14 @@ config RESET_IMX7 > > help > > This enables the reset controller driver for i.MX7 SoCs. > > > > +config RESET_IMX_AUX > > + tristate "i.MX Auxiliary Reset Driver" > ^ > Same applies here > > > + depends on CLK_IMX8MP > > + select AUXILIARY_BUS > > + default CLK_IMX8MP > > + help > > + This enables the auxiliary reset controller driver for i.MX. > > + > > config RESET_INTEL_GW > > bool "Intel Reset Controller Driver" > > depends on X86 || COMPILE_TEST > > diff --git a/drivers/reset/Makefile b/drivers/reset/Makefile > > index fd8b49fa46fc..f078da14c327 100644 > > --- a/drivers/reset/Makefile > > +++ b/drivers/reset/Makefile > > @@ -14,6 +14,7 @@ obj-$(CONFIG_RESET_BRCMSTB_RESCAL) +=3D reset-brcmstb= -rescal.o > > obj-$(CONFIG_RESET_GPIO) +=3D reset-gpio.o > > obj-$(CONFIG_RESET_HSDK) +=3D reset-hsdk.o > > obj-$(CONFIG_RESET_IMX7) +=3D reset-imx7.o > > +obj-$(CONFIG_RESET_IMX_AUX) +=3D reset-imx-aux.o > > obj-$(CONFIG_RESET_INTEL_GW) +=3D reset-intel-gw.o > > obj-$(CONFIG_RESET_K210) +=3D reset-k210.o > > obj-$(CONFIG_RESET_LANTIQ) +=3D reset-lantiq.o > > diff --git a/drivers/reset/reset-imx-aux.c b/drivers/reset/reset-imx-au= x.c > > new file mode 100644 > > index 000000000000..61c353abc84e > > --- /dev/null > > +++ b/drivers/reset/reset-imx-aux.c > > @@ -0,0 +1,217 @@ > > +// SPDX-License-Identifier: GPL-2.0-or-later > > +/* > > + * Copyright 2024 NXP > > + */ > > + > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > + > > +/* > > + * The reset does not support the feature and corresponding > > + * values are not valid > > + */ > > +#define ASSERT_NONE BIT(0) > > +#define DEASSERT_NONE BIT(1) > > +#define STATUS_NONE BIT(2) > > + > > +/* When set this function is activated by setting(vs clearing) this bi= t */ > > +#define ASSERT_SET BIT(3) > > +#define DEASSERT_SET BIT(4) > > +#define STATUS_SET BIT(5) > > + > > +/* The following are the inverse of the above and are added for consis= tency */ > > +#define ASSERT_CLEAR (0 << 3) > > +#define DEASSERT_CLEAR (0 << 4) > > +#define STATUS_CLEAR (0 << 5) > > + > > +/** > > + * struct imx_reset_ctrl - reset control structure > > + * @assert_offset: reset assert control register offset > > + * @assert_bit: reset assert bit in the reset assert control register > > + * @deassert_offset: reset deassert control register offset > > + * @deassert_bit: reset deassert bit in the reset deassert control reg= ister > > + * @status_offset: reset status register offset > > + * @status_bit: reset status bit in the reset status register > > + * @flags: reset flag indicating how the (de)assert and status are han= dled > > + */ > > +struct imx_reset_ctrl { > > + u32 assert_offset; > > + u32 assert_bit; > > + u32 deassert_offset; > > + u32 deassert_bit; > > + u32 status_offset; > > + u32 status_bit; > > + u32 flags; > > +}; > > Why do we make it this compicated for an simple EARC module reset? I > understand that you want to provide a generic driver which can be > re-used but there is actual no other user and may will get no other user > in the future too. Therefore I would like to keep it simple at the > begin and adapt the code on-demand. > > Regards, > Marco > > > +struct imx_reset_data { > > + const struct imx_reset_ctrl *rst_ctrl; > > + size_t rst_ctrl_num; > > +}; > > + > > +struct imx_aux_reset_priv { > > + struct reset_controller_dev rcdev; > > + void __iomem *base; > > + const struct imx_reset_data *data; > > +}; > > + > > +static int imx_aux_reset_assert(struct reset_controller_dev *rcdev, > > + unsigned long id) > > +{ > > + struct imx_aux_reset_priv *priv =3D container_of(rcdev, > > + struct imx_aux_reset_priv, rcdev)= ; > > + const struct imx_reset_data *data =3D priv->data; > > + void __iomem *reg_addr =3D priv->base; > > + const struct imx_reset_ctrl *ctrl; > > + unsigned int mask, value, reg; > > + > > + if (id >=3D data->rst_ctrl_num) > > + return -EINVAL; > > + > > + ctrl =3D &data->rst_ctrl[id]; > > + > > + /* assert not supported for this reset */ > > + if (ctrl->flags & ASSERT_NONE) > > + return -EOPNOTSUPP; > > + > > + mask =3D BIT(ctrl->assert_bit); > > + value =3D (ctrl->flags & ASSERT_SET) ? mask : 0x0; > > + > > + reg =3D readl(reg_addr + ctrl->assert_offset); > > + writel(reg | value, reg_addr + ctrl->assert_offset); > > + > > + return 0; > > +} > > + > > +static int imx_aux_reset_deassert(struct reset_controller_dev *rcdev, > > + unsigned long id) > > +{ > > + struct imx_aux_reset_priv *priv =3D container_of(rcdev, > > + struct imx_aux_reset_priv, rcdev)= ; > > + const struct imx_reset_data *data =3D priv->data; > > + void __iomem *reg_addr =3D priv->base; > > + const struct imx_reset_ctrl *ctrl; > > + unsigned int mask, value, reg; > > + > > + if (id >=3D data->rst_ctrl_num) > > + return -EINVAL; > > + > > + ctrl =3D &data->rst_ctrl[id]; > > + > > + /* deassert not supported for this reset */ > > + if (ctrl->flags & DEASSERT_NONE) > > + return -EOPNOTSUPP; > > + > > + mask =3D BIT(ctrl->deassert_bit); > > + value =3D (ctrl->flags & DEASSERT_SET) ? mask : 0x0; > > + > > + reg =3D readl(reg_addr + ctrl->deassert_offset); > > + writel(reg | value, reg_addr + ctrl->deassert_offset); > > + > > + return 0; > > +} > > + > > +static int imx_aux_reset_status(struct reset_controller_dev *rcdev, > > + unsigned long id) > > +{ > > + struct imx_aux_reset_priv *priv =3D container_of(rcdev, > > + struct imx_aux_reset_priv, rcdev)= ; > > + const struct imx_reset_data *data =3D priv->data; > > + void __iomem *reg_addr =3D priv->base; > > + const struct imx_reset_ctrl *ctrl; > > + unsigned int reset_state; > > + > > + if (id >=3D data->rst_ctrl_num) > > + return -EINVAL; > > + > > + ctrl =3D &data->rst_ctrl[id]; > > + > > + /* status not supported for this reset */ > > + if (ctrl->flags & STATUS_NONE) > > + return -EOPNOTSUPP; > > + > > + reset_state =3D readl(reg_addr + ctrl->status_offset); > > + > > + return !(reset_state & BIT(ctrl->status_bit)) =3D=3D > > + !(ctrl->flags & STATUS_SET); > > +} > > + > > +static const struct reset_control_ops imx_aux_reset_ops =3D { > > + .assert =3D imx_aux_reset_assert, > > + .deassert =3D imx_aux_reset_deassert, > > + .status =3D imx_aux_reset_status, > > +}; > > + > > +static int imx_aux_reset_probe(struct auxiliary_device *adev, > > + const struct auxiliary_device_id *id) > > +{ > > + struct imx_reset_data *data =3D (struct imx_reset_data *)(id->dri= ver_data); > > + struct imx_aux_reset_priv *priv; > > + struct device *dev =3D &adev->dev; > > + > > + priv =3D devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); > > + if (!priv) > > + return -ENOMEM; > > + > > + priv->rcdev.owner =3D THIS_MODULE; > > + priv->rcdev.nr_resets =3D data->rst_ctrl_num; > > + priv->rcdev.ops =3D &imx_aux_reset_ops; > > + priv->rcdev.of_node =3D dev->parent->of_node; > > + priv->rcdev.dev =3D dev; > > + priv->rcdev.of_reset_n_cells =3D 1; > > + priv->base =3D of_iomap(dev->parent->of_node, 0); > > + priv->data =3D data; > > + > > + return devm_reset_controller_register(dev, &priv->rcdev); > > +} > > + > > +#define EARC 0x200 > > + > > +static const struct imx_reset_ctrl imx8mp_audiomix_rst_ctrl[] =3D { > > + { > > + .assert_offset =3D EARC, > > + .assert_bit =3D 0, > > + .deassert_offset =3D EARC, > > + .deassert_bit =3D 0, > > + .flags =3D ASSERT_CLEAR | DEASSERT_SET | STATUS_NONE, > > + }, > > + { > > + .assert_offset =3D EARC, > > + .assert_bit =3D 1, > > + .deassert_offset =3D EARC, > > + .deassert_bit =3D 1, > > + .flags =3D ASSERT_CLEAR | DEASSERT_SET | STATUS_NONE, > > + }, > > +}; > > + > > +static const struct imx_reset_data imx8mp_audiomix_rst_data =3D { > > + .rst_ctrl =3D imx8mp_audiomix_rst_ctrl, > > + .rst_ctrl_num =3D ARRAY_SIZE(imx8mp_audiomix_rst_ctrl), > > +}; > > + > > +static const struct auxiliary_device_id imx_aux_reset_ids[] =3D { > > + { > > + .name =3D "clk_imx8mp_audiomix.reset", > > + .driver_data =3D (kernel_ulong_t)&imx8mp_audiomix_rst_dat= a, > > + }, > > + { } > > +}; > > +MODULE_DEVICE_TABLE(auxiliary, imx_aux_reset_ids); > > + > > +static struct auxiliary_driver imx_aux_reset_driver =3D { > > + .probe =3D imx_aux_reset_probe, > > + .id_table =3D imx_aux_reset_ids, > > +}; > > + > > +module_auxiliary_driver(imx_aux_reset_driver); > > + > > +MODULE_AUTHOR("Shengjiu Wang "); > > +MODULE_DESCRIPTION("Freescale i.MX auxiliary reset driver"); > > +MODULE_LICENSE("GPL"); > > -- > > 2.34.1 > > > > > >