* [PATCH 2/3] net: mdio:gpio: fix typos in dev_dbg
2020-12-16 13:09 [PATCH 1/3] i.MX7: Add CCM definitions for UART3 Steffen Trumtrar
@ 2020-12-16 13:09 ` Steffen Trumtrar
2020-12-16 13:09 ` [PATCH 3/3] eeprom: at24: add support for 24cs64 Steffen Trumtrar
2021-01-06 10:08 ` [PATCH 1/3] i.MX7: Add CCM definitions for UART3 Sascha Hauer
2 siblings, 0 replies; 4+ messages in thread
From: Steffen Trumtrar @ 2020-12-16 13:09 UTC (permalink / raw)
To: Barebox List
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
drivers/net/phy/mdio-gpio.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/phy/mdio-gpio.c b/drivers/net/phy/mdio-gpio.c
index affa31ae2c9b..80d2394f4b11 100644
--- a/drivers/net/phy/mdio-gpio.c
+++ b/drivers/net/phy/mdio-gpio.c
@@ -52,7 +52,7 @@ static struct mdio_gpio_info *mdio_gpio_of_get_info(struct device_d *dev)
ret = of_get_gpio_flags(dev->device_node, 0, &flags);
if (ret < 0) {
- dev_dbg(dev, "failed to get MDC inforamtion from DT\n");
+ dev_dbg(dev, "failed to get MDC information from DT\n");
goto free_info;
}
@@ -61,7 +61,7 @@ static struct mdio_gpio_info *mdio_gpio_of_get_info(struct device_d *dev)
ret = of_get_gpio_flags(dev->device_node, 1, &flags);
if (ret < 0) {
- dev_dbg(dev, "failed to get MDIO inforamtion from DT\n");
+ dev_dbg(dev, "failed to get MDIO information from DT\n");
goto free_info;
}
--
2.20.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 3/3] eeprom: at24: add support for 24cs64
2020-12-16 13:09 [PATCH 1/3] i.MX7: Add CCM definitions for UART3 Steffen Trumtrar
2020-12-16 13:09 ` [PATCH 2/3] net: mdio:gpio: fix typos in dev_dbg Steffen Trumtrar
@ 2020-12-16 13:09 ` Steffen Trumtrar
2021-01-06 10:08 ` [PATCH 1/3] i.MX7: Add CCM definitions for UART3 Sascha Hauer
2 siblings, 0 replies; 4+ messages in thread
From: Steffen Trumtrar @ 2020-12-16 13:09 UTC (permalink / raw)
To: Barebox List
The 24cs64 is a 64-Kbit eeprom with 32 byte write pages.
Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
---
drivers/eeprom/at24.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/eeprom/at24.c b/drivers/eeprom/at24.c
index 568aa02a4c8c..8c04c5684b61 100644
--- a/drivers/eeprom/at24.c
+++ b/drivers/eeprom/at24.c
@@ -112,6 +112,7 @@ static struct platform_device_id at24_ids[] = {
{ "24c16", AT24_DEVICE_MAGIC(16384 / 8, 0) },
{ "24c32", AT24_DEVICE_MAGIC(32768 / 8, AT24_FLAG_ADDR16) },
{ "24c64", AT24_DEVICE_MAGIC(65536 / 8, AT24_FLAG_ADDR16) },
+ { "24cs64", AT24_DEVICE_MAGIC(16, AT24_FLAG_ADDR16) },
{ "24c128", AT24_DEVICE_MAGIC(131072 / 8, AT24_FLAG_ADDR16) },
{ "24c256", AT24_DEVICE_MAGIC(262144 / 8, AT24_FLAG_ADDR16) },
{ "24c512", AT24_DEVICE_MAGIC(524288 / 8, AT24_FLAG_ADDR16) },
--
2.20.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH 1/3] i.MX7: Add CCM definitions for UART3
2020-12-16 13:09 [PATCH 1/3] i.MX7: Add CCM definitions for UART3 Steffen Trumtrar
2020-12-16 13:09 ` [PATCH 2/3] net: mdio:gpio: fix typos in dev_dbg Steffen Trumtrar
2020-12-16 13:09 ` [PATCH 3/3] eeprom: at24: add support for 24cs64 Steffen Trumtrar
@ 2021-01-06 10:08 ` Sascha Hauer
2 siblings, 0 replies; 4+ messages in thread
From: Sascha Hauer @ 2021-01-06 10:08 UTC (permalink / raw)
To: Steffen Trumtrar; +Cc: Barebox List
On Wed, Dec 16, 2020 at 02:09:47PM +0100, Steffen Trumtrar wrote:
> Signed-off-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
> ---
> arch/arm/mach-imx/include/mach/imx7-ccm-regs.h | 4 ++++
> 1 file changed, 4 insertions(+)
Applied, thanks
Sascha
>
> diff --git a/arch/arm/mach-imx/include/mach/imx7-ccm-regs.h b/arch/arm/mach-imx/include/mach/imx7-ccm-regs.h
> index de6eb1bbd10d..5c60794ca74f 100644
> --- a/arch/arm/mach-imx/include/mach/imx7-ccm-regs.h
> +++ b/arch/arm/mach-imx/include/mach/imx7-ccm-regs.h
> @@ -3,6 +3,7 @@
>
> #define IMX7_CCM_CCGR_UART1 148
> #define IMX7_CCM_CCGR_UART2 149
> +#define IMX7_CCM_CCGR_UART3 150
>
> #define IMX7_CLOCK_ROOT_INDEX(x) (((x) - 0x8000) / 128)
>
> @@ -16,6 +17,9 @@
> #define IMX7_UART2_CLK_ROOT IMX7_CLOCK_ROOT_INDEX(0xb000)
> #define IMX7_UART2_CLK_ROOT__OSC_24M IMX7_CCM_TARGET_ROOTn_MUX(0b000)
>
> +#define IMX7_UART3_CLK_ROOT IMX7_CLOCK_ROOT_INDEX(0xb080)
> +#define IMX7_UART3_CLK_ROOT__OSC_24M IMX7_CCM_TARGET_ROOTn_MUX(0b000)
> +
> /* 0 <= n <= 190 */
> #define IMX7_CCM_CCGRn_SET(n) (0x4004 + 16 * (n))
> #define IMX7_CCM_CCGRn_CLR(n) (0x4008 + 16 * (n))
> --
> 2.20.1
>
>
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] 4+ messages in thread