From: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Wadim Egorov <w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org,
zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
mark.rutland-5wv7dgnIgG8@public.gmane.org,
lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
a.zummo-BfzFCNDTiLLj+vYz1yj4TQ@public.gmane.org,
alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org
Subject: Re: [PATCH v7 1/4] mfd: RK808: Add RK818 support
Date: Fri, 19 Aug 2016 09:33:36 +0100 [thread overview]
Message-ID: <20160819083336.GI4254@dell> (raw)
In-Reply-To: <57B6A4D1.20108-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>
On Fri, 19 Aug 2016, Wadim Egorov wrote:
> On 18.08.2016 16:34, Lee Jones wrote:
> > On Wed, 10 Aug 2016, Wadim Egorov wrote:
> >
> >> The RK818 chip is a Power Management IC (PMIC) for multimedia and handheld
> >> devices. It contains the following components:
> >>
> >> - Regulators
> >> - RTC
> >> - Clocking
> >> - Battery support
> >>
> >> Both RK808 and RK818 chips are using a similar register map,
> >> so we can reuse the RTC and Clocking functionality.
> >>
> >> Signed-off-by: Wadim Egorov <w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>
> >> Tested-by: Andy Yan <andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
> >> ---
> >> Changes since v6:
> >> - Squashed in the patch
> >> mfd: RK808: Fetch PMIC variant from chip id register
> >>
> >> ---
> >> drivers/mfd/Kconfig | 4 +-
> >> drivers/mfd/rk808.c | 226 +++++++++++++++++++++++++++++++++++++++-------
> >> include/linux/mfd/rk808.h | 154 +++++++++++++++++++++++++++++--
> >> 3 files changed, 342 insertions(+), 42 deletions(-)
[...]
> >> struct rk808_reg_data {
> >> int addr;
> >> @@ -57,6 +62,14 @@ static bool rk808_is_volatile_reg(struct device *dev, unsigned int reg)
> >> return false;
> >> }
> >>
> >> +static const struct regmap_config rk818_regmap_config = {
> >> + .reg_bits = 8,
> >> + .val_bits = 8,
> >> + .max_register = RK818_USB_CTRL_REG,
> >> + .cache_type = REGCACHE_RBTREE,
> >> + .volatile_reg = rk808_is_volatile_reg,
> >> +};
> >> +
> >> static const struct regmap_config rk808_regmap_config = {
> >> .reg_bits = 8,
> >> .val_bits = 8,
> >> @@ -79,11 +92,21 @@ static const struct mfd_cell rk808s[] = {
> >> {
> >> .name = "rk808-rtc",
> >> .num_resources = ARRAY_SIZE(rtc_resources),
> >> - .resources = &rtc_resources[0],
> >> + .resources = rtc_resources,
> > ?
>
> you told me to change this
It's an unrelated change that has nothing to do with this patch, which
is why I am confused.
But it's okay, I'll let it sneak in on this occasion, rather than
asking you to send a separate patch.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones@linaro.org>
To: Wadim Egorov <w.egorov@phytec.de>
Cc: linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com,
devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org,
dianders@chromium.org, zyw@rock-chips.com, robh+dt@kernel.org,
mark.rutland@arm.com, lgirdwood@gmail.com, broonie@kernel.org,
a.zummo@towertech.it, alexandre.belloni@free-electrons.com
Subject: [rtc-linux] Re: [PATCH v7 1/4] mfd: RK808: Add RK818 support
Date: Fri, 19 Aug 2016 09:33:36 +0100 [thread overview]
Message-ID: <20160819083336.GI4254@dell> (raw)
In-Reply-To: <57B6A4D1.20108@phytec.de>
On Fri, 19 Aug 2016, Wadim Egorov wrote:
> On 18.08.2016 16:34, Lee Jones wrote:
> > On Wed, 10 Aug 2016, Wadim Egorov wrote:
> >
> >> The RK818 chip is a Power Management IC (PMIC) for multimedia and hand=
held
> >> devices. It contains the following components:
> >>
> >> - Regulators
> >> - RTC
> >> - Clocking
> >> - Battery support
> >>
> >> Both RK808 and RK818 chips are using a similar register map,
> >> so we can reuse the RTC and Clocking functionality.
> >>
> >> Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
> >> Tested-by: Andy Yan <andy.yan@rock-chips.com>
> >> ---
> >> Changes since v6:
> >> - Squashed in the patch
> >> mfd: RK808: Fetch PMIC variant from chip id register
> >>
> >> ---
> >> drivers/mfd/Kconfig | 4 +-
> >> drivers/mfd/rk808.c | 226 +++++++++++++++++++++++++++++++++++++=
++-------
> >> include/linux/mfd/rk808.h | 154 +++++++++++++++++++++++++++++--
> >> 3 files changed, 342 insertions(+), 42 deletions(-)
[...]
> >> struct rk808_reg_data {
> >> int addr;
> >> @@ -57,6 +62,14 @@ static bool rk808_is_volatile_reg(struct device *de=
v, unsigned int reg)
> >> return false;
> >> }
> >> =20
> >> +static const struct regmap_config rk818_regmap_config =3D {
> >> + .reg_bits =3D 8,
> >> + .val_bits =3D 8,
> >> + .max_register =3D RK818_USB_CTRL_REG,
> >> + .cache_type =3D REGCACHE_RBTREE,
> >> + .volatile_reg =3D rk808_is_volatile_reg,
> >> +};
> >> +
> >> static const struct regmap_config rk808_regmap_config =3D {
> >> .reg_bits =3D 8,
> >> .val_bits =3D 8,
> >> @@ -79,11 +92,21 @@ static const struct mfd_cell rk808s[] =3D {
> >> {
> >> .name =3D "rk808-rtc",
> >> .num_resources =3D ARRAY_SIZE(rtc_resources),
> >> - .resources =3D &rtc_resources[0],
> >> + .resources =3D rtc_resources,
> > ?
>=20
> you told me to change this
It's an unrelated change that has nothing to do with this patch, which
is why I am confused.
But it's okay, I'll let it sneak in on this occasion, rather than
asking you to send a separate patch.
--=20
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org =E2=94=82 Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--=20
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---=20
You received this message because you are subscribed to the Google Groups "=
rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones@linaro.org>
To: Wadim Egorov <w.egorov@phytec.de>
Cc: linux-kernel@vger.kernel.org, rtc-linux@googlegroups.com,
devicetree@vger.kernel.org, linux-rockchip@lists.infradead.org,
dianders@chromium.org, zyw@rock-chips.com, robh+dt@kernel.org,
mark.rutland@arm.com, lgirdwood@gmail.com, broonie@kernel.org,
a.zummo@towertech.it, alexandre.belloni@free-electrons.com
Subject: Re: [PATCH v7 1/4] mfd: RK808: Add RK818 support
Date: Fri, 19 Aug 2016 09:33:36 +0100 [thread overview]
Message-ID: <20160819083336.GI4254@dell> (raw)
In-Reply-To: <57B6A4D1.20108@phytec.de>
On Fri, 19 Aug 2016, Wadim Egorov wrote:
> On 18.08.2016 16:34, Lee Jones wrote:
> > On Wed, 10 Aug 2016, Wadim Egorov wrote:
> >
> >> The RK818 chip is a Power Management IC (PMIC) for multimedia and handheld
> >> devices. It contains the following components:
> >>
> >> - Regulators
> >> - RTC
> >> - Clocking
> >> - Battery support
> >>
> >> Both RK808 and RK818 chips are using a similar register map,
> >> so we can reuse the RTC and Clocking functionality.
> >>
> >> Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
> >> Tested-by: Andy Yan <andy.yan@rock-chips.com>
> >> ---
> >> Changes since v6:
> >> - Squashed in the patch
> >> mfd: RK808: Fetch PMIC variant from chip id register
> >>
> >> ---
> >> drivers/mfd/Kconfig | 4 +-
> >> drivers/mfd/rk808.c | 226 +++++++++++++++++++++++++++++++++++++++-------
> >> include/linux/mfd/rk808.h | 154 +++++++++++++++++++++++++++++--
> >> 3 files changed, 342 insertions(+), 42 deletions(-)
[...]
> >> struct rk808_reg_data {
> >> int addr;
> >> @@ -57,6 +62,14 @@ static bool rk808_is_volatile_reg(struct device *dev, unsigned int reg)
> >> return false;
> >> }
> >>
> >> +static const struct regmap_config rk818_regmap_config = {
> >> + .reg_bits = 8,
> >> + .val_bits = 8,
> >> + .max_register = RK818_USB_CTRL_REG,
> >> + .cache_type = REGCACHE_RBTREE,
> >> + .volatile_reg = rk808_is_volatile_reg,
> >> +};
> >> +
> >> static const struct regmap_config rk808_regmap_config = {
> >> .reg_bits = 8,
> >> .val_bits = 8,
> >> @@ -79,11 +92,21 @@ static const struct mfd_cell rk808s[] = {
> >> {
> >> .name = "rk808-rtc",
> >> .num_resources = ARRAY_SIZE(rtc_resources),
> >> - .resources = &rtc_resources[0],
> >> + .resources = rtc_resources,
> > ?
>
> you told me to change this
It's an unrelated change that has nothing to do with this patch, which
is why I am confused.
But it's okay, I'll let it sneak in on this occasion, rather than
asking you to send a separate patch.
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2016-08-19 8:33 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-10 9:05 [PATCH v7 0/4] Add support for rk818 Wadim Egorov
2016-08-10 9:05 ` Wadim Egorov
2016-08-10 9:05 ` [rtc-linux] " Wadim Egorov
[not found] ` <1470819907-11237-1-git-send-email-w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>
2016-08-10 9:05 ` [PATCH v7 1/4] mfd: RK808: Add RK818 support Wadim Egorov
2016-08-10 9:05 ` Wadim Egorov
2016-08-10 9:05 ` [rtc-linux] " Wadim Egorov
[not found] ` <1470819907-11237-2-git-send-email-w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>
2016-08-18 14:34 ` Lee Jones
2016-08-18 14:34 ` Lee Jones
2016-08-18 14:34 ` [rtc-linux] " Lee Jones
2016-08-19 6:18 ` Wadim Egorov
2016-08-19 6:18 ` Wadim Egorov
2016-08-19 6:18 ` [rtc-linux] " Wadim Egorov
[not found] ` <57B6A4D1.20108-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>
2016-08-19 8:33 ` Lee Jones [this message]
2016-08-19 8:33 ` Lee Jones
2016-08-19 8:33 ` [rtc-linux] " Lee Jones
2016-08-10 9:05 ` [PATCH v7 2/4] regulator: rk808: Add regulator driver for RK818 Wadim Egorov
2016-08-10 9:05 ` Wadim Egorov
2016-08-10 9:05 ` [rtc-linux] " Wadim Egorov
2016-08-10 9:05 ` [PATCH v7 3/4] mfd: dt-bindings: Add RK818 device tree bindings document Wadim Egorov
2016-08-10 9:05 ` Wadim Egorov
2016-08-10 9:05 ` [rtc-linux] " Wadim Egorov
2016-08-10 9:05 ` [PATCH v7 4/4] rtc: Kconfig: Name RK818 in Kconfig for RTC_DRV_RK808 Wadim Egorov
2016-08-10 9:05 ` Wadim Egorov
2016-08-10 9:05 ` [rtc-linux] " Wadim Egorov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160819083336.GI4254@dell \
--to=lee.jones-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
--cc=a.zummo-BfzFCNDTiLLj+vYz1yj4TQ@public.gmane.org \
--cc=alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \
--cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
--cc=lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
--cc=w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org \
--cc=zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.