tree:
https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git
topic/renesas-overlays
head: c62872358e9767f9b0d00fa4b023484d59e4ba65
commit: 3cc2e4a7426c6f0d2e4de08283737840ed495779 [2/85] OF: DT-Overlay configfs
interface (v7)
config: sparc64-allyesconfig (attached as .conf
On Wednesday, September 07, 2016 10:32:59 AM Viresh Kumar wrote:
> On 06-09-16, 14:18, Geert Uytterhoeven wrote:
> > Add the compatible string for supporting the generic cpufreq driver on
> > the Renesas R-Car V2H (r8a7792) SoC.
> >
> > Signed-off-by: Geert Uytterhoeven
> > ---
> > Untested due t
The wpf_configure() function can be called both from IRQ and non-IRQ
contexts, use spin_lock_irqsave().
Signed-off-by: Laurent Pinchart
---
drivers/media/platform/vsp1/vsp1_wpf.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/vsp1/vsp1_wpf.c
b/dr
From: Kieran Bingham
The DFE and FRE interrupts are both fired at frame completion, as each
display list processes a single frame. This won't be true anymore when
using image partitioning, switch to DFE in preparation.
Signed-off-by: Laurent Pinchart
Signed-off-by: Kieran Bingham
---
drivers/
From: Kieran Bingham
The frame-end function releases and completes the buffers on the input
and output entities of the pipe before marking the pipe->state as
'STOPPED'. This introduces a race whereby with the pipe->state still
'RUNNING', a QBUF handler can commence processing a frame before the
f
From: Kieran Bingham
Adapt vsp1_video_pipeline_run() such that it can iterate each partition
required for constructing this frame's display list chain in the event
that multiple display lists are required to process in hardware.
The first display list is held as the head list object, whilst any
From: Kieran Bingham
The partition algorithm needs to determine the capabilities of each
entity in the pipeline to identify the correct maximum partition width.
Extend the vsp1 entity operations to provide a max_width operation and
use this call to calculate the number of partitions that will be
Cropping on the WPF sink pad restricts the left and top coordinates to
0-255. The same result can be obtained by cropping on the RPF without
any such restriction, this feature isn't useful. Disable it.
Signed-off-by: Laurent Pinchart
---
drivers/media/platform/vsp1/vsp1_rwpf.c | 37 +
Some WPF instances, on Gen3 devices, can perform 90° rotation when
writing frames to memory. Implement support for this using the
V4L2_CID_ROTATE control.
Signed-off-by: Laurent Pinchart
---
drivers/media/platform/vsp1/vsp1_rpf.c | 2 +-
drivers/media/platform/vsp1/vsp1_rwpf.c | 5 +
driv
From: Kieran Bingham
When display lists are linked in a chain, they will be processed
automatically by the hardware, with each list linking to the next. Only
on the last display list will the frame end interrupt be fired to mark
the completion event.
Upon frame-end, the chain will be iterated to
Replace the current boolean parameter (full / !full) with an explicit
enum.
- VSP1_ENTITY_PARAMS_INIT for parameters to be configured at pipeline
initialization time only (V4L2 stream on or DRM atomic update)
- VSP1_ENTITY_PARAMS_RUNTIME for all parameters that can be freely
modified at runtim
The new VSP1_ENTITY_PARAMS_PARTITION configuration parameters type
covers all registers that need to be configured for every partition.
This prepares for support of image partitioning, and replaces the
.set_memory() operation as the memory registers take different values
for every partition.
Signe
From: Kieran Bingham
The vsp1_pipeline_ready() and vsp1_pipeline_run() functions must be
called with the pipeline lock held, fix the resume code path.
Signed-off-by: Kieran Bingham
Signed-off-by: Laurent Pinchart
---
drivers/media/platform/vsp1/vsp1_pipe.c | 3 +++
1 file changed, 3 insertion
Hello,
This patch series adds support for scaling and rotation to the VSP1 driver on
the R-Car Gen3 SoCs.
Unlike Gen2 that can scale full resolution images, the Gen3 VSP scaler has a
width limitation that prevent full images from being processed in one go. They
must be partitioned in slices that
The RPF cropping offset for the chroma planes is incorrectly computed,
it needs to be divided by the horizontal subsampling factor.
Signed-off-by: Laurent Pinchart
---
drivers/media/platform/vsp1/vsp1_rpf.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/media/platf
The subdev userspace API isn't serialized in the core, serialize access
to formats and selection rectangles in the driver.
Signed-off-by: Laurent Pinchart
---
drivers/media/platform/vsp1/vsp1_bru.c| 28 +++-
drivers/media/platform/vsp1/vsp1_clu.c| 15 ---
drivers/
Pipelines can only be run if all their video nodes are streaming. Commit
b4dfb9b35a19 ("[media] v4l: vsp1: Stop the pipeline upon the first
STREAMOFF") fixed the pipeline stop sequence, but introduced a race
condition that makes it possible to run a pipeline after stopping the
stream on a video nod
Hello Uffe
Thank you for your reply.
On 9/13/2016, Ulf Hansson wrote:
> Because, if you have an external regulator feeding the mmc with power you
> should set it up and use it.
But in many board designs, there is no control over the regulator supply (or
you would rather have your bootloader do
On Wednesday, September 7, 2016 9:49:30 AM CEST Simon Horman wrote:
> Second Round of Renesas ARM Based SoC DT Updates for v4.9
>
> Fixes (for v4.9):
> * Correct PWM clock parent on r8a7794 SoC
>
> Clean-up:
> * Remove obsolete vsp1 properties from r8a779[01] SoCs
>
> New boards:
> * Add r8a7792
On Thu, Sep 08, 2016 at 10:32:59PM +0300, Sergei Shtylyov wrote:
> From: Grigory Kletsko
>
> Impelment MSI setup_irqs() method which enables allocation of several MSIs
> at once.
>
> [Sergei Shtylyov: removed unrelated/unneeded changes, fixed too long lines,
> reordered the variable declarations
On Wed, Sep 07, 2016 at 11:22:14PM +0300, Sergei Shtylyov wrote:
> From: Grigory Kletsko
>
> Initially, the PCIe link speed is set up only at 2.5 GT/s.
> For better performance, we're trying to increase link speed to 5 GT/s.
>
> [Sergei Shtylyov: indented the macro definitions with tabs, rename
On Fri, Sep 09, 2016 at 01:26:18AM +0300, Sergei Shtylyov wrote:
> The R-Car PCIe driver causes 13 warnings from scripts/checkpatch.pl --
> let's fix at least 10 easier ones:
>
> - line over 80 characters;
>
> - blank line missing after declarations;
>
> - statements not starting on a tabstop.
>
On 13 September 2016 at 15:50, Chris Brandt wrote:
> Here's a question:
>
> The DT regulator method is good if you want to be able to control the
> regulator at run-time by the system.
>
> But for MMC and SDHI, why isn't there a way to just set the OCR voltage in
> the board's DT if it's fixed (
Hi Geert,
please consider pulling updated UHS-I SDR-104 support for sh_mobile_sdhi
(drivers v7).
This updates a branch you already have in renesas-drivers,
topic/sdr104-v6, which should be dropped.
This pull request is based on mmc/next.
The following changes since commit 53fbd6126b3bdabf24f61
Hi Geert,
please consider pulling updated UHS-I SDR-104 support for sh_mobile_sdhi
(integration v7).
This updates a branch you already have in renesas-drivers,
topic/sdr104-v6, which should be dropped.
This pull request is based on renesas-next-20160908-v4.8-rc1:
This pull request is a companio
Hi Niklas,
Thank you for the patch
On Tuesday 13 Sep 2016 16:03:11 Niklas Söderlund wrote:
> Pins not associated with a GPIO port can still have other configuration
> parameters. Add a new macro SH_PFC_PIN_NAMED_CFG which allows for named
> pins to be declared with a set of configurations. The ne
Hi Geert,
On Tuesday 13 Sep 2016 14:19:56 Geert Uytterhoeven wrote:
> On Wed, Aug 17, 2016 at 2:20 PM, Laurent Pinchart wrote:
> > This patch series implements support for the Renesas R-Car VSP1 1-D
> > histogram generator (HGO). It is based on top of the latest media tree's
> > master branch, and
On Monday, August 15, 2016 10:55:35 AM CEST Simon Horman wrote:
> Renesas ARM Based SoC DT Updates for v4.9
>
> * Add DU, VIN, I2C, SDHI, EtherAVB, GPIO support to r8a7792
> * Enable CAN0 on r8a7792/blanche
> * Enable sound on r8a7794/silk
> * Correct SDHI register size on r8a7794
>
Pulled into
There are pins on the Salvator-X which is not part of a GPIO bank nor
can be muxed between different functions. They do however allow for the
drive-strength to be configured. Add those pins to the list of pins and
to the drive-strength configuration registers.
The pins can now be referred to in DT
Group the QSPI0 and QSPI1 pins into similar groups found in other sh-pfc
drivers. The pins can not be muxed between functions other then QSPI
but there drive strength can be controlled.
Signed-off-by: Niklas Söderlund
---
drivers/pinctrl/sh-pfc/pfc-r8a7795.c | 69 +++
Pins not associated with a GPIO port can still have other configuration
parameters. Add a new macro SH_PFC_PIN_NAMED_CFG which allows for named
pins to be declared with a set of configurations. The new macro is an
modification of SH_PFC_PIN_NAMED to allow for optional configuration to
be assigned.
Hi,
This series adds support to control the drive strength for none GPIO
pins. All pins expect one (FSCLKST) which can have its drive strength
controlled is now supported. I have also added the new pins to the
correct groups, or added groups to mimic other sh-pfc drivers. One
notable exception
Group the AVB pins into similar groups found in other sh-pfc drivers.
The pins can not be muxed between functions other then AVB but there
drive strength can be controlled.
The group avb_mdc containing ADV_MDC and ADV_MDIO are on other SoCs
called avb_mdio. In pfc-r8a7795 the adv_mdc group already
Here's a question:
The DT regulator method is good if you want to be able to control the regulator
at run-time by the system.
But for MMC and SDHI, why isn't there a way to just set the OCR voltage in the
board's DT if it's fixed (other than making a fixed regulator node)?
Why isn't there a mmc
On 9/13/2016, Ulf Hansson wrote:
> Regarding the ocr_mask; How do these SoCs provides the power to the mmc/sd
> card?
>
> Do note, I am *not* talking about the I/O voltage but the core power to
> the card.
The SoC does not *provide* power to the card. It's not that fancy. How the 3.3v
is supplie
Hi Ulf,
On Tue, Sep 13, 2016 at 2:57 PM, Ulf Hansson wrote:
> On 12 September 2016 at 16:15, Chris Brandt wrote:
>> In moving platforms from board files to DT, there still needs to be a way
>> to set the ocr_mask setting for the tmio driver during probe. Without this
>> setting, the probe will f
On Tue, Sep 13, 2016 at 02:48:26PM +0200, Ulf Hansson wrote:
> On 13 September 2016 at 12:56, Simon Horman
> wrote:
> >
> > Hi,
> >
> > this series is based on work by Ai Kyuse to add UHS-I SDR-104 support for
> > sh_mobile_sdhi. It builds on work by Shinobu Uehara, Rob Taylor, William
> > Towle
On 12 September 2016 at 16:15, Chris Brandt wrote:
> In moving platforms from board files to DT, there still needs to be a way
> to set the ocr_mask setting for the tmio driver during probe. Without this
> setting, the probe will fail because the supported voltages are not known.
Regarding the oc
On 13 September 2016 at 12:56, Simon Horman wrote:
>
> Hi,
>
> this series is based on work by Ai Kyuse to add UHS-I SDR-104 support for
> sh_mobile_sdhi. It builds on work by Shinobu Uehara, Rob Taylor, William
> Towle and Ian Molton, Ben Hutchings, Wolfram Sang and others to add UHS-I
> SDR-50 s
Hi Kieran,
On Thu, Jun 30, 2016 at 11:29 AM, Kieran Bingham wrote:
> The following changes since commit f50e3d0720c0f27476153c2c7129b18639228d1b:
>
> Merge branch 'drm/next/dt' into for/renesas-drivers (2016-06-21 18:01:05
> +0300)
>
> are available in the git repository at:
>
> https://gith
Hi Laurent,
On Wed, Aug 17, 2016 at 2:20 PM, Laurent Pinchart
wrote:
> This patch series implements support for the Renesas R-Car VSP1 1-D histogram
> generator (HGO). It is based on top of the latest media tree's master branch,
> and available for convenience at
>
> git://linuxtv.org/pin
I have pushed renesas-drivers-2016-09-13-v4.8-rc6 to
https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git
This tree is meant to ease development of platform support and drivers
for Renesas ARM SoCs. It is created by merging (a) the for-next branches
of various subsystem trees and
Hi,
this series enables SDHI UHS-I SDR-104 on:
* r8a7790/lager
* r8a7791/koelsch
* r8a7794/alt
* r8a7795/salvator-x
* r8a7796/salvator-x
It is based on renesas-next-20160908-v4.8-rc1.
For functional SDR-104 support the following dependencies are needed:
* [PATCH v7 0/6] UHS-I SDR-104 support fo
Add the "1v8" pinctrl state and sd-uhs-sdr50 property to SDHI{0,1}.
And the sd-uhs-sdr104 property to SDHI0.
Signed-off-by: Simon Horman
---
arch/arm/boot/dts/r8a7794-alt.dts | 23 +--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/r8a7794-al
Add the "1v8" pinctrl state and sd-uhs-sdr50 property to SDHI{0,1,2}.
And the sd-uhs-sdr104 property to SDHI0.
Signed-off-by: Simon Horman
---
arch/arm/boot/dts/r8a7791-koelsch.dts | 34 +++---
1 file changed, 31 insertions(+), 3 deletions(-)
diff --git a/arch/arm/bo
From: Wolfram Sang
Reviewed-by: Geert Uytterhoeven
Signed-off-by: Wolfram Sang
Signed-off-by: Simon Horman
---
v6
* Updated patch prefix: s/salvator/&-x/
v5
* Added to series, previously posted by Wolfram independently
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 22 +
Add SDHI nodes to the DT of the r8a7796 SoC.
Based on the DT of the r8a7795 SoC.
Signed-off-by: Simon Horman
Reviewed-by: Geert Uytterhoeven
---
arch/arm64/boot/dts/renesas/r8a7796.dtsi | 42
1 file changed, 42 insertions(+)
diff --git a/arch/arm64/boot/dts/re
Define the upper limit otherwise the driver cannot utilize max speeds.
Signed-off-by: Simon Horman
---
arch/arm/boot/dts/r8a7794.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi
index 9365580a194f..57e0d27cb82e 100644
---
Define the upper limit otherwise the driver cannot utilize max speeds.
Signed-off-by: Simon Horman
---
arch/arm/boot/dts/r8a7791.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 162b55c665a3..b07c799f72f2 100644
---
Enable the exposed SD card slots in the DT of the r8a7796/salvator-x.
Based on work for the r8a7795/salvator-x by Ai Kyuse.
Signed-off-by: Simon Horman
Reviewed-by: Geert Uytterhoeven
---
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 84 ++
1 file changed, 84 inserti
Add the sd-uhs-sdr104 property to SDHI0 and SDHI1.
Signed-off-by: Simon Horman
---
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
b/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
ind
Add the sd-uhs-sdr104 property to SDHI0.
Signed-off-by: Simon Horman
---
arch/arm/boot/dts/r8a7790-lager.dts | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/boot/dts/r8a7790-lager.dts
b/arch/arm/boot/dts/r8a7790-lager.dts
index 52b56fcaddf2..5e43763cec65 100644
--- a/arch/arm/boot/
Based on work for the r8a7796 by Wolfram Sang.
Cc: Wolfram Sang
Signed-off-by: Simon Horman
---
arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts | 22 --
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/renesas/r8a7796-salvator-x.dts
b/ar
Add the sd-uhs-sdr104 property to SDHI0 and SDHI1.
Signed-off-by: Simon Horman
---
v5
* New patch
---
arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/renesas/r8a7795-salvator-x.dts
b/arch/arm64/boot/dts/renesas/r8a7795
Hi,
this series is based on work by Ai Kyuse to add UHS-I SDR-104 support for
sh_mobile_sdhi. It builds on work by Shinobu Uehara, Rob Taylor, William
Towle and Ian Molton, Ben Hutchings, Wolfram Sang and others to add UHS-I
SDR-50 support to the same driver.
It is based on a merge of the next b
From: Ai Kyuse
Add hw reset support.
Signed-off-by: Ai Kyuse
Signed-off-by: Simon Horman
---
This is required by tuning support which will
be introduced by follow-up patches.
v6
* Rely on core to retune on reset
v5
* As suggested by Ulf Hansson
- Broke out of a larger patch
---
drivers/mm
Add tuning support for use with SDR104 mode
This includes adding support for the sampling clock controller (SCC).
Based on work by Ai Kyuse.
Cc: Ai Kyuse
Signed-off-by: Simon Horman
---
v6 [Simon Horman]
* Rebase to use host->taps
v5 [Simon Horman]
* As suggested by Ulf Hansson
- Use more de
This is in preparation for restoring saved tuning parameters
when resuming the TMIO driver.
Signed-off-by: Simon Horman
---
v6
* New patch
---
include/linux/mmc/host.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h
index aa4bfbf129e4.
From: Ai Kyuse
An illegal sequence command error may occur if there is a stopbit or
cmd_index error as well as a CRC error. The correct course of action
is to re-enable IRQs
An illegal sequence data error may occur if there is a CRC or stopbit
error, or underrun. In this case set data->error co
From: Ai Kyuse
Add tuning support for use with SDR104 mode
Signed-off-by: Ai Kyuse
Signed-off-by: Simon Horman
---
v7 [Simon Horman]
* As per review by Ulf Hansson:
- Use tmio_mmc_hw_reset() rather than mmc_hw_reset() in
tmio_mmc_execute_tuning()
- Do not zero host->mmc->retune_period
Signed-off-by: Simon Horman
---
v5
* New patch
---
drivers/mmc/host/tmio_mmc.h | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/mmc/host/tmio_mmc.h b/drivers/mmc/host/tmio_mmc.h
index 1f1cb2628f67..4b36cb5c2d9c 100644
--- a/drivers/mmc/host/tmio_mmc.h
+++ b/drivers/
61 matches
Mail list logo