diff for duplicates of <20160818143440.GG4254@dell> diff --git a/a/1.txt b/N1/1.txt index 71e6fa3..9387812 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -1,36 +1,38 @@ On Wed, 10 Aug 2016, Wadim Egorov wrote: -> The RK818 chip is a Power Management IC (PMIC) for multimedia and handheld +> The RK818 chip is a Power Management IC (PMIC) for multimedia and handhel= +d > devices. It contains the following components: -> +>=20 > - Regulators > - RTC > - Clocking > - Battery support -> +>=20 > 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> +>=20 +> 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 -> +>=20 > --- > drivers/mfd/Kconfig | 4 +- -> drivers/mfd/rk808.c | 226 +++++++++++++++++++++++++++++++++++++++------- +> drivers/mfd/rk808.c | 226 +++++++++++++++++++++++++++++++++++++++-= +------ > include/linux/mfd/rk808.h | 154 +++++++++++++++++++++++++++++-- > 3 files changed, 342 insertions(+), 42 deletions(-) -> +>=20 > diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig > index 2d1fb64..a55be95 100644 > --- a/drivers/mfd/Kconfig > +++ b/drivers/mfd/Kconfig > @@ -852,13 +852,13 @@ config MFD_RC5T583 > different functionality of the device. -> +> =20 > config MFD_RK808 > - tristate "Rockchip RK808 Power Management chip" > + tristate "Rockchip RK808/RK818 Power Management Chip" @@ -55,14 +57,15 @@ On Wed, 10 Aug 2016, Wadim Egorov wrote: > * > * Copyright (c) 2014, Fuzhou Rockchip Electronics Co., Ltd > * -> * Author: Chris Zhong <zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org> -> * Author: Zhang Qing <zhangqing-TNX95d0MmH7DzftRWevZcw@public.gmane.org> +> * Author: Chris Zhong <zyw@rock-chips.com> +> * Author: Zhang Qing <zhangqing@rock-chips.com> > * > + * Copyright (C) 2016 PHYTEC Messtechnik GmbH > + * -> + * Author: Wadim Egorov <w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org> +> + * Author: Wadim Egorov <w.egorov@phytec.de> > + * -> * This program is free software; you can redistribute it and/or modify it +> * This program is free software; you can redistribute it and/or modify = +it > * under the terms and conditions of the GNU General Public License, > * version 2, as published by the Free Software Foundation. > @@ -22,6 +26,7 @@ @@ -75,45 +78,48 @@ Alphabetical. > struct rk808_reg_data { > int addr; -> @@ -57,6 +62,14 @@ static bool rk808_is_volatile_reg(struct device *dev, unsigned int reg) +> @@ -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, +> =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 = { -> .reg_bits = 8, -> .val_bits = 8, -> @@ -79,11 +92,21 @@ static const struct mfd_cell rk808s[] = { +> 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 = "rk808-rtc", -> .num_resources = ARRAY_SIZE(rtc_resources), -> - .resources = &rtc_resources[0], -> + .resources = rtc_resources, +> .name =3D "rk808-rtc", +> .num_resources =3D ARRAY_SIZE(rtc_resources), +> - .resources =3D &rtc_resources[0], +> + .resources =3D rtc_resources, ? > }, > }; --- +--=20 Lee Jones Linaro STMicroelectronics Landing Team Lead -Linaro.org │ Open source software for ARM SoCs +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. ---- -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 +---=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. diff --git a/a/content_digest b/N1/content_digest index 449530a..d4576e7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,57 +1,58 @@ "ref\01470819907-11237-1-git-send-email-w.egorov@phytec.de\0" "ref\01470819907-11237-2-git-send-email-w.egorov@phytec.de\0" - "ref\01470819907-11237-2-git-send-email-w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org\0" - "From\0Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>\0" - "Subject\0Re: [PATCH v7 1/4] mfd: RK808: Add RK818 support\0" + "From\0Lee Jones <lee.jones@linaro.org>\0" + "Subject\0[rtc-linux] Re: [PATCH v7 1/4] mfd: RK808: Add RK818 support\0" "Date\0Thu, 18 Aug 2016 15:34:40 +0100\0" - "To\0Wadim Egorov <w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>\0" - "Cc\0linux-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\0" + "To\0Wadim Egorov <w.egorov@phytec.de>\0" + "Cc\0linux-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\0" "\00:1\0" "b\0" "On Wed, 10 Aug 2016, Wadim Egorov wrote:\n" "\n" - "> The RK818 chip is a Power Management IC (PMIC) for multimedia and handheld\n" + "> The RK818 chip is a Power Management IC (PMIC) for multimedia and handhel=\n" + "d\n" "> devices. It contains the following components:\n" - "> \n" + ">=20\n" "> - Regulators\n" "> - RTC\n" "> - Clocking\n" "> - Battery support\n" - "> \n" + ">=20\n" "> Both RK808 and RK818 chips are using a similar register map,\n" "> so we can reuse the RTC and Clocking functionality.\n" - "> \n" - "> Signed-off-by: Wadim Egorov <w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>\n" - "> Tested-by: Andy Yan <andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org>\n" + ">=20\n" + "> Signed-off-by: Wadim Egorov <w.egorov@phytec.de>\n" + "> Tested-by: Andy Yan <andy.yan@rock-chips.com>\n" "> ---\n" "> Changes since v6:\n" "> - Squashed in the patch\n" "> mfd: RK808: Fetch PMIC variant from chip id register\n" - "> \n" + ">=20\n" "> ---\n" "> drivers/mfd/Kconfig | 4 +-\n" - "> drivers/mfd/rk808.c | 226 +++++++++++++++++++++++++++++++++++++++-------\n" + "> drivers/mfd/rk808.c | 226 +++++++++++++++++++++++++++++++++++++++-=\n" + "------\n" "> include/linux/mfd/rk808.h | 154 +++++++++++++++++++++++++++++--\n" "> 3 files changed, 342 insertions(+), 42 deletions(-)\n" - "> \n" + ">=20\n" "> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig\n" "> index 2d1fb64..a55be95 100644\n" "> --- a/drivers/mfd/Kconfig\n" "> +++ b/drivers/mfd/Kconfig\n" "> @@ -852,13 +852,13 @@ config MFD_RC5T583\n" "> \t different functionality of the device.\n" - "> \n" + "> =20\n" "> config MFD_RK808\n" "> -\ttristate \"Rockchip RK808 Power Management chip\"\n" "> +\ttristate \"Rockchip RK808/RK818 Power Management Chip\"\n" @@ -76,14 +77,15 @@ "> *\n" "> * Copyright (c) 2014, Fuzhou Rockchip Electronics Co., Ltd\n" "> *\n" - "> * Author: Chris Zhong <zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org>\n" - "> * Author: Zhang Qing <zhangqing-TNX95d0MmH7DzftRWevZcw@public.gmane.org>\n" + "> * Author: Chris Zhong <zyw@rock-chips.com>\n" + "> * Author: Zhang Qing <zhangqing@rock-chips.com>\n" "> *\n" "> + * Copyright (C) 2016 PHYTEC Messtechnik GmbH\n" "> + *\n" - "> + * Author: Wadim Egorov <w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>\n" + "> + * Author: Wadim Egorov <w.egorov@phytec.de>\n" "> + *\n" - "> * This program is free software; you can redistribute it and/or modify it\n" + "> * This program is free software; you can redistribute it and/or modify =\n" + "it\n" "> * under the terms and conditions of the GNU General Public License,\n" "> * version 2, as published by the Free Software Foundation.\n" "> @@ -22,6 +26,7 @@\n" @@ -96,47 +98,50 @@ "\n" "> struct rk808_reg_data {\n" "> \tint addr;\n" - "> @@ -57,6 +62,14 @@ static bool rk808_is_volatile_reg(struct device *dev, unsigned int reg)\n" + "> @@ -57,6 +62,14 @@ static bool rk808_is_volatile_reg(struct device *dev, =\n" + "unsigned int reg)\n" "> \treturn false;\n" "> }\n" - "> \n" - "> +static const struct regmap_config rk818_regmap_config = {\n" - "> +\t.reg_bits = 8,\n" - "> +\t.val_bits = 8,\n" - "> +\t.max_register = RK818_USB_CTRL_REG,\n" - "> +\t.cache_type = REGCACHE_RBTREE,\n" - "> +\t.volatile_reg = rk808_is_volatile_reg,\n" + "> =20\n" + "> +static const struct regmap_config rk818_regmap_config =3D {\n" + "> +\t.reg_bits =3D 8,\n" + "> +\t.val_bits =3D 8,\n" + "> +\t.max_register =3D RK818_USB_CTRL_REG,\n" + "> +\t.cache_type =3D REGCACHE_RBTREE,\n" + "> +\t.volatile_reg =3D rk808_is_volatile_reg,\n" "> +};\n" "> +\n" - "> static const struct regmap_config rk808_regmap_config = {\n" - "> \t.reg_bits = 8,\n" - "> \t.val_bits = 8,\n" - "> @@ -79,11 +92,21 @@ static const struct mfd_cell rk808s[] = {\n" + "> static const struct regmap_config rk808_regmap_config =3D {\n" + "> \t.reg_bits =3D 8,\n" + "> \t.val_bits =3D 8,\n" + "> @@ -79,11 +92,21 @@ static const struct mfd_cell rk808s[] =3D {\n" "> \t{\n" - "> \t\t.name = \"rk808-rtc\",\n" - "> \t\t.num_resources = ARRAY_SIZE(rtc_resources),\n" - "> -\t\t.resources = &rtc_resources[0],\n" - "> +\t\t.resources = rtc_resources,\n" + "> \t\t.name =3D \"rk808-rtc\",\n" + "> \t\t.num_resources =3D ARRAY_SIZE(rtc_resources),\n" + "> -\t\t.resources =3D &rtc_resources[0],\n" + "> +\t\t.resources =3D rtc_resources,\n" "\n" "?\n" "\n" "> \t},\n" "> };\n" "\n" - "-- \n" + "--=20\n" "Lee Jones\n" "Linaro STMicroelectronics Landing Team Lead\n" - "Linaro.org \342\224\202 Open source software for ARM SoCs\n" + "Linaro.org =E2=94=82 Open source software for ARM SoCs\n" "Follow Linaro: Facebook | Twitter | Blog\n" "\n" - "-- \n" + "--=20\n" "You received this message because you are subscribed to \"rtc-linux\".\n" "Membership options at http://groups.google.com/group/rtc-linux .\n" "Please read http://groups.google.com/group/rtc-linux/web/checklist\n" "before submitting a driver.\n" - "--- \n" - "You received this message because you are subscribed to the Google Groups \"rtc-linux\" group.\n" - "To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org\n" + "---=20\n" + "You received this message because you are subscribed to the Google Groups \"=\n" + "rtc-linux\" group.\n" + "To unsubscribe from this group and stop receiving emails from it, send an e=\n" + "mail to rtc-linux+unsubscribe@googlegroups.com.\n" For more options, visit https://groups.google.com/d/optout. -f159b0d136df1876375fbb76d6f915f4a104c51c4539f891949b203d8ccd9dc5 +ed94ef20705f019a381630fac07ceeae655bc70e21cdab8f56095f225be3439a
diff --git a/a/1.txt b/N2/1.txt index 71e6fa3..9bdaf12 100644 --- a/a/1.txt +++ b/N2/1.txt @@ -11,8 +11,8 @@ On Wed, 10 Aug 2016, Wadim Egorov wrote: > 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> +> 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 @@ -55,12 +55,12 @@ On Wed, 10 Aug 2016, Wadim Egorov wrote: > * > * Copyright (c) 2014, Fuzhou Rockchip Electronics Co., Ltd > * -> * Author: Chris Zhong <zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org> -> * Author: Zhang Qing <zhangqing-TNX95d0MmH7DzftRWevZcw@public.gmane.org> +> * Author: Chris Zhong <zyw@rock-chips.com> +> * Author: Zhang Qing <zhangqing@rock-chips.com> > * > + * Copyright (C) 2016 PHYTEC Messtechnik GmbH > + * -> + * Author: Wadim Egorov <w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org> +> + * Author: Wadim Egorov <w.egorov@phytec.de> > + * > * This program is free software; you can redistribute it and/or modify it > * under the terms and conditions of the GNU General Public License, @@ -107,13 +107,3 @@ 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. diff --git a/a/content_digest b/N2/content_digest index 449530a..8a99e23 100644 --- a/a/content_digest +++ b/N2/content_digest @@ -1,22 +1,21 @@ "ref\01470819907-11237-1-git-send-email-w.egorov@phytec.de\0" "ref\01470819907-11237-2-git-send-email-w.egorov@phytec.de\0" - "ref\01470819907-11237-2-git-send-email-w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org\0" - "From\0Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>\0" + "From\0Lee Jones <lee.jones@linaro.org>\0" "Subject\0Re: [PATCH v7 1/4] mfd: RK808: Add RK818 support\0" "Date\0Thu, 18 Aug 2016 15:34:40 +0100\0" - "To\0Wadim Egorov <w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>\0" - "Cc\0linux-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\0" + "To\0Wadim Egorov <w.egorov@phytec.de>\0" + "Cc\0linux-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\0" "\00:1\0" "b\0" "On Wed, 10 Aug 2016, Wadim Egorov wrote:\n" @@ -32,8 +31,8 @@ "> Both RK808 and RK818 chips are using a similar register map,\n" "> so we can reuse the RTC and Clocking functionality.\n" "> \n" - "> Signed-off-by: Wadim Egorov <w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>\n" - "> Tested-by: Andy Yan <andy.yan-TNX95d0MmH7DzftRWevZcw@public.gmane.org>\n" + "> Signed-off-by: Wadim Egorov <w.egorov@phytec.de>\n" + "> Tested-by: Andy Yan <andy.yan@rock-chips.com>\n" "> ---\n" "> Changes since v6:\n" "> - Squashed in the patch\n" @@ -76,12 +75,12 @@ "> *\n" "> * Copyright (c) 2014, Fuzhou Rockchip Electronics Co., Ltd\n" "> *\n" - "> * Author: Chris Zhong <zyw-TNX95d0MmH7DzftRWevZcw@public.gmane.org>\n" - "> * Author: Zhang Qing <zhangqing-TNX95d0MmH7DzftRWevZcw@public.gmane.org>\n" + "> * Author: Chris Zhong <zyw@rock-chips.com>\n" + "> * Author: Zhang Qing <zhangqing@rock-chips.com>\n" "> *\n" "> + * Copyright (C) 2016 PHYTEC Messtechnik GmbH\n" "> + *\n" - "> + * Author: Wadim Egorov <w.egorov-guT5V/WYfQezQB+pC5nmwQ@public.gmane.org>\n" + "> + * Author: Wadim Egorov <w.egorov@phytec.de>\n" "> + *\n" "> * This program is free software; you can redistribute it and/or modify it\n" "> * under the terms and conditions of the GNU General Public License,\n" @@ -127,16 +126,6 @@ "Lee Jones\n" "Linaro STMicroelectronics Landing Team Lead\n" "Linaro.org \342\224\202 Open source software for ARM SoCs\n" - "Follow Linaro: Facebook | Twitter | Blog\n" - "\n" - "-- \n" - "You received this message because you are subscribed to \"rtc-linux\".\n" - "Membership options at http://groups.google.com/group/rtc-linux .\n" - "Please read http://groups.google.com/group/rtc-linux/web/checklist\n" - "before submitting a driver.\n" - "--- \n" - "You received this message because you are subscribed to the Google Groups \"rtc-linux\" group.\n" - "To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org\n" - For more options, visit https://groups.google.com/d/optout. + Follow Linaro: Facebook | Twitter | Blog -f159b0d136df1876375fbb76d6f915f4a104c51c4539f891949b203d8ccd9dc5 +0bc57c63eaa8d240f791421a59a9fe20e497d458b581758aa08869883b839585
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.