s + addr) & ~value;
> - writel_relaxed(reg, config_regs + addr);
> + regmap_read(config_regs, addr, );
> + reg &= ~value;
> + regmap_write(config_regs, addr, reg);
regmap_update_bits(config_regs, addr, value, 0);
Reviewed-by: Philipp Zabel <p.za...@pengutronix.de>
regards
Philipp
~value;
> - writel_relaxed(reg, config_regs + addr);
> + regmap_read(config_regs, addr, );
> + reg &= ~value;
> + regmap_write(config_regs, addr, reg);
regmap_update_bits(config_regs, addr, value, 0);
Reviewed-by: Philipp Zabel
regards
Philipp
Hi Martin,
On Fri, 2017-11-17 at 15:30 +0100, Martin Kepplinger wrote:
> At this point the driver looks the currently decoded frame's index
> and compares is to VPU-specific state values. Directly before this
> if and else statements the indexes are read (index for decoded and
> for displayed
Hi Martin,
On Fri, 2017-11-17 at 15:30 +0100, Martin Kepplinger wrote:
> At this point the driver looks the currently decoded frame's index
> and compares is to VPU-specific state values. Directly before this
> if and else statements the indexes are read (index for decoded and
> for displayed
On Wed, 2017-11-08 at 15:25 -0600, Andrew F. Davis wrote:
> The correct DT property for specifying a GPIO used for reset
> is "reset-gpio", fix this here.
>
> Fixes: 4341881d0562 ("ARM: dts: Add devicetree for Gumstix Pepper board")
>
> Signed-off-by: Andrew F. Davis
> ---
>
On Wed, 2017-11-08 at 15:25 -0600, Andrew F. Davis wrote:
> The correct DT property for specifying a GPIO used for reset
> is "reset-gpio", fix this here.
>
> Fixes: 4341881d0562 ("ARM: dts: Add devicetree for Gumstix Pepper board")
>
> Signed-off-by: Andrew F. Davis
> ---
>
Hi Andrew,
On Wed, 2017-11-08 at 15:24 -0600, Andrew F. Davis wrote:
> The property used to specify a GPIO intended for reset is "reset-gpio",
> this binding uses "gpio-reset", as almost all other bindings use the
> former name this use of the latter is certainly not intended and
> was a typo. It
Hi Andrew,
On Wed, 2017-11-08 at 15:24 -0600, Andrew F. Davis wrote:
> The property used to specify a GPIO intended for reset is "reset-gpio",
> this binding uses "gpio-reset", as almost all other bindings use the
> former name this use of the latter is certainly not intended and
> was a typo. It
_MJPG 3
> #define CODA9_STD_MPEG4 3
>
> #define CODA_CMD_ENC_SEQ_SRC_SIZE0x190
Thanks,
Acked-by: Philipp Zabel <p.za...@pengutronix.de>
regards
Philipp
3
> #define CODA9_STD_MPEG4 3
>
> #define CODA_CMD_ENC_SEQ_SRC_SIZE0x190
Thanks,
Acked-by: Philipp Zabel
regards
Philipp
Hi Martin,
thank you for the patch. I'd prefer to just drop CODA_STD_MJPG
altogether, to avoid confusion. Explanation below:
On Wed, 2017-11-08 at 15:12 +0100, Martin Kepplinger wrote:
> According to i.MX 6 VPU API Reference Manual Rev. L3.0.35_1.1.0, 01/2013
> chapter 3.2.1.5, the MJPG video
Hi Martin,
thank you for the patch. I'd prefer to just drop CODA_STD_MJPG
altogether, to avoid confusion. Explanation below:
On Wed, 2017-11-08 at 15:12 +0100, Martin Kepplinger wrote:
> According to i.MX 6 VPU API Reference Manual Rev. L3.0.35_1.1.0, 01/2013
> chapter 3.2.1.5, the MJPG video
The pcf8563_clkout_recalc_rate function erroneously ignores the
frequency index read from the CLKO register and always returns
32768 Hz.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
drivers/rtc/rtc-pcf8563.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/d
The pcf8563_clkout_recalc_rate function erroneously ignores the
frequency index read from the CLKO register and always returns
32768 Hz.
Signed-off-by: Philipp Zabel
---
drivers/rtc/rtc-pcf8563.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc-pcf8563.c b
Hi Bjorn,
On Wed, 2017-11-01 at 15:24 -0700, Bjorn Andersson wrote:
[...]
> > > This looks more or less identical to how regulators and clocks already
> > > deals with resources in bulk; see regulator_bulk_data and clk_bulk_data
> > > and their associated functions.
> > >
> > > I would really
Hi Bjorn,
On Wed, 2017-11-01 at 15:24 -0700, Bjorn Andersson wrote:
[...]
> > > This looks more or less identical to how regulators and clocks already
> > > deals with resources in bulk; see regulator_bulk_data and clk_bulk_data
> > > and their associated functions.
> > >
> > > I would really
.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
drivers/tty/serial/imx.c | 28
1 file changed, 28 insertions(+)
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index dfeff3951f934..6bbe7dd58ac62 100644
--- a/drivers/tty/serial/imx.c
.
Signed-off-by: Philipp Zabel
---
drivers/tty/serial/imx.c | 28
1 file changed, 28 insertions(+)
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index dfeff3951f934..6bbe7dd58ac62 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
ut given that the old bindings never worked,
this is better than to pretend a required reset is optional.
Reviewed-by: Philipp Zabel <philipp.za...@gmail.com>
regards
Philipp
> ---
> v2:
> - Ensure disabling path unwinds in opposite order as the enable path
> - Note that
ked,
this is better than to pretend a required reset is optional.
Reviewed-by: Philipp Zabel
regards
Philipp
> ---
> v2:
> - Ensure disabling path unwinds in opposite order as the enable path
> - Note that the bindings were incorrect without the reset phandle,
> and for the system t
Hi Joel,
On Mon, Oct 30, 2017 at 8:22 AM, Joel Stanley wrote:
> The ASPEED SoC must deassert a reset in order to use the ADC peripheral.
>
> The device tree bindings are updated to document the resets phandle, and
> the example is updated to match what is expected for both the
Hi Joel,
On Mon, Oct 30, 2017 at 8:22 AM, Joel Stanley wrote:
> The ASPEED SoC must deassert a reset in order to use the ADC peripheral.
>
> The device tree bindings are updated to document the resets phandle, and
> the example is updated to match what is expected for both the reset and
> clock
Brendan Higgins <brendanhigg...@google.com>
> Reviewed-by: Philipp Zabel <philipp.za...@gmail.com>
> Signed-off-by: Joel Stanley <j...@jms.id.au>
> ---
> v3: Check for bad reset controller probe (caused by eg. bad device tree)
> and set ->rst to NULL so assert
emove the reset is asserted, which only touches the hardware once
> the last i2c bus is removed.
>
> The request is optional, so if a device tree does not specify a reset
> controller (or the driver is not built in), the driver continues to
> probe.
>
> Reviewed-by: Brendan Higgins
&g
Hi Masahiro,
On Sun, 2017-10-29 at 01:50 +0900, Masahiro Yamada wrote:
> Commit bb475230b8e5 ("reset: make optional functions really optional")
> converted *_get_optional* functions, but device_reset_optional() was
> left behind. Convert it in the same way.
>
> Signed-off-by: Masahiro Yamada
Hi Masahiro,
On Sun, 2017-10-29 at 01:50 +0900, Masahiro Yamada wrote:
> Commit bb475230b8e5 ("reset: make optional functions really optional")
> converted *_get_optional* functions, but device_reset_optional() was
> left behind. Convert it in the same way.
>
> Signed-off-by: Masahiro Yamada
Hi Philippe,
On Thu, 2017-10-26 at 18:09 +0200, Philippe Cornu wrote:
> The pixel clock is optional. When available, it offers a better
> preciseness for timing computations.
>
> Signed-off-by: Philippe Cornu
> ---
> drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 24
Hi Philippe,
On Thu, 2017-10-26 at 18:09 +0200, Philippe Cornu wrote:
> The pixel clock is optional. When available, it offers a better
> preciseness for timing computations.
>
> Signed-off-by: Philippe Cornu
> ---
> drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 24 ++--
>
On Fri, Oct 20, 2017 at 04:51:24PM +0100, Jon Hunter wrote:
> Hi Philipp,
>
> On 19/10/17 16:17, Philipp Zabel wrote:
> > Hi Jon, Thierry,
> >
> > On Wed, 2017-07-19 at 17:59 +0200, Philipp Zabel wrote:
> >> From: Vivek Gautam <vivek.ga
On Fri, Oct 20, 2017 at 04:51:24PM +0100, Jon Hunter wrote:
> Hi Philipp,
>
> On 19/10/17 16:17, Philipp Zabel wrote:
> > Hi Jon, Thierry,
> >
> > On Wed, 2017-07-19 at 17:59 +0200, Philipp Zabel wrote:
> >> From: Vivek Gautam
> >>
> >
Hi,
On Thu, 2017-10-19 at 11:54 -0700, Bjorn Andersson wrote:
> On Wed 19 Jul 08:59 PDT 2017, Philipp Zabel wrote:
>
> > From: Vivek Gautam <vivek.gau...@codeaurora.org>
> >
> > Many devices may want to request a bunch of resets and control them. So
> > it
Hi,
On Thu, 2017-10-19 at 11:54 -0700, Bjorn Andersson wrote:
> On Wed 19 Jul 08:59 PDT 2017, Philipp Zabel wrote:
>
> > From: Vivek Gautam
> >
> > Many devices may want to request a bunch of resets and control them. So
> > it's better to manage them as an arra
On Fri, 2017-10-20 at 17:10 +0530, Manu Gautam wrote:
> Hi,
>
>
> On 10/19/2017 5:17 PM, Philipp Zabel wrote:
> > From: Vivek Gautam <vivek.gau...@codeaurora.org>
> >
> > Add support to get a list of resets available for the device.
> > These resets
On Fri, 2017-10-20 at 17:10 +0530, Manu Gautam wrote:
> Hi,
>
>
> On 10/19/2017 5:17 PM, Philipp Zabel wrote:
> > From: Vivek Gautam
> >
> > Add support to get a list of resets available for the device.
> > These resets must be kept de-asserted until the d
Hi Jon, Thierry,
On Wed, 2017-07-19 at 17:59 +0200, Philipp Zabel wrote:
> From: Vivek Gautam <vivek.gau...@codeaurora.org>
>
> Make use of of_reset_control_array_get_exclusive() to manage
> an array of reset controllers available with the device.
>
> Cc: Jon Hunter <
Hi Jon, Thierry,
On Wed, 2017-07-19 at 17:59 +0200, Philipp Zabel wrote:
> From: Vivek Gautam
>
> Make use of of_reset_control_array_get_exclusive() to manage
> an array of reset controllers available with the device.
>
> Cc: Jon Hunter
> Cc: Thierry Reding
> Sig
Hi Laurent,
On Thu, 2017-10-19 at 16:39 +0300, Laurent Pinchart wrote:
> Hi Philipp,
>
> On Thursday, 19 October 2017 16:01:54 EEST Philipp Zabel wrote:
> > On Thu, 2017-10-19 at 13:26 +0200, Matthias Brugger wrote:
> > > In theory the MMSYS device tree identifier is m
Hi Laurent,
On Thu, 2017-10-19 at 16:39 +0300, Laurent Pinchart wrote:
> Hi Philipp,
>
> On Thursday, 19 October 2017 16:01:54 EEST Philipp Zabel wrote:
> > On Thu, 2017-10-19 at 13:26 +0200, Matthias Brugger wrote:
> > > In theory the MMSYS device tree identifier is m
On Thu, 2017-10-19 at 15:53 +0300, Laurent Pinchart wrote:
> Hi Matthias,
>
> Thank you for the patch.
>
> On Thursday, 19 October 2017 14:26:07 EEST Matthias Brugger wrote:
> > DRM subysystem and clock driver shared the same compatible mmsys.
> > This stopped does not work, as only the first
On Thu, 2017-10-19 at 15:53 +0300, Laurent Pinchart wrote:
> Hi Matthias,
>
> Thank you for the patch.
>
> On Thursday, 19 October 2017 14:26:07 EEST Matthias Brugger wrote:
> > DRM subysystem and clock driver shared the same compatible mmsys.
> > This stopped does not work, as only the first
On Thu, 2017-10-19 at 13:26 +0200, Matthias Brugger wrote:
> In theory the MMSYS device tree identifier is matches twice, by the clk
> driver
> and the DRM subsystem. But the kernel only matches the first driver for a
> device (clk) and discards the second one. This breaks graphics on mt8173
On Thu, 2017-10-19 at 13:26 +0200, Matthias Brugger wrote:
> In theory the MMSYS device tree identifier is matches twice, by the clk
> driver
> and the DRM subsystem. But the kernel only matches the first driver for a
> device (clk) and discards the second one. This breaks graphics on mt8173
};
>
> +dispsys: display-system {
Could we call this node display-subsystem for consistency with i.MX and
Rockchip device trees?
With that change,
Acked-by: Philipp Zabel <p.za...@pengutronix.de>
> + compatible = "mediatek,mt2701-dispsys";
> + mediatek,mmsys = <>;
> +}
> +
> ovl0: ovl@1400c000 {
> compatible = "mediatek,mt8173-disp-ovl";
> reg = <0 0x1400c000 0 0x1000>;
regards
Philipp
vl" - overlay (4 layers, blending, csc)
> "mediatek,-disp-rdma" - read DMA / line buffer
> "mediatek,-disp-wdma" - write DMA
> @@ -71,6 +72,11 @@ mmsys: clock-controller@1400 {
> #clock-cells = <1>;
> };
>
> +dispsys:
+ compatible = "mediatek,mt2701-dispsys";
Same comment as for patch 1, I'd prefer the node to be called
"display-
subsystem" instead.
With that changed,
Acked-by: Philipp Zabel <p.za...@pengutronix.de>
> + mediatek,mmsys = <>;
&
= "mediatek,mt2701-dispsys";
Same comment as for patch 1, I'd prefer the node to be called
"display-
subsystem" instead.
With that changed,
Acked-by: Philipp Zabel
> + mediatek,mmsys = <>;
> + }
> +
&
ontrol array]
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
v7: Rebased onto git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git
testing/next
---
drivers/usb/dwc3/dwc3-of-simple.c | 27 +--
1 file changed, 25 insertions(+), 2 deletions(-)
diff -
From: Vivek Gautam
Add support to get a list of resets available for the device.
These resets must be kept de-asserted until the device is
in use.
Signed-off-by: Vivek Gautam
[p.za...@pengutronix.de: switch to hidden reset control array]
Signed-off-by: Philipp Zabel
---
v7: Rebased onto git
On Thu, 2017-10-19 at 14:31 +0300, Felipe Balbi wrote:
> Hi,
>
> Philipp Zabel <p.za...@pengutronix.de> writes:
> > Hi Felipe,
> >
> > On Thu, 2017-10-19 at 12:38 +0300, Felipe Balbi wrote:
> > > Philipp Zabel <p.za...@pengutronix.de> writ
On Thu, 2017-10-19 at 14:31 +0300, Felipe Balbi wrote:
> Hi,
>
> Philipp Zabel writes:
> > Hi Felipe,
> >
> > On Thu, 2017-10-19 at 12:38 +0300, Felipe Balbi wrote:
> > > Philipp Zabel writes:
> > >
> > > > From: Vivek Gautam
>
Hi Felipe,
On Thu, 2017-10-19 at 12:38 +0300, Felipe Balbi wrote:
> Philipp Zabel <p.za...@pengutronix.de> writes:
>
> > From: Vivek Gautam <vivek.gau...@codeaurora.org>
> >
> > Add support to get a list of resets available for the device.
> > T
Hi Felipe,
On Thu, 2017-10-19 at 12:38 +0300, Felipe Balbi wrote:
> Philipp Zabel writes:
>
> > From: Vivek Gautam
> >
> > Add support to get a list of resets available for the device.
> > These resets must be kept de-asserted until the device is
> &g
R(bus->rst) and handle the error here.
> + reset_control_deassert(bus->rst);
Otherwise this will dump a warning.
> +
> ret = of_property_read_u32(pdev->dev.of_node,
>"bus-frequency", >bus_frequency);
> if (ret < 0) {
&g
trol_deassert(bus->rst);
Otherwise this will dump a warning.
> +
> ret = of_property_read_u32(pdev->dev.of_node,
>"bus-frequency", >bus_frequency);
> if (ret < 0) {
> @@ -919,6 +925,8 @@ static int aspeed_i2c_remove_bus(struct platform_device
> *pdev)
>
> i2c_del_adapter(>adap);
>
> + reset_control_assert(bus->rst);
As will this.
Reviewed-by: Philipp Zabel
regards
Philipp
On Wed, 2017-10-18 at 14:00 +0100, Andre Przywara wrote:
> Hi,
Thank you for the review.
> On 17/10/17 14:03, Philipp Zabel wrote:
> > Add reset line status readback, inverted status support, and socfpga
> > device tree quirks to the simple reset driver, and use it to repla
On Wed, 2017-10-18 at 14:00 +0100, Andre Przywara wrote:
> Hi,
Thank you for the review.
> On 17/10/17 14:03, Philipp Zabel wrote:
> > Add reset line status readback, inverted status support, and socfpga
> > device tree quirks to the simple reset driver, and use it to repla
Add reset line status readback, inverted status support, and socfpga
device tree quirks to the simple reset driver, and use it to replace
the socfpga driver.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
Changes since v3:
- Rebased onto reset/next
- Only warn about missin
Add reset line status readback, inverted status support, and socfpga
device tree quirks to the simple reset driver, and use it to replace
the socfpga driver.
Signed-off-by: Philipp Zabel
---
Changes since v3:
- Rebased onto reset/next
- Only warn about missing altr,modrst-offset property
Use the newly created copies in the reset-simple driver to replace the
sunxi platform driver code and reset operations. The separate sunxi
driver still remains to register the early reset controllers, but it
reuses the reset operations in reset-simple.
Signed-off-by: Philipp Zabel <p
Use the newly created copies in the reset-simple driver to replace the
sunxi platform driver code and reset operations. The separate sunxi
driver still remains to register the early reset controllers, but it
reuses the reset operations in reset-simple.
Signed-off-by: Philipp Zabel
Reviewed
with
reset-simple, extending it where necessary.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
Reviewed-by: Alexandru Gagniuc <ale...@adaptrum.com>
---
Changes since v3:
- Split patch 1 into reset-simple and reset-sunxi parts.
- Renamed reset_simple_set to reset_simple_update
with
reset-simple, extending it where necessary.
Signed-off-by: Philipp Zabel
Reviewed-by: Alexandru Gagniuc
---
Changes since v3:
- Split patch 1 into reset-simple and reset-sunxi parts.
- Renamed reset_simple_set to reset_simple_update
---
drivers/reset/Kconfig| 10
drivers/reset
The reset-simple driver can be used without changes.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
Acked-by: Gabriel Fernandez <gabriel.fernan...@st.com>
---
drivers/reset/Kconfig| 11 ++---
drivers/reset/Makefile | 1 -
drivers/reset/reset-simple.c |
The reset-simple driver can be used without changes.
Signed-off-by: Philipp Zabel
Acked-by: Gabriel Fernandez
---
drivers/reset/Kconfig| 11 ++---
drivers/reset/Makefile | 1 -
drivers/reset/reset-simple.c | 1 +
drivers/reset/reset-stm32.c | 108
is series is about
unifying the existing drivers.
[1] https://patchwork.kernel.org/patch/9903375/
https://patchwork.kernel.org/patch/9903373/
https://patchwork.kernel.org/patch/9903371/
https://patchwork.kernel.org/patch/9903377/
https://patchwork.kernel.org/patch/9903379/
regards
Phili
is series is about
unifying the existing drivers.
[1] https://patchwork.kernel.org/patch/9903375/
https://patchwork.kernel.org/patch/9903373/
https://patchwork.kernel.org/patch/9903371/
https://patchwork.kernel.org/patch/9903377/
https://patchwork.kernel.org/patch/9903379/
regards
Phili
The reset-simple driver can be used without changes.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
Reviewed-by: Alexandru Gagniuc <ale...@adaptrum.com>
---
MAINTAINERS | 1 -
drivers/reset/Kconfig| 10 +
drivers/reset/Makefile | 1 -
d
The reset-simple driver can be used without changes.
Signed-off-by: Philipp Zabel
Reviewed-by: Alexandru Gagniuc
---
MAINTAINERS | 1 -
drivers/reset/Kconfig| 10 +
drivers/reset/Makefile | 1 -
drivers/reset/reset-simple.c | 2 +
drivers/reset/reset
On Tue, 2017-10-17 at 12:19 +0200, Neil Armstrong wrote:
> The Amlogic GX SoC family embeds alternate registers to drive the reset
> levels next to the pulse registers.
>
> This patch adds support for level reset handling on the GX family only.
>
> The Meson8 family has an alternate way to
On Tue, 2017-10-17 at 12:19 +0200, Neil Armstrong wrote:
> The Amlogic GX SoC family embeds alternate registers to drive the reset
> levels next to the pulse registers.
>
> This patch adds support for level reset handling on the GX family only.
>
> The Meson8 family has an alternate way to
; drivers/reset/tegra/reset-bpmp.c | 9 -
> > 1 file changed, 8 insertions(+), 1 deletion(-)
>
> Hi Philipp,
>
> Would you provide an Acked-by on this so that I can take it into the
> Tegra tree? There's a build dependency on patch 1/4 in the series.
Acked-by: Philipp Zab
-bpmp.c | 9 -
> > 1 file changed, 8 insertions(+), 1 deletion(-)
>
> Hi Philipp,
>
> Would you provide an Acked-by on this so that I can take it into the
> Tegra tree? There's a build dependency on patch 1/4 in the series.
Acked-by: Philipp Zabel
to take this
Hi Neil,
On Mon, 2017-10-16 at 17:26 +0200, Neil Armstrong wrote:
> The Amlogic GX SoC family embeds alternate registers to drive the reset
> levels next to the pulse registers.
>
> This patch adds support for level reset handling on the GX family only.
>
> The Meson8 family has an alternate
Hi Neil,
On Mon, 2017-10-16 at 17:26 +0200, Neil Armstrong wrote:
> The Amlogic GX SoC family embeds alternate registers to drive the reset
> levels next to the pulse registers.
>
> This patch adds support for level reset handling on the GX family only.
>
> The Meson8 family has an alternate
quest
> drop conditions on asserting/deasserting reset
Reviewed-by: Philipp Zabel <p.za...@pengutronix.de>
Could you also update the device tree binding docs [1] to mention the
optional resets phandle?
[1] Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
regards
Philipp
&g
on asserting/deasserting reset
Reviewed-by: Philipp Zabel
Could you also update the device tree binding docs [1] to mention the
optional resets phandle?
[1] Documentation/devicetree/bindings/gpio/snps-dwapb-gpio.txt
regards
Philipp
> ---
> drivers/gpio/gpio-dwapb.c | 9 +
&
On Mon, 2017-10-09 at 15:11 +0100, Bryan O'Donoghue wrote:
> This patch adds logic to correctly setup the write timing parameters
> when blowing an OTP fuse for the i.MX7S/D.
>
> Fixes: 0642bac7da42 ("nvmem: imx-ocotp: add write support")
>
> Signed-off-by: Bryan O'Donoghue
On Mon, 2017-10-09 at 15:11 +0100, Bryan O'Donoghue wrote:
> This patch adds logic to correctly setup the write timing parameters
> when blowing an OTP fuse for the i.MX7S/D.
>
> Fixes: 0642bac7da42 ("nvmem: imx-ocotp: add write support")
>
> Signed-off-by: Bryan O'Donoghue
> ---
>
SY. A write request to a
> @@ -313,11 +365,11 @@ static struct nvmem_config imx_ocotp_nvmem_config = {
> };
>
> static const struct ocotp_params params[] = {
> - { .nregs = 128 },
> - { .nregs = 64 },
> - { .nregs = 128 },
> - { .nregs = 128 },
> - { .nregs = 64 },
> + { .nregs = 128, .bank_address_words = 0 },
> + { .nregs = 64, .bank_address_words = 0 },
> + { .nregs = 128, .bank_address_words = 0 },
> + { .nregs = 128, .bank_address_words = 0 },
> + { .nregs = 64, .bank_address_words = 4 },
See my comment on the last patch, I'd like to be able see which entry
corresponds to which SoC in this patch.
Otherwise,
Reviewed-by: Philipp Zabel <p.za...@pengutronix.de>
regards
Philipp
@ -313,11 +365,11 @@ static struct nvmem_config imx_ocotp_nvmem_config = {
> };
>
> static const struct ocotp_params params[] = {
> - { .nregs = 128 },
> - { .nregs = 64 },
> - { .nregs = 128 },
> - { .nregs = 128 },
> - { .nregs = 64 },
> + { .nregs = 128, .bank_address_words = 0 },
> + { .nregs = 64, .bank_address_words = 0 },
> + { .nregs = 128, .bank_address_words = 0 },
> + { .nregs = 128, .bank_address_words = 0 },
> + { .nregs = 64, .bank_address_words = 4 },
See my comment on the last patch, I'd like to be able see which entry
corresponds to which SoC in this patch.
Otherwise,
Reviewed-by: Philipp Zabel
regards
Philipp
tible = "fsl,imx7d-ocotp", (void *)64 },
> + { .compatible = "fsl,imx6q-ocotp", .data = [0] },
> + { .compatible = "fsl,imx6sl-ocotp", .data = [1] },
> + { .compatible = "fsl,imx6sx-ocotp", .data = [2] },
> + { .compatible = "fsl,imx6u
> + { .compatible = "fsl,imx6q-ocotp", .data = [0] },
> + { .compatible = "fsl,imx6sl-ocotp", .data = [1] },
> + { .compatible = "fsl,imx6sx-ocotp", .data = [2] },
> + { .compatible = "fsl,imx6ul-ocotp", .data = [3] },
> +
by: Lothar Waßmann <l...@karo-electronics.de>
This is much appreciated,
Acked-by: Philipp Zabel <p.za...@pengutronix.de>
This patch does conflict with Marco's "ARM: dts: imx: Fix incorrect
display nodes notation" patch [1], which renames the display@di0 nodes
to disp0. Ass
by: Lothar Waßmann
This is much appreciated,
Acked-by: Philipp Zabel
This patch does conflict with Marco's "ARM: dts: imx: Fix incorrect
display nodes notation" patch [1], which renames the display@di0 nodes
to disp0. Assuming it gets merged as-is, maybe rebase on top of that?
[1]
Hi Alan, Linus,
On Wed, 2017-10-11 at 10:31 +0200, Linus Walleij wrote:
> On Tue, Oct 10, 2017 at 11:26 PM, Alan Tull wrote:
>
> > Some platforms require reset to be released to allow register
> > access.
> >
> > Signed-off-by: Alan Tull
>
> Fair enough.
>
Hi Alan, Linus,
On Wed, 2017-10-11 at 10:31 +0200, Linus Walleij wrote:
> On Tue, Oct 10, 2017 at 11:26 PM, Alan Tull wrote:
>
> > Some platforms require reset to be released to allow register
> > access.
> >
> > Signed-off-by: Alan Tull
>
> Fair enough.
>
> (...)
> > + rst =
Hi Patrick,
On Tue, 2017-10-10 at 10:24 +, Patrick Brünn wrote:
> Hi Philipp,
>
> since commit 790cb4c7c9545953d22d3d425e49b36a711bae5b my display on CX9020 (a
> i.MX53 based machine) stopped working:
>
> # dmesg | grep -i drm
> [0.141829] [drm] Supports vblank timestamp caching Rev 2
Hi Patrick,
On Tue, 2017-10-10 at 10:24 +, Patrick Brünn wrote:
> Hi Philipp,
>
> since commit 790cb4c7c9545953d22d3d425e49b36a711bae5b my display on CX9020 (a
> i.MX53 based machine) stopped working:
>
> # dmesg | grep -i drm
> [0.141829] [drm] Supports vblank timestamp caching Rev 2
On Wed, 2017-10-04 at 23:25 +0100, Bryan O'Donoghue wrote:
> This patch adds logic to correctly setup the write timing parameters
> when blowing an OTP fuse for the i.MX7S/D.
>
> Fixes: 0642bac7da42 ("nvmem: imx-ocotp: add write support")
>
> Signed-off-by: Bryan O'Donoghue
On Wed, 2017-10-04 at 23:25 +0100, Bryan O'Donoghue wrote:
> This patch adds logic to correctly setup the write timing parameters
> when blowing an OTP fuse for the i.MX7S/D.
>
> Fixes: 0642bac7da42 ("nvmem: imx-ocotp: add write support")
>
> Signed-off-by: Bryan O'Donoghue
> ---
>
x-ocotp: add write support")
>
> Signed-off-by: Bryan O'Donoghue <pure.lo...@nexus-software.ie>
Reviewed-by: Philipp Zabel <p.za...@pengutronix.de>
regards
Philipp
x-ocotp: add write support")
>
> Signed-off-by: Bryan O'Donoghue
Reviewed-by: Philipp Zabel
regards
Philipp
Hi Bryan,
a few small nitpicks below.
On Wed, 2017-10-04 at 23:25 +0100, Bryan O'Donoghue wrote:
> It will be useful in later patches to know the register access mode
> and bit-shift to apply to a given input offset.
>
> Fixes: 0642bac7da42 ("nvmem: imx-ocotp: add write support")
>
>
On Wed, 2017-10-04 at 23:25 +0100, Bryan O'Donoghue wrote:
> The i.MX7S/D takes the bank address in the CTRLn.ADDR field and the
> data
> value in one of the DATAx {0, 1, 2, 3} register fields. The current
> write
> routine is based on writing the CTRLn.ADDR field and writing a single
> DATA
>
Hi Bryan,
a few small nitpicks below.
On Wed, 2017-10-04 at 23:25 +0100, Bryan O'Donoghue wrote:
> It will be useful in later patches to know the register access mode
> and bit-shift to apply to a given input offset.
>
> Fixes: 0642bac7da42 ("nvmem: imx-ocotp: add write support")
>
>
On Wed, 2017-10-04 at 23:25 +0100, Bryan O'Donoghue wrote:
> The i.MX7S/D takes the bank address in the CTRLn.ADDR field and the
> data
> value in one of the DATAx {0, 1, 2, 3} register fields. The current
> write
> routine is based on writing the CTRLn.ADDR field and writing a single
> DATA
>
>
> Since OTP programming is one-time destructive its important we
> restrict
> this interface ASAP.
>
> Fixes: 0642bac7da42 ("nvmem: imx-ocotp: add write support")
>
> Signed-off-by: Bryan O'Donoghue <pure.lo...@nexus-software.ie>
Acked-by: Philipp Zabel <p.za...@pengutronix.de>
regards
Philipp
>
> Since OTP programming is one-time destructive its important we
> restrict
> this interface ASAP.
>
> Fixes: 0642bac7da42 ("nvmem: imx-ocotp: add write support")
>
> Signed-off-by: Bryan O'Donoghue
Acked-by: Philipp Zabel
regards
Philipp
On Thu, 2017-10-05 at 11:30 +0900, Masahiro Yamada wrote:
> Add basic reset data for Socionext's new SoC PXs3.
>
> Signed-off-by: Masahiro Yamada
Thanks, applied to the reset/next branch.
regards
Philipp
> ---
>
>
On Thu, 2017-10-05 at 11:30 +0900, Masahiro Yamada wrote:
> Add basic reset data for Socionext's new SoC PXs3.
>
> Signed-off-by: Masahiro Yamada
Thanks, applied to the reset/next branch.
regards
Philipp
> ---
>
> .../devicetree/bindings/reset/uniphier-reset.txt | 3 +++
>
601 - 700 of 3512 matches
Mail list logo