Differs from other Gen3 SoCs in that each controller only supports eight
channels.
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 72 +++
1 file changed, 72 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi
b/arch
Hi!
This adds DT nodes and bindings for the SYS-DMAC on R-Car D3 and enables
the DMAs for SCIF2.
Thanks to Chris, Geert and Simon for the review. This revision adds the
second pair of DMAs to SCIF2 and fixes a typo in the subject line.
CU
Uli
Ulrich Hecht (3):
arm64: dts: r8a77995: add SYS
Adds CAN controller nodes for r8a77995.
Based on a patch for r8a7796 by Chris Paterson.
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 32 +++
1 file changed, 32 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi
b
This patch adds CAN[0-1] pinmux support to the r8a77995 SoC.
Signed-off-by: Ulrich Hecht
---
drivers/pinctrl/sh-pfc/pfc-r8a77995.c | 59 +++
1 file changed, 59 insertions(+)
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
b/drivers/pinctrl/sh-pfc/pfc
Adds external CAN clock node for r8a77995. This clock can be used as
fCAN clock of CAN and CAN FD controller.
Based on a patch for r8a7796 by Chris Paterson.
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 7 +++
1 file changed, 7 insertions(+)
diff --git a
Adds CAN FD controller node for r8a77995.
Based on a patch for r8a7796 by Chris Paterson.
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 25 +
1 file changed, 25 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi
b/arch
This patch adds CAN FD[0-1] pinmux support to the r8a77995 SoC.
Signed-off-by: Ulrich Hecht
---
drivers/pinctrl/sh-pfc/pfc-r8a77995.c | 27 +++
1 file changed, 27 insertions(+)
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
b/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
Signed-off-by: Ulrich Hecht
---
Documentation/devicetree/bindings/net/can/rcar_canfd.txt | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
b/Documentation/devicetree/bindings/net/can/rcar_canfd.txt
index
vised.
CU
Uli
Ulrich Hecht (7):
pinctrl: sh-pfc: r8a77995: Add CAN support
pinctrl: sh-pfc: r8a77995: Add CAN FD support
arm64: dts: r8a77995: Add CAN external clock support
arm64: dts: r8a77995: Add CAN support
arm64: dts: r8a77995: Add CAN FD support
can: rcar_can: document r8a77995 (
Signed-off-by: Ulrich Hecht
---
Documentation/devicetree/bindings/net/can/rcar_can.txt | 13 +++--
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/Documentation/devicetree/bindings/net/can/rcar_can.txt
b/Documentation/devicetree/bindings/net/can/rcar_can.txt
index 06bb7cc
The single SDHI controller is connected to eMMC.
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 44 ++
1 file changed, 44 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
b/arch/arm64/boot/dts/renesas/r8a77995
R-Car D3 (R8A77995) SoC has a R-Car Gen3-compatible I2C controller.
Signed-off-by: Ulrich Hecht
---
Documentation/devicetree/bindings/i2c/i2c-rcar.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/i2c/i2c-rcar.txt
b/Documentation/devicetree/bindings/i2c
Adds compatible string and whitelists for internal DMAC implementation.
Signed-off-by: Ulrich Hecht
---
drivers/mmc/host/renesas_sdhi_internal_dmac.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mmc/host/renesas_sdhi_internal_dmac.c
b/drivers/mmc/host
Hi!
This integrates the SDHI hardware on R-Car D3 and enables the Draak board's
eMMC drive. Includes whitelisting the internal DMAC on D3.
CU
Uli
Ulrich Hecht (4):
mmc: renesas_sdhi: enable R-Car D3 (r8a77995) support
arm64: dts: r8a77995: Add SDHI (MMC) support
arm64: dts: r8a
Adds bindings for the R-Car D3 SoC's SDHI IP.
Signed-off-by: Ulrich Hecht
---
Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/mmc/tmio_mmc.txt
b/Documentation/devicetree/bindings/mmc/tmio_mmc.txt
R-Car D3 has only one SDHI controller.
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi
b/arch/arm64/boot/dts/renesas/r8a77995.dtsi
index b3113003..89cb32e
Hi!
This adds I2C controllers to the D3 device tree and enables I2C busses 0
and 1 on the Draak board. (I2C2 is not connected on that board.)
Includes missing pins, DMA support and the Draak's serial EEPROM.
CU
Uli
Ulrich Hecht (6):
pinctrl: sh-pfc: r8a77995: add missing pins SCL0 and
No devices to add, I2C1 has an external connector only.
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
b/arch/arm64/boot/dts/renesas/r8a77995
Differs from other Gen3 SoCs in that each controller only supports eight
channels.
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 72 +++
1 file changed, 72 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi
b/arch
Tested on Draak.
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi
b/arch/arm64/boot/dts/renesas/r8a77995.dtsi
index 04a392a..5fa7572 100644
--- a/arch/arm64/boot/dts/renesas
Enables EEPROM on I2C0 on the Draak board.
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 17 +
1 file changed, 17 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
index
Hi!
This adds DT nodes and bindings for the SYS-DMAC on R-Car D3 and enables
the DMAs for SCIF2.
CU
Uli
Ulrich Hecht (3):
arm64: dts: r8a77995: add SYS-DMAC nodes
arm64: dts: r8a7795: add DMA for SCIF2
dmaengine: rcar-dmac: Document R-Car D3 bindings
.../devicetree/bindings/dma/renesas
Required for I2C0 operation.
Signed-off-by: Ulrich Hecht
---
drivers/pinctrl/sh-pfc/pfc-r8a77995.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
b/drivers/pinctrl/sh-pfc/pfc-r8a77995.c
index 89b7541..2c9a71a 100644
--- a/drivers/pinctrl/sh-pfc/pfc
R8A77995's SYS-DMAC is R-Car Gen3-compatible.
Signed-off-by: Ulrich Hecht
---
Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/dma/renesas,rcar-dmac.txt
b/Documentation/devicetree/binding
Same as other Gen3 SoCs.
Signed-off-by: Ulrich Hecht
---
drivers/i2c/busses/i2c-rcar.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/i2c/busses/i2c-rcar.c b/drivers/i2c/busses/i2c-rcar.c
index 15d764a..9469f01 100644
--- a/drivers/i2c/busses/i2c-rcar.c
+++ b/drivers/i2c/busses/i2c
Defines R-Car D3 I2C controllers 0-3.
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 64 +++
1 file changed, 64 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi
b/arch/arm64/boot/dts/renesas/r8a77995.dtsi
index
HSCIF has facilities that allow changing the timeout after which an RX
interrupt is triggered even if the FIFO is not filled. This patch allows
changing the default (15 bits of silence) using the existing sysfs
attribute "rx_fifo_timeout".
Signed-off-by: Ulrich Hecht
---
drivers/tty
, meaning center) using the
sysfs attribute "rx_sampling_point".
Signed-off-by: Ulrich Hecht
---
drivers/tty/serial/sh-sci.c | 62 +++--
drivers/tty/serial/sh-sci.h | 4 +++
2 files changed, 64 insertions(+), 2 deletions(-)
diff --git a/drivers/tty
touch-ups suggested in Geert's review of the standalone version.
CU
Uli
Ulrich Hecht (2):
serial: sh-sci: Support for variable HSCIF hardware RX timeout
serial: sh-sci: Support for HSCIF RX sampling point adjustment
drivers/tty/serial/sh-sci.c | 114 +-
HSCIF has facilities that allow changing the timeout after which an RX
interrupt is triggered even if the FIFO is not filled. This patch allows
changing the default (15 bits of silence) using the existing sysfs
attribute "rx_fifo_timeout".
Signed-off-by: Ulrich Hecht
---
drivers/tty
This fixes the warning "pwm-backlight backlight: backlight supply power
not found, using dummy regulator".
Fixes: b33be33670217533 ("arm64: dts: salvator-x: Add panel backlight support")
Reported-by: Geert Uytterhoeven
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/
On Mon, Jul 31, 2017 at 1:13 PM, Laurent Pinchart
wrote:
>> +static int max9260_probe(struct serdev_device *serdev)
>> +{
>> + struct max9260_device *dev;
>> + struct i2c_adapter *adap;
>> + int ret;
>> +
>> + dev = kzalloc(sizeof(*dev), GFP_KERNEL);
>> + if (!dev)
>> +
On Wed, Jul 19, 2017 at 5:00 PM, Wolfram Sang wrote:
>> +{
>> + wait_event_interruptible_timeout(dev->rx_wq,
>> + dev->rx_state <= RX_FRAME_ERROR,
>> + HZ/2);
>
> I'd suggest to drop the interruptible. It can be done but it is usually
> not trivial to abort the operatio
On Wed, Jul 19, 2017 at 1:06 AM, Rob Herring wrote:
>> static inline struct serdev_controller *to_serdev_controller(struct device
>> *d)
>> @@ -172,7 +180,7 @@ static inline void serdev_controller_write_wakeup(struct
>> serdev_controller *ctrl
>> {
>> struct serdev_device *serdev = ctr
Adds an interface for slave device multiplexing using the mux subsystem.
Signed-off-by: Ulrich Hecht
---
drivers/tty/serdev/Kconfig | 1 +
drivers/tty/serdev/Makefile | 2 +-
drivers/tty/serdev/core.c | 13 -
drivers/tty/serdev/mux.c| 66
Adds serial port SCIF1 and the MAX9260 deserializers connected to it.
Signed-off-by: Ulrich Hecht
---
arch/arm/boot/dts/r8a7792-blanche.dts | 52 +++
1 file changed, 52 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7792-blanche.dts
b/arch/arm/boot/dts/r8a7792
serdev controllers may depend on other devices (such as multiplexers)
and thus require deferred probing support.
Signed-off-by: Ulrich Hecht
---
drivers/tty/serial/serial_core.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial
This driver implements tunnelling of i2c requests over GMSL via a
MAX9260 deserializer. It provides an i2c adapter that can be used
to reach devices on the far side of the link.
Signed-off-by: Ulrich Hecht
---
drivers/media/i2c/Kconfig | 6 +
drivers/media/i2c/Makefile | 1 +
drivers
This adds a new DT property to define the index used by a multiplexer to
select the device.
Signed-off-by: Ulrich Hecht
---
Documentation/devicetree/bindings/serial/slave-device.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree/bindings/serial/slave-device.txt
Adds serdev_device_set_parity() and an implementation for ttyport.
Signed-off-by: Ulrich Hecht
---
drivers/tty/serdev/core.c | 12
drivers/tty/serdev/serdev-ttyport.c | 18 ++
include/linux/serdev.h | 10 ++
3 files changed, 40
t respond
correctly
- max9260: change a number of length-bearing variables to size_t
- dt: number max9260 devices according to their "reg" node
Ulrich Hecht (6):
serdev: add method to set parity
serdev: add multiplexer support
serial: core: support deferring serdev contr
On Mon, Jul 31, 2017 at 11:02 AM, Peter Rosin wrote:
> Hi Ulrich,
>
> This patch looks good to me. Let me know if I should feed this
> through the mux subsystem or if it will take some other route.
Please pick it up, thanks.
> In case someone else ends up taking it:
> Acked-by: Peter Rosin
CU
Adds serial port SCIF1 and the MAX9260 deserializers connected to it.
Signed-off-by: Ulrich Hecht
---
arch/arm/boot/dts/r8a7792-blanche.dts | 52 +++
1 file changed, 52 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7792-blanche.dts
b/arch/arm/boot/dts/r8a7792
This driver implements tunnelling of i2c requests over GMSL via a
MAX9260 deserializer. It provides an i2c adapter that can be used
to reach devices on the far side of the link.
Signed-off-by: Ulrich Hecht
---
drivers/media/i2c/Kconfig | 6 +
drivers/media/i2c/Makefile | 1 +
drivers
serdev controllers may depend on other devices (such as multiplexers)
and thus require deferred probing support.
Signed-off-by: Ulrich Hecht
---
drivers/tty/serial/serial_core.c | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial
Adds serdev_device_set_parity() and an implementation for ttyport.
Signed-off-by: Ulrich Hecht
---
drivers/tty/serdev/core.c | 12
drivers/tty/serdev/serdev-ttyport.c | 17 +
include/linux/serdev.h | 4
3 files changed, 33 insertions
controllers ("serial: core: support deferring serdev
controller registration"), hopefully correctly.
This series depends on the "pinctrl: sh-pfc: r8a7792: Add SCIF1 pin groups"
patch as well as v15 of the mux subsystem series ("[PATCH v15 00/13] mux
controller abstraction a
Adds an interface for slave device multiplexing using the mux subsystem.
Signed-off-by: Ulrich Hecht
---
drivers/tty/serdev/Kconfig | 3 +++
drivers/tty/serdev/Makefile | 1 +
drivers/tty/serdev/core.c | 14 +-
drivers/tty/serdev/mux.c| 66
Required for __must_check.
Signed-off-by: Ulrich Hecht
---
include/linux/mux/consumer.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/linux/mux/consumer.h b/include/linux/mux/consumer.h
index 5577e1b..ea96d4c 100644
--- a/include/linux/mux/consumer.h
+++ b/include/linux/mux
On Fri, Jun 30, 2017 at 11:19 AM, Geert Uytterhoeven
wrote:
> Hi Ulrich,
>
> On Fri, May 19, 2017 at 3:07 PM, Ulrich Hecht
> wrote:
>> Used to differentiate between models with 3 and 6 inputs.
>>
>> Signed-off-by: Ulrich Hecht
>> ---
>> drivers/media/
Fixes a crash on Renesas R8A7793 Gose board that uses these "compatible"
entries.
Signed-off-by: Ulrich Hecht
---
drivers/media/i2c/adv7180.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
index 78de7dd..3df28f2 10
Add SCIF1 and SCIF2 pin groups to the R8A7792 PFC driver.
Signed-off-by: Ulrich Hecht
---
Superseding "[PATCH] pinctrl: sh-pfc: r8a7792: Add SCIF1 pin groups", this
adds the missing SCIF1 control pins as well as SCIF2, as suggested by Geert.
CU
Uli
drivers/pinctrl/sh-pfc/pfc-r8a7
Adds an interface for slave device multiplexing, and an implementation
for GPIO-based multiplexers.
Signed-off-by: Ulrich Hecht
---
drivers/tty/serdev/Kconfig| 3 ++
drivers/tty/serdev/Makefile | 1 +
drivers/tty/serdev/core.c | 43 ++-
drivers/tty/serdev/mux
This driver implements tunnelling of i2c requests over GMSL via a
MAX9260 deserializer. It provides an i2c adapter that can be used
to reach devices on the far side of the link.
Signed-off-by: Ulrich Hecht
---
drivers/media/i2c/Kconfig | 6 +
drivers/media/i2c/Makefile | 1 +
drivers
Adds serial port SCIF1 and the MAX9260 deserializers connected to it.
Signed-off-by: Ulrich Hecht
---
arch/arm/boot/dts/r8a7792-blanche.dts | 45 +++
1 file changed, 45 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7792-blanche.dts
b/arch/arm/boot/dts/r8a7792
implement this functionality
in serdev, or how to improve it. Thank you.
CU
Uli
Ulrich Hecht (4):
serdev: add method to set parity
serdev: add GPIO-based multiplexer support
max9260: add driver for i2c over GMSL passthrough
ARM: dts: blanche: add SCIF1 and MAX9260 deserializer
arch/ar
Adds serdev_device_set_parity() and an implementation for ttyport.
Signed-off-by: Ulrich Hecht
---
drivers/tty/serdev/core.c | 12
drivers/tty/serdev/serdev-ttyport.c | 17 +
include/linux/serdev.h | 4
3 files changed, 33 insertions
Add SCIF1 pin groups to the R8A7792 PFC driver.
Signed-off-by: Ulrich Hecht
---
These are the pins the MAX9260 deserializers are connected to on Blanche.
CU
Uli
drivers/pinctrl/sh-pfc/pfc-r8a7792.c | 23 +++
1 file changed, 23 insertions(+)
diff --git a/drivers/pinctrl
To differentiate between two classes of chip packages that have
different numbers of input ports.
Signed-off-by: Ulrich Hecht
---
Documentation/devicetree/bindings/media/i2c/adv7180.txt | 15 +++
1 file changed, 15 insertions(+)
diff --git a/Documentation/devicetree/bindings/media
Identical to the setup on Koelsch.
Signed-off-by: Ulrich Hecht
Reviewed-by: Laurent Pinchart
---
arch/arm/boot/dts/r8a7793-gose.dts | 68 --
1 file changed, 66 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7793-gose.dts
b/arch/arm/boot
Adds VIN, decoder and connector.
Signed-off-by: Ulrich Hecht
---
arch/arm/boot/dts/r8a7793-gose.dts | 59 ++
1 file changed, 59 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7793-gose.dts
b/arch/arm/boot/dts/r8a7793-gose.dts
index 30f0835..76e3aca 100644
Used to differentiate between models with 3 and 6 inputs.
Signed-off-by: Ulrich Hecht
---
drivers/media/i2c/adv7180.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c
index bdbbf8c..78de7dd 100644
--- a/drivers/media/i2c/adv7180.c
- modeled HDMI decoder input/output and connector
- added "renesas,rcar-gen2-vin" compat strings
- removed unnecessary "remote" node and aliases
- set ADV7612 interrupt to GP4_2
Ulrich Hecht (4):
ARM: dts: gose: add HDMI input
media: adv7180: add adv7180cp, adv7180st c
On Fri, May 12, 2017 at 12:00 PM, Laurent Pinchart
wrote:
>> * arm64: dts: r8a7795-salvator-x: Enable PWM2
>
> I've asked Ulrich for a clarification on this patch as I'm not sure it's
> needed, but he hasn't answered yet. Could we delay merging it until the
> situation is clarified ?
Enabling it
From: Takeshi Kihara
This patch adds PWM{0,1,2,3,4,5,6} device nodes for R8A7796 SoC.
Signed-off-by: Takeshi Kihara
[uli: added resets, shortened reg lengths to 8]
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 70
1 file changed
Add device tree bindings for the PWM controller found on R-Car M3-W SoCs.
Signed-off-by: Ulrich Hecht
---
Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/pwm/renesas,pwm-rcar.txt
b/Documentation
From: Laurent Pinchart
The panel backlight is controlled through a GPIO and a PWM channel.
Signed-off-by: Laurent Pinchart
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salv
The panel backlight is controlled through a GPIO and a PWM channel.
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
b/arch/arm64
From: Takeshi Kihara
This patch adds PWM{0,1,2,3,4,5,6} pins, groups and functions to
R8A7796 SoC.
Signed-off-by: Takeshi Kihara
Signed-off-by: Ulrich Hecht
---
drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 153 +++
1 file changed, 153 insertions(+)
diff --git a
From: Takeshi Kihara
This patch enables PWM2 for Salvator-X board on R8A7795 SoC.
Signed-off-by: Takeshi Kihara
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 12
1 file changed, 12 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas
Kihara (3):
pinctrl: sh-pfc: r8a7796: Add PWM pins, groups and functions
arm64: dts: r8a7796: Add PWM device nodes
arm64: dts: r8a7795-salvator-x: Enable PWM2
Ulrich Hecht (2):
arm64: dts: r8a7796: salvator-x: Add panel backlight support
dt-bindings: pwm: Add R-Car M3-W device tre
From: Ryo Kodama
This patch adds PWM clock for PWM.
Signed-off-by: Ryo Kodama
Signed-off-by: Takeshi Kihara
[uli: changed from S3D4 to S0D12 in accordance with datasheet]
Signed-off-by: Ulrich Hecht
---
drivers/clk/renesas/r8a7796-cpg-mssr.c | 1 +
1 file changed, 1 insertion(+)
diff --git
From: Ryo Kodama
This patch adds support of PWM2 device for Salvator-X board on
R8A7796 SoC.
Signed-off-by: Ryo Kodama
Signed-off-by: Takeshi Kihara
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 13 +
1 file changed, 13 insertions(+)
diff
On Wed, Apr 26, 2017 at 9:50 AM, Simon Horman wrote:
> On Mon, Apr 24, 2017 at 12:02:17PM +0200, Ulrich Hecht wrote:
>> On Mon, Apr 24, 2017 at 10:35 AM, Laurent Pinchart
>> wrote:
>> > Hi Ulrich,
>> >
>> > On Monday 24 Apr 2017 10:22:31 Ulrich Hecht wr
On Mon, Apr 24, 2017 at 10:35 AM, Laurent Pinchart
wrote:
> Hi Ulrich,
>
> On Monday 24 Apr 2017 10:22:31 Ulrich Hecht wrote:
>> On Mon, Apr 24, 2017 at 9:59 AM, Laurent Pinchart wrote:
>> > How about using pwm1 for backlight as done in "[PATCH v2 09/13] arm64:
>&
On Mon, Apr 24, 2017 at 9:59 AM, Laurent Pinchart
wrote:
> How about using pwm1 for backlight as done in "[PATCH v2 09/13] arm64: dts:
> r8a7795: salvator-x: Add panel backlight support" ?
Makes sense. Simon, should that go in a separate patch, or should I
add it to this one?
CU
Uli
On Mon, Apr 24, 2017 at 9:49 AM, Simon Horman wrote:
> Given it was over a year ago I hope you can understand that I don't recall
> why this wasn't accepted.
I didn't remember having sent it myself, so, yes, I do understand. :)
I just thought there might be something obvious about it that I'm
mis
On Sat, Apr 22, 2017 at 10:49 AM, Rob Landley wrote:
>
>
> On 04/21/2017 02:26 AM, Geert Uytterhoeven wrote:
>> According to the SH7751R datasheet, SCFCR does have the RTRG1 and RTRG0 bits.
>> I assume the problem goes away if you comment out the call to
>> scif_set_rtrg()?
>
> The current code h
On Fri, Apr 21, 2017 at 9:35 AM, Kuninori Morimoto
wrote:
>
> Hi Ulrich
>
>> > And we already have a correct v3 from you in patchwork:
>> > https://patchwork.kernel.org/patch/8711801/
>>
>> Whoops...
>>
>> In my defense, that was over a year ago. Simon, any reason this didn't
>> make it in?
>
> If
On Thu, Apr 20, 2017 at 7:51 PM, Geert Uytterhoeven
wrote:
> And we already have a correct v3 from you in patchwork:
> https://patchwork.kernel.org/patch/8711801/
Whoops...
In my defense, that was over a year ago. Simon, any reason this didn't
make it in?
CU
Uli
On Thu, Apr 20, 2017 at 4:23 PM, Geert Uytterhoeven
wrote:
> Hi Uli,
>
> On Wed, Apr 19, 2017 at 3:24 PM, Ulrich Hecht
> wrote:
>> This is a straight port from the BSP, enabling PWM1 and PWM2 on the
>> Salvator-X boards. For r8a7796 it also adds the required infrastru
From: Ryo Kodama
This patch adds support of PWM{1,2} device for Salvator-X board on
R8A7796 SoC.
Signed-off-by: Ryo Kodama
Signed-off-by: Takeshi Kihara
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 21 +
1 file changed, 21
From: Takeshi Kihara
This patch adds PWM{0,1,2,3,4,5,6} device nodes for R8A7796 SoC.
Signed-off-by: Takeshi Kihara
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 63
1 file changed, 63 insertions(+)
diff --git a/arch/arm64/boot
From: Takeshi Kihara
This patch enables PWM{1,2} for Salvator-X board on R8A7795 SoC.
Signed-off-by: Takeshi Kihara
Signed-off-by: Ulrich Hecht
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 22 ++
1 file changed, 22 insertions(+)
diff --git a/arch/arm64/boot
From: Takeshi Kihara
This patch adds PWM{0,1,2,3,4,5,6} pins, groups and functions to
R8A7796 SoC.
Signed-off-by: Takeshi Kihara
Signed-off-by: Ulrich Hecht
---
drivers/pinctrl/sh-pfc/pfc-r8a7796.c | 153 +++
1 file changed, 153 insertions(+)
diff --git a
From: Ryo Kodama
This patch adds PWM clock for PWM.
Signed-off-by: Ryo Kodama
Signed-off-by: Takeshi Kihara
Signed-off-by: Ulrich Hecht
---
drivers/clk/renesas/r8a7796-cpg-mssr.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/renesas/r8a7796-cpg-mssr.c
b/drivers/clk
Hi!
This is a straight port from the BSP, enabling PWM1 and PWM2 on the
Salvator-X boards. For r8a7796 it also adds the required infrastructure
(clock and pins).
Not fully tested because I cannot find my breakout adapter. Looks OK from
the software side, though.
CU
Uli
Ryo Kodama (2):
clk: r
1. Do not set the RX trigger level for software timeout devices on reset;
there is no timeout by default, and data will rot.
2. Do set the RX trigger level for hardware timeout devices when set
via sysfs attribute.
Fixes SCIFA-type serial consoles.
Signed-off-by: Ulrich Hecht
Tested-by: Geert
On Wed, Feb 8, 2017 at 11:54 AM, Simon Horman wrote:
> On Fri, Feb 03, 2017 at 11:38:20AM +0100, Ulrich Hecht wrote:
>> Enables the SCIF hooked up to the DEBUG1 connector.
>>
>> Signed-off-by: Ulrich Hecht
>> Reviewed-by: Geert Uytterhoeven
>
> Hi Ulrich,
>
&
On Tue, Feb 7, 2017 at 3:40 PM, Geert Uytterhoeven wrote:
> Hi Ulrich,
>
> On Fri, Feb 3, 2017 at 11:38 AM, Ulrich Hecht
> wrote:
>> Allows tuning of the RX FIFO fill threshold and timeout. (The latter is
>> only applicable to SCIFA and SCIFB).
>>
>> Signed-
Allows tuning of the RX FIFO fill threshold and timeout. (The latter is
only applicable to SCIFA and SCIFB).
Signed-off-by: Ulrich Hecht
Reviewed-by: Geert Uytterhoeven
---
drivers/tty/serial/sh-sci.c | 87 +
1 file changed, 87 insertions(+)
diff
ure to create sysfs attribute
- r8a7796 DT: add control pins, rtscts flag
Ulrich Hecht (4):
serial: sh-sci: increase RX FIFO trigger defaults for (H)SCIF
serial: sh-sci: SCIFA/B RX FIFO software timeout
serial: sh-sci: make RX FIFO parameters tunable via sysfs
arm64: dts: r8a7796: salvato
.
Signed-off-by: Ulrich Hecht
---
drivers/tty/serial/sh-sci.c | 101 +---
1 file changed, 68 insertions(+), 33 deletions(-)
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
index 520e344..4a165ed 100644
--- a/drivers/tty/serial/sh
Enables the SCIF hooked up to the DEBUG1 connector.
Signed-off-by: Ulrich Hecht
Reviewed-by: Geert Uytterhoeven
---
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
b/arch
Sets reasonable trigger defaults for the various SCIF variants.
Also corrects the FIFO size for SH7705-style ports.
Signed-off-by: Ulrich Hecht
Reviewed-by: Geert Uytterhoeven
---
drivers/tty/serial/sh-sci.c | 29 -
1 file changed, 28 insertions(+), 1 deletion
d.
Signed-off-by: Ulrich Hecht
---
drivers/tty/serial/sh-sci.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/tty/serial/sh-sci.h b/drivers/tty/serial/sh-sci.h
index 30b6d67..971b2ab 100644
--- a/drivers/tty/serial/sh-sci.h
+++ b/drivers/tty/serial/sh-sci.h
@@ -15
Enables the SCIF hooked up to the DEBUG1 connector.
Signed-off-by: Ulrich Hecht
Reviewed-by: Geert Uytterhoeven
---
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
b/arch
Sets the closest match for a desired RX trigger level.
Signed-off-by: Ulrich Hecht
Reviewed-by: Geert Uytterhoeven
---
drivers/tty/serial/sh-sci.c | 59 +
1 file changed, 59 insertions(+)
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial
Sets reasonable trigger defaults for the various SCIF variants.
Also corrects the FIFO size for SH7705-style ports.
Signed-off-by: Ulrich Hecht
Reviewed-by: Geert Uytterhoeven
---
drivers/tty/serial/sh-sci.c | 29 -
1 file changed, 28 insertions(+), 1 deletion
.
Signed-off-by: Ulrich Hecht
---
drivers/tty/serial/sh-sci.c | 100 +---
1 file changed, 67 insertions(+), 33 deletions(-)
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c
index ae9b10a..17a2be3 100644
--- a/drivers/tty/serial/sh
201 - 300 of 560 matches
Mail list logo