signals (adi_chsel2 and adi_chsel2_b groups)
and up to 8 ADCs through 3 channel select signals (adi_chsel3 and
adi_chsel3_b groups)
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
Compiled only, not tested with an actual ADC.
For reference only, these are the changes introduced by Geert's p
Add pin configuration support for Gyro-ADC, named ADI on r8a7791 SoC.
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
Compiled only, not tested with an actual ADC.
For reference only, these are the changes introduced by Geert's private
review of first sketch of this patch:
* separa
signals (adi_chsel2 and adi_chsel2_b groups)
and up to 8 ADCs through 3 channel select signals (adi_chsel3 and
adi_chsel3_b groups)
Signed-off-by: Jacopo Mondi <jac...@jmondi.org>
---
Compiled only, not tested with an actual ADC.
For reference only, these are the changes introduced by G
Add pin configuration subnode for SCIF2 serial debug interface.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 13 +
1 file changed, 13 insertions(+)
diff --gi
Add device nodes for user leds on Genmai board.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/
Add dt-bindings for Renesas r7s72100 pin controller header file.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
include/dt-bindings/pinctrl/r7s72100-pinctrl.h | 36 ++
1 file changed, 36 insertions(+)
create mode 100644 include/dt-bindings/pinctrl/r7
Add pin controller node with 12 gpio controller sub-nodes to
r7s72100 dtsi.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100.dtsi | 80 +
1 file
Add pin configuration subnode for RIIC2 interface.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/
Add device tree bindings documentation for Renesas RZ/A1 gpio and pin
controller.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
.../bindings/pinctrl/renesas,rza1-pinctrl.txt | 143 +
1 file changed, 143 insertions(+)
create mode 100644
Documen
Add combined gpio and pin controller driver for Renesas RZ/A1
r7s72100 SoC.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
drivers/pinctrl/Kconfig| 10 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-rza1.c
unlock
- use devm_ version of kasprintf (memory returned was not properly free)
- use bitops.h operation ffs and fls to make sure a single bit is set in pmx
mask
- Add Geert's reviewed-by to DTS patches
Jacopo Mondi (8):
pinctrl: Renesas RZ/A1 pin and gpio controller
dt-bindings: pinctrl: Add RZ/A1 b
ess verbose
Jacopo Mondi (7):
pinctrl: Renesas RZ/A1 pin and gpio controller
dt-bindings: pinctrl: Add RZ/A1 bindings doc
arm: dts: dt-bindings: Add Renesas RZ pinctrl header
arm: dts: r7s72100: Add pin controller node
arm: dts: genmai: Add SCIF2 pin group
arm: dts: genmai: Add RIIC2 pin gr
Add device nodes for user leds on Genmai board.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts
b/arch/arm/boot/dts/r7s72100-genm
Add pin configuration subnode for RIIC2 interface.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts
b/arch/arm/boot/dts/r7s72100-genmai.dts
Add combined gpio and pin controller driver for Renesas RZ/A1
r7s72100 SoC.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
drivers/pinctrl/Kconfig| 10 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-rza1.c
Add pin controller node with 12 gpio controller sub-nodes to
r7s72100 dtsi.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/arm/boot/dts/r7s72100.dtsi | 80 +
1 file changed, 80 insertions(+)
diff --git a/arch/arm/boot/dts/r7s72100.
Add pin configuration subnode for SCIF2 serial debug interface.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts
b/arch/arm/boot/dts/r7
Add dt-bindings for Renesas r7s72100 pin controller header file.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
include/dt-bindings/pinctrl/r7s72100-pinctrl.h | 36 ++
1 file changed, 36 insertions(+)
create mode 100644 include/dt-bindings/pinctrl/r7
Add device tree bindings documentation for Renesas RZ/A1 gpio and pin
controller.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
.../bindings/pinctrl/renesas,rza1-pinctrl.txt | 144 +
1 file changed, 144 insertions(+)
create mode 100644
Documen
Add dt-bindings for Renesas r7s72100 pin controller header file.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
include/dt-bindings/pinctrl/r7s72100-pinctrl.h | 16
1 file changed, 16 insertions(+)
create mode 100644 include/dt-bindings/pinctrl/r7s72100-pin
Add pin controller node with 12 gpio controller sub-nodes to
r7s72100 dtsi.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100.dtsi | 78 +
1 file
Add device nodes for user leds on Genmai board.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/
Add pin configuration subnode for SCIF2 serial debug interface.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 12
1 file changed, 12 insertions(+)
diff --gi
Add pin configuration subnode for ETHER ethernet controller.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 41 +++
1 file changed, 41 insertions(+)
diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts
Add device tree bindings documentation for Renesas RZ/A1 gpio and pin
controller.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
.../bindings/pinctrl/renesas,rza1-pinctrl.txt | 218 +
1 file changed, 218 insertions(+)
create mode 100644
Documen
Add combined gpio and pin controller driver for Renesas RZ/A1
r7s72100 SoC.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
drivers/pinctrl/Kconfig| 11 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-rza1.c
syntactic sugar to specify that a pin shall
operate in output mode, ignoring the provided argument.
This pairs with input-enable pin configuration option.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt | 2 ++
drivers/p
ge DT bindings to use GENERIC_PINCONF
- change DT bindings to allow sub-nodes to have "pinmux" property specified
- several renames (register names, DT parse functions, set_mux() function)
Jacopo Mondi (9):
pinctrl: generic: Add bi-directional and output-enable
pinctrl: Renesas RZ/A
Add pin configuration subnode for RIIC2 interface.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/
Document "pinmux" property as part of generic pin controller
documentation.
Fix 2 minor typos in documentation while at there.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
Hi Linus and linux-gpio community.
During development of Renesas RZ/A1 pin controller I'v
Add combined gpio and pin controller driver for Renesas RZ/A1
r7s72100 SoC.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
drivers/pinctrl/Kconfig| 11 +
drivers/pinctrl/Makefile | 1 +
drivers/pinctrl/pinctrl-rza1.c
Add pin configuration subnode for ETHER ethernet controller.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 41 +++
1 file changed, 41 insertions(+)
diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts
Add pin configuration subnode for SCIF2 serial debug interface.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 12
1 file changed, 12 insertions(+)
diff --gi
Add pin configuration subnode for RIIC2 interface.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 9 +
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/
syntactic sugar to specify that a pin shall
operate in output mode, ignoring the provided argument.
This pairs with input-enable pin configuration option.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt | 2 ++
drivers/p
Add PIN_CONF_UNPACK_PARAM and PIN_CONF_UNPACK_ARGS macros useful to
unpack generic properties and their arguments
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
include/linux/pinctrl/pinconf-generic.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/i
Add dt-bindings for Renesas r7s72100 pin controller header file.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
include/dt-bindings/pinctrl/r7s72100-pinctrl.h | 16
1 file changed, 16 insertions(+)
create mode 100644 include/dt-bindings/pinctrl/r7s72100-pin
Add device tree bindings documentation for Renesas RZ/A1 gpio and pin
controller.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
.../bindings/pinctrl/renesas,rza1-pinctrl.txt | 219 +
1 file changed, 219 insertions(+)
create mode 100644
Documen
unction)
v4 -> v5:
- use pinctrl_enable() function in pin controller registration function
- update bindings documentation to incorporate Geert's comments
- add generic properties unpack macros
Jacopo Mondi (10):
pinctrl: generic: Add bi-directional and output-enable
pinctrl: generic: Add macr
Add device nodes for user leds on Genmai board.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/
Add pin controller node with 12 gpio controller sub-nodes to
r7s72100 dtsi.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100.dtsi | 78 +
1 file
Add output-enable generic pin configuration property.
This properties allows enabling/disabling pin's output capabilities
without actually driving any value on the line.
---
v1->v2:
- Expand the property description as suggested by Laurent. I ended up
mentioning the in-famous output buffer :)
Add device tree bindings documentation for Renesas RZ/A1 gpio and pin
controller.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
.../bindings/pinctrl/renesas,rza1-pinctrl.txt | 221 +
1 file changed, 221 insertions(+)
create mode 100644
Documen
Add device nodes for user leds on Genmai board.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/
Add combined gpio and pin controller driver for Renesas RZ/A1
r7s72100 SoC.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
drivers/pinctrl/Kconfig| 11 +
drivers/pinctrl/Makefile |1 +
drivers/pinctrl/pinctrl-rza1.c
o incorporate Geert's comments
- add generic properties unpack macros
v5 -> v6:
- add tables in driver to manage bi-directional and swio flags
- drop dependecies on new generic pin configuration properties
Jacopo Mondi (8):
pinctrl: Renesas RZ/A1 pin and gpio controller
dt-bindings: pinctrl:
Add pin configuration subnode for ETHER ethernet controller.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 35 +++
1 file changed, 35 insertions(+)
diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts
Add pin controller node with 12 gpio controller sub-nodes to
r7s72100 dtsi.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100.dtsi | 78 +
1 file
Add pin configuration subnode for RIIC2 interface.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 8
1 file changed, 8 insertions(+)
diff --git a/arch/arm/boot/
Add pin configuration subnode for SCIF2 serial debug interface.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+rene...@glider.be>
---
arch/arm/boot/dts/r7s72100-genmai.dts | 12
1 file changed, 12 insertions(+)
diff --gi
Add dt-bindings for Renesas r7s72100 pin controller header file.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
include/dt-bindings/pinctrl/r7s72100-pinctrl.h | 16
1 file changed, 16 insertions(+)
create mode 100644 include/dt-bindings/pinctrl/r7s72100-pin
Add device tree source for Renesas GR-Peach board.
GR-Peach is an RZ/A1H based board with 10MB of on-chip SRAM and 8MB
QSPI flash storage.
Add support for the board, and create a 2MB partition to use as rootfs.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
v1->v2
- s/g
Add device tree source for Renesas GR-Peach board.
GR-Peach is an RZ/A1H based board with 10MB of on-chip SRAM and 8MB
QSPI flash storage.
Add support for the board, and create a 2MB partition to use as rootfs.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
Documentation/devi
Add output-enable generic pin configuration property.
This properties allows enabling/disabling pin's output capabilities
without actually driving any value on the line.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
So, after that many discussions I'm now sending this, tha
Add pin configuration subnode for ETHER pin group and enable the interface.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/arm/boot/dts/r7s72100-gr-peach.dts | 38 +
1 file changed, 38 insertions(+)
diff --git a/arch/arm/boot/dts/r7s72
MTU2 multi-function/multi-channel timer/counter is not enabled for
GR-Peach board. The timer is used as clock event source to schedule
wake-ups, and without this enabled all sleeps not performed through busy
waiting hang the board.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
for timer event generations and wake-ups.
After enabling the MTU unit, ETHER is now working properly, so I am re-proposing
this patch, which had been left out from previous gr-peach DTS series because
the interface was not working correctly.
Thanks
j
Jacopo Mondi (3):
ARM: dts: gr-peach: Fix
Fix 'leds' node name indent as it was wrongly aligned.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/arm/boot/dts/r7s72100-gr-peach.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/r7s72100-gr-peach.dts
b/arch/arm/boot/dts/r7s72
Hi Geert
On Wed, Oct 04, 2017 at 05:54:46PM +0200, Geert Uytterhoeven wrote:
> Hi Jacopo,
>
> On Wed, Oct 4, 2017 at 5:40 PM, Jacopo Mondi <jacopo+rene...@jmondi.org>
> wrote:
> > The system clock described by extal_clk is reported to have a frequency
> > of 13.333
s obtained through division accepted by RIIC driver.
Please note that other r7s72100 boards, such as Genmai, report the same
"reduced accuracy" frequency, even if their external clock sources are
effectively 13.333Mhz as gr-peach one.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jm
Hi Simon,
On Thu, Oct 05, 2017 at 10:58:20AM +0200, Jacopo Mondi wrote:
> Add pin configuration subnode for ETHER pin group and enable the interface.
>
> Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
> ---
> arch/arm/boot/dts/r7s72
The OF node name already contains the gpio chip identifier, no need to
append it when creating the label.
The following debug message clearly shows the suffix is not required
"pinctrl-rza1 fcfe3000.pin-controller: Parsed gpiochip gpio-0-0 with 6
pins"
Signed-off-by: Jacopo Mondi &l
, resolution 30ns, wraps every 64440619504ns
ostm: used for clocksource
ostm: used for clock events
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
Suggested-by: Chris Brandt <chris.bra...@renesas.com>
---
arch/arm/boot/dts/r7s72100-gr-peach.dts | 8
1 file changed,
Add pin configuration subnode for ETHER pin group.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/arm/boot/dts/r7s72100-gr-peach.dts | 39 +
1 file changed, 39 insertions(+)
diff --git a/arch/arm/boot/dts/r7s72100-gr-peach.dts
b/arch/ar
suggested by Chris, as that's how
the BSP initializes timers by default.
Thanks
j
Jacopo Mondi (2):
ARM: dts: gr-peach: Add ETHER pin group
ARM: dts: gr-peach: Enable ostm0 and ostm1 timers
arch/arm/boot/dts/r7s72100-gr-peach.dts | 47 +
1 file changed, 47
Hi Geert,
On Wed, Nov 15, 2017 at 02:07:31PM +0100, Geert Uytterhoeven wrote:
> Hi Jacopo,
>
> CC devicetree folks
Yeah, sorry I forgot them. Sorry about this and thanks for adding the
address back!
>
> On Wed, Nov 15, 2017 at 11:55 AM, Jacopo Mondi
> <jacopo+rene...@jmond
Hi Sakari!
On Sat, Nov 25, 2017 at 05:56:14PM +0200, Sakari Ailus wrote:
> On Fri, Nov 17, 2017 at 10:33:55AM +0100, jacopo mondi wrote:
> > Hi Sakari!
> >
[snip]
> > I would like to make sure we're all on the same page with this. My
> > preference would be:
> >
Hi Laurent,
thanks for review comments...
On Mon, Dec 11, 2017 at 06:15:23PM +0200, Laurent Pinchart wrote:
> Hi Jacopo,
>
> Thank you for the patch.
>
[snip]
> > +
> > +/**
> > + * ceu_buffer - Link vb2 buffer to the list of available buffers
>
> If you use kerneldoc comments please make
Hi Hans,
thanks for review comments
On Wed, Dec 13, 2017 at 01:03:03PM +0100, Hans Verkuil wrote:
> On 15/11/17 11:55, Jacopo Mondi wrote:
> > Add driver for Renesas Capture Engine Unit (CEU).
> > +
> > + /* Register the video device */
> > + strncpy(vdev
Hi Laurent,
a few more details on subdevice management
On Mon, Dec 11, 2017 at 06:15:23PM +0200, Laurent Pinchart wrote:
> Hi Jacopo,
>
> Thank you for the patch.
>
> [snip]
>
> > +static int ceu_sensor_bound(struct v4l2_async_notifier *notifier,
> > + struct v4l2_subdev
Hi Sakari!
On Fri, Nov 17, 2017 at 02:36:51AM +0200, Sakari Ailus wrote:
> Hi Jacopo,
>
> On Wed, Nov 15, 2017 at 03:25:11PM +0100, jacopo mondi wrote:
> > Hi Sakari,
> >thanks for review!
>
> You're welcome!
>
> > On Wed, Nov 15, 2017 at 02:45:51PM +0200,
Hi Geert,
On Wed, Nov 15, 2017 at 02:13:43PM +0100, Geert Uytterhoeven wrote:
> Hi Jacopo,
>
> On Wed, Nov 15, 2017 at 11:55 AM, Jacopo Mondi
> <jacopo+rene...@jmondi.org> wrote:
> > Rename CEU clock to match the new platform driver name used in Migo-R.
> >
>
Hi Sakari!
On Fri, Nov 17, 2017 at 02:43:15AM +0200, Sakari Ailus wrote:
> Hi Jacopo,
>
> On Wed, Nov 15, 2017 at 11:56:01AM +0100, Jacopo Mondi wrote:
> >
[snip]
> > +#include
> > #include
> > #include
> > #include
> > @@ -25,8 +26,8 @@
&g
Remove soc_camera framework dependencies from tw9910 sensor driver.
- Handle clock directly
- Register async subdevice
- Add platform specific enable/disable functions
- Adjust build system
This commit does not remove the original soc_camera based driver.
Signed-off-by: Jacopo Mondi <jacopo+r
.
Tested with ov7725 camera sensor on SH4 platform Migo-R.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
drivers/media/platform/Kconfig |9 +
drivers/media/platform/Makefile |2 +
drivers/media/platform/renesas-ceu.c | 1768 ++
3
for CEU video buffers is now reserved with membocks APIs,
and need to be declared as dma_coherent during machine initialization to
remove that architecture specific part from CEU driver.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/sh/boards/mach-migor/setup.c
Copy the soc_camera based driver in v4l2 sensor driver directory.
This commit just copies the original file without modifying it.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
drivers/media/i2c/tw9910.c | 999 +
1 file change
Add bindings documentation for Renesas Capture Engine Unit (CEU).
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
.../devicetree/bindings/media/renesas,ceu.txt | 87 ++
1 file changed, 87 insertions(+)
create mode 100644 Documentation/devicetree/bi
Remove soc_camera framework dependencies from ov772x sensor driver.
- Handle clock directly
- Register async subdevice
- Add platform specific enable/disable functions
- Adjust build system
This commit does not remove the original soc_camera based driver.
Signed-off-by: Jacopo Mondi <jacopo+r
Copy the soc_camera based driver in v4l2 sensor driver directory.
This commit just copies the original file without modifying it.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
drivers/media/i2c/ov772x.c | 1124
1 file changed
Rename CEU clock to match the new platform driver name used in Migo-R.
There are no other sh7722 based devices Migo-R apart, so we can safely
rename this.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/sh/kernel/cpu/sh4a/clock-sh7722.c | 2 +-
1 file changed, 1 insertion
.
Thanks
j
Jacopo Mondi (10):
dt-bindings: media: Add Renesas CEU bindings
include: media: Add Renesas CEU driver interface
v4l: platform: Add Renesas CEU driver
ARM: dts: r7s72100: Add Capture Engine Unit (CEU)
arch: sh: migor: Use new renesas-ceu camera driver
sh: sh7722: Rename CEU
Add Capture Engine Unit (CEU) node to device tree.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/arm/boot/dts/r7s72100.dtsi | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r7s72100.dtsi b/arch/arm/boot/dts/r7s72100.dtsi
Add renesas-ceu header file.
Do not remove the existing sh_mobile_ceu.h one as long as the original
driver does not go away.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
include/media/drv-intf/renesas-ceu.h | 23 +++
1 file changed, 23 insertions(+)
lock_steal()' function.
Suggested-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/sh/boards/mach-migor/setup.c | 29 +++--
1 file changed, 27 insertions(+), 2 deletions(-)
diff --git
a proper fix mainline. Not sending for inclusion at the moment.
Suggested-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
drivers/base/dma-mapping.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/
chitecture, but please do not
consider that patch for inclusion for now.
Thanks
j
Jacopo Mondi (2):
sh: migor: Reserve memory block for CEU
base: dma-mapping: Postpone page_to_pfn() on mmap()
arch/sh/boards/mach-migor/setup.c | 29 +++--
drivers/base/dma-mapping.c
y patches to move Migo-R to use the new CEU driver on
top of them.
Thanks
j
>
> On Wednesday, 8 November 2017 20:05:46 EET Jacopo Mondi wrote:
> > A memory region for CEU video buffer has to be reserved during machine
> > initialization.
> >
> > Originally, i
utines apart,
there's not that much code shared between the two...
>
> The same goes for the two V4L2 SoC camera sensor / video decoder drivers at
> the end of the set.
>
Also in this case I prefer not to remove existing code, as long as
there are platforms using it..
> On Wed, Nov 15, 2017 at
lock_steal()' function.
Suggested-by: Laurent Pinchart <laurent.pinch...@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/sh/boards/mach-migor/setup.c | 28 ++--
1 file changed, 26 insertions(+), 2 deletions(-)
diff --git a/arc
: 8c002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/sh/configs/migor_defconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/sh/configs/migor_defconfig b/arch/sh/configs/migor_defconfig
index e
Hi Niklas,
On Sun, May 13, 2018 at 02:57:55PM +0200, Niklas Söderlund wrote:
> Hi Jacopo,
>
> Thanks for your patch.
>
> On 2018-05-11 12:00:02 +0200, Jacopo Mondi wrote:
> > Describe HDMI input connected to VIN4 interface for R-Car D3 Draak
> > development board.
&g
Hi Sakari,
On Mon, May 07, 2018 at 12:32:19PM +0300, Sakari Ailus wrote:
> Hi Jacopo,
>
> On Wed, Apr 25, 2018 at 01:00:14PM +0200, Jacopo Mondi wrote:
[snip]
> > static int mt9t112_probe(struct i2c_client *client,
> > const struct i2c_device_id *did)
Hi Sakari,
On Tue, May 15, 2018 at 12:50:04AM +0300, Sakari Ailus wrote:
> Hi Jacopo,
>
> On Mon, May 14, 2018 at 04:30:44PM +0200, jacopo mondi wrote:
> > Hi Sakari,
> >
> > On Mon, May 07, 2018 at 12:32:19PM +0300, Sakari Ailus wrote:
> > > Hi Jacopo,
>
Hi Simon,
On Fri, May 11, 2018 at 03:45:16PM +0200, Simon Horman wrote:
> On Fri, May 11, 2018 at 01:25:23PM +0200, Niklas Söderlund wrote:
> > Hi Jacopo,
> >
> > Thanks for your work.
> >
> > On 2018-05-11 12:00:01 +0200, Jacopo Mondi wrote:
> > > Des
Add compatible string for R-Car D3 R8A7795 to list of SoCs supported by
rcar-vin driver.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
Documentation/devicetree/bindings/media/rcar_vin.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings
are available at:
git://jmondi.org/linux d3/media-master/driver
git://jmondi.org/linux d3/media-master/dts
git://jmondi.org/linux d3/media-master/test
git://jmondi.org/vin-tests d3
Thanks
j
Jacopo Mondi (3):
dt-bindings: media: rcar-vin: Add R8A77995 support
arm64: dts: renesas: r8a77995: Add VIN4
Describe VIN4 interface for R-Car D3 R8A77995 SoC.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/arm64/boot/dts/renesas/r8a77995.dtsi | 11 +++
1 file changed, 11 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a77995.dtsi
b/arch/arm64/boot/dts/r
Describe HDMI input connected to VIN4 interface for R-Car D3 Draak
development board.
Signed-off-by: Jacopo Mondi <jacopo+rene...@jmondi.org>
---
arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 68 ++
1 file changed, 68 insertions(+)
diff --git a/arch/arm64/bo
Hi Niklas,
On Thu, May 17, 2018 at 12:23:18AM +0200, Niklas Söderlund wrote:
> Hi Jacopo,
>
> Thanks for your patch.
>
> On 2018-05-16 15:42:09 +0200, Jacopo Mondi wrote:
> > Describe HDMI input connector and ADV7612 HDMI decoder installed on
> > R-Car Gen3 Draak boar
1 - 100 of 1512 matches
Mail list logo