Depending on MACH_INGENIC prevent us from creating a generic kernel that
works on more than one MIPS board. Instead, we just depend on MIPS being
set.
Signed-off-by: Paul Cercueil
---
Notes:
v2: Rebase on v5.2-rc3
drivers/pwm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion
This allows the probe function to be dropped after the kernel finished
its initialization, in the case where the driver was not compiled as a
module.
Signed-off-by: Paul Cercueil
---
drivers/rtc/rtc-jz4740.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc
Right now none of the Ingenic-based boards probe this driver from
devicetree. This driver defined three compatible strings for the exact
same behaviour. Before these strings are used, we can remove two of
them.
Signed-off-by: Paul Cercueil
---
Notes:
v2: Rebase on v5.2-rc3
Documentation
60: Add pinctrl configuration for
several drivers")
Cc:
Signed-off-by: Paul Cercueil
---
arch/mips/jz4740/board-qi_lb60.c | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/arch/mips/jz4740/board-qi_lb60.c b/arch/mips/jz4740/board-qi_lb60.c
index 071e9d94eea7..daed4
The maximum value found in that array is 15, there's no need to store
these values as uint32_t, a uint8_t is enough.
Signed-off-by: Paul Cercueil
---
Notes:
v2: Remove casts to uint32_t
v3: No change
drivers/memory/jz4780-nemc.c | 2 +-
1 file changed, 1 insertion(+), 1 del
Add a compatible string to support the memory controller built into the
JZ4740 SoC from Ingenic.
Signed-off-by: Paul Cercueil
Reviewed-by: Boris Brezillon
Reviewed-by: Rob Herring
---
Notes:
v2: No change
v3: Change compatible string for jz4740 instead of j4725b
.../bindings
Depending on MACH_JZ4780 prevent us from creating a generic kernel that
works on more than one MIPS board. Instead, we just depend on MIPS being
set.
Signed-off-by: Paul Cercueil
Reviewed-by: Boris Brezillon
---
Notes:
v2: No change
v3: No change
drivers/memory/Kconfig | 2 +-
1
Add support for the JZ4740 SoC from Ingenic.
Signed-off-by: Paul Cercueil
Reviewed-by: Boris Brezillon
---
Notes:
v2: No change
v3: Support the JZ4740 instead of the JZ4725B (exact same functionality
but JZ4740 is already fully upstream)
drivers/memory/jz4780-nemc.c | 24
Depending on MACH_JZ4780 prevent us from creating a generic kernel that
works on more than one MIPS board. Instead, we just depend on MIPS being
set.
Signed-off-by: Paul Cercueil
---
drivers/i2c/busses/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c
This enables devicetree bindings to specify that a given GPIO should be
driven low or high.
Signed-off-by: Paul Cercueil
---
drivers/pinctrl/pinctrl-ingenic.c | 23 ++-
1 file changed, 22 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-ingenic.c
b/drivers
Previously the jz4740_wdt_set_timeout() function was starting the timer
unconditionally, even if it was stopped when that function was entered.
Now, the timer will be restarted only if it was already running before
this function is called.
Signed-off-by: Paul Cercueil
---
drivers/watchdog
Use the macros from instead of declaring our
own.
Signed-off-by: Paul Cercueil
---
drivers/watchdog/jz4740_wdt.c | 39 ++-
1 file changed, 16 insertions(+), 23 deletions(-)
diff --git a/drivers/watchdog/jz4740_wdt.c b/drivers/watchdog/jz4740_wdt.c
index
Depending on MACH_JZ47xx prevent us from creating a generic kernel that
works on more than one MIPS board. Instead, we just depend on MIPS being
set.
Signed-off-by: Paul Cercueil
---
drivers/watchdog/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/watchdog
Use a SPDX license identifier instead of a wall of text.
Signed-off-by: Paul Cercueil
---
drivers/watchdog/jz4740_wdt.c | 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/drivers/watchdog/jz4740_wdt.c b/drivers/watchdog/jz4740_wdt.c
index f970a7a53084..c5b369152e70
This is cleaner, more future-proof, and incidentally it also fixes the
PWM resetting its config when stopped/started several times.
Signed-off-by: Paul Cercueil
---
drivers/pwm/pwm-jz4740.c | 37 -
1 file changed, 12 insertions(+), 25 deletions(-)
diff --git
Use a SPDX license identifier instead of a wall of text.
Signed-off-by: Paul Cercueil
---
drivers/pwm/pwm-jz4740.c | 11 +--
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/drivers/pwm/pwm-jz4740.c b/drivers/pwm/pwm-jz4740.c
index e73ee72df09d..138b4f596525 100644
--- a
Depending on MACH_INGENIC prevent us from creating a generic kernel that
works on more than one MIPS board. Instead, we just depend on MIPS being
set.
Signed-off-by: Paul Cercueil
---
drivers/pwm/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/pwm/Kconfig b
Right now none of the Ingenic-based boards probe this driver from
devicetree. This driver defined three compatible strings for the exact
same behaviour. Before these strings are used, we can remove two of
them.
Signed-off-by: Paul Cercueil
---
Documentation/devicetree/bindings/pwm/ingenic
Right now none of the Ingenic-based boards probe this driver from
devicetree. This driver defined three compatible strings for the exact
same behaviour. Before these strings are used, we can remove two of
them.
Signed-off-by: Paul Cercueil
---
drivers/pwm/pwm-jz4740.c | 2 --
1 file changed, 2
The default clock (48 MHz) is too fast for the system timer.
Signed-off-by: Paul Cercueil
---
Notes:
v5: New patch
v6: Set also the rate for the clocksource channel's clock
v7: No change
v8: No change
v9: Don't configure clock timer1, as the O
The old clocksource/timer platform code is now obsoleted by the newly
introduced TCU drivers.
Signed-off-by: Paul Cercueil
---
Notes:
v5: New patch
v6-v11: No change
v12: Only remove clocksource code. The rest will eventually be
removed in a future patchset when
My bad, I'm stupid. I tested CONFIG_COMPILE_TEST on MIPS...
The driver does depend on arch-specific includes so COMPILE_TEST
cannot be used; I'll send a V2.
-Paul
Le sam. 11 mai 2019 à 19:09, Paul Cercueil a
écrit :
Depending on MACH_INGENIC prevent us from creating a generic ke
.
Signed-off-by: Paul Cercueil
---
drivers/irqchip/Kconfig | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig
index 5438abb1baba..864dc38782e8 100644
--- a/drivers/irqchip/Kconfig
+++ b/drivers/irqchip/Kconfig
@@ -286,9 +286,9
XBurst misses a config2 register, so config3 decode was skipped in
decode_configs().
Signed-off-by: Paul Cercueil
---
arch/mips/kernel/cpu-probe.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index fdb73c1b0cd7
The real name of the CPU present in the JZ line of SoCs from Ingenic is
XBurst, not JZRISC.
Signed-off-by: Paul Cercueil
---
arch/mips/include/asm/cpu-type.h | 2 +-
arch/mips/include/asm/cpu.h | 4 ++--
arch/mips/kernel/cpu-probe.c | 8
arch/mips/kernel/idle.c | 2
The config0 register in the Xburst CPUs with a processor ID of
PRID_COMP_INGENIC_D0 report themselves as MIPS32r2 compatible,
but they don't actually support this ISA.
Signed-off-by: Paul Cercueil
---
Notes:
v2: Apply fix according to the PRID
arch/mips/kernel/cpu-probe.c | 8 ++
Le mar. 7 mai 2019 à 23:15, Paul Burton a
écrit :
Hi Paul,
On Tue, May 07, 2019 at 09:41:01PM +0200, Paul Cercueil wrote:
The config0 register in the Xburst always reports a MIPS32r2
ISA, but not all of them support it.
Signed-off-by: Paul Cercueil
---
arch/mips/jz4740/setup.c
Remove the unused include.
Signed-off-by: Paul Cercueil
---
arch/mips/include/asm/mach-jz4740/clock.h | 31 ---
arch/mips/jz4740/board-qi_lb60.c | 2 --
arch/mips/jz4740/platform.c | 2 --
arch/mips/jz4740/time.c | 3 ---
4 files
The Low-Power Mode, when enabled, will make the "wait" MIPS instruction
suspend the system.
This is not really clock-related, but this bit happens to be in the
register set of the CGU.
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/Makefile | 2 +-
drivers/clk/ingenic/jz4
Instead of forcing the jz4740 clocks to suspend here, we let the CGU
driver handle it.
We also let the CGU driver set the "sleep mode" bit.
This has the added benefit that now it is possible to build a kernel on
SoCs newer than the JZ4740 with CONFIG_PM.
Signed-off-by: Paul Cercueil
These functions are not called anywhere anymore, they can safely be
removed.
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/jz4740-cgu.c | 73
1 file changed, 73 deletions(-)
diff --git a/drivers/clk/ingenic/jz4740-cgu.c b/drivers/clk/ingenic/jz4740-cgu.c
The config0 register in the Xburst always reports a MIPS32r2
ISA, but not all of them support it.
Signed-off-by: Paul Cercueil
---
arch/mips/jz4740/setup.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/arch/mips/jz4740/setup.c b/arch/mips/jz4740/setup.c
index 7e63c54eb8d2
The cgu.h has structures that contain 'clk_onecell_data' and 'clk_hw'
structures (no pointers), so the header should be
included.
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/cgu.h | 1 +
drivers/clk/ingenic/jz4725b-cgu.c | 1 -
drivers/clk/ingenic/jz4740-c
rrupted DMA transfer will simply be resumed.
Signed-off-by: Paul Cercueil
---
drivers/dma/dma-jz4780.c | 32 +---
1 file changed, 21 insertions(+), 11 deletions(-)
diff --git a/drivers/dma/dma-jz4780.c b/drivers/dma/dma-jz4780.c
index 02075417c69f..5c34d23bdea4 100644
-
Use SPDX license notifier instead of plain text in the header.
Signed-off-by: Paul Cercueil
---
drivers/dma/dma-jz4780.c | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/dma/dma-jz4780.c b/drivers/dma/dma-jz4780.c
index 9ce0a386225b..02075417c69f 100644
--- a
The main clocks (cclk, hclk, pclk, mclk, ipu) were using
incorrect dividers, and thus reported an incorrect rate.
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/jz4725b-cgu.c | 29 -
1 file changed, 24 insertions(+), 5 deletions(-)
diff --git a/drivers/clk
that allows to specify the divider table.
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/cgu.c | 41 +--
drivers/clk/ingenic/cgu.h | 3 +++
2 files changed, 38 insertions(+), 6 deletions(-)
diff --git a/drivers/clk/ingenic/cgu.c b/drivers/clk/ingenic/cgu.c
The main clocks (cclk, hclk, pclk, mclk, lcd) were using
incorrect dividers, and thus reported an incorrect rate.
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/jz4740-cgu.c | 29 -
1 file changed, 24 insertions(+), 5 deletions(-)
diff --git a/drivers/clk
vider
is 1.
Restore the correct behaviour using the newly introduced .div_table
field.
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/jz4725b-cgu.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/ingenic/jz4725b-cgu.c
b/drivers/clk/ingenic/jz4725b-c
The main clocks (cclk, h0clk, h1clk, h2clk, c1clk, pclk) were using
incorrect dividers, and thus reported an incorrect rate.
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/jz4770-cgu.c | 34 ++--
1 file changed, 28 insertions(+), 6 deletions(-)
diff --git a
Hi Stephen,
Le jeu. 18 avril 2019 à 23:58, Stephen Boyd a
écrit :
Quoting Paul Cercueil (2019-04-17 04:24:20)
The pixel clock is directly connected to the output of the PLL, and
not
to the /2 divider.
Cc: sta...@vger.kernel.org
Fixes: 226dfa4726eb ("clk: Add Ingenic jz4725b CGU d
This function is a helper that permits to create pin switch controls for
a list of widgets whose names are listed in the PREFIX "pin-switches"
devicetree property.
Signed-off-by: Paul Cercueil
---
Notes:
v2: - Rebase on top of for-next
- Rename to asoc_simple_parse_pi
When the routing path between a widget (e.g. "Speaker") and the codec
goes through an external amplifier, having a pin switch for this widget
allows the amplifier to be disabled when the widget is not to be used
(e.g. when using headphones).
Signed-off-by: Paul Cercueil
---
Not
Add the DRM_BUS_FLAG_SHARP_SIGNALS to the drm_bus_flags enum.
This flags can be used when the display must be driven with the
Sharp-specific signals SPL, CLS, REV, PS.
Signed-off-by: Paul Cercueil
---
Notes:
v3: New patch
include/drm/drm_connector.h | 3 +++
1 file changed, 3 insertions
The GiantPlus GPM940B0 is a simple 3.0" 320x240 24-bit TFT panel.
Signed-off-by: Paul Cercueil
Tested-by: Artur Rojek
---
Notes:
v2: Change bus format to MEDIA_BUS_FMT_RGB888_3X8_BE
v3: No change
drivers/gpu/drm/panel/panel-simple.c | 28
1
When the routing path between a widget (e.g. "Speaker") and the codec
goes through an external amplifier, having a pin switch for this widget
allows the amplifier to be disabled when the widget is not to be used
(e.g. when using headphones).
Signed-off-by: Paul Cercueil
---
sound/s
This function is a helper that permits to create pin switch controls for
a list of widgets whose names are listed in the PREFIX "pin-switches"
devicetree property.
Signed-off-by: Paul Cercueil
---
include/sound/simple_card_utils.h | 2 +
sound/soc/generic/simple-card-ut
The simple-audio-card,pin-switches property can contain the list of
widget names for which pin switches must be created.
Signed-off-by: Paul Cercueil
---
Documentation/devicetree/bindings/sound/simple-card.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/devicetree
Hi Stephen,
Le jeu. 18 avril 2019 à 1:48, Stephen Boyd a écrit
:
Quoting Paul Cercueil (2019-04-17 04:24:20)
The pixel clock is directly connected to the output of the PLL, and
not
to the /2 divider.
Cc: sta...@vger.kernel.org
Fixes: 226dfa4726eb ("clk: Add Ingenic jz4725b CGU d
The pixel clock is directly connected to the output of the PLL, and not
to the /2 divider.
Cc: sta...@vger.kernel.org
Fixes: 226dfa4726eb ("clk: Add Ingenic jz4725b CGU driver")
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/jz4725b-cgu.c | 2 +-
1 file changed, 1 insertion(+),
Add support for the JZ4740 SoC from Ingenic.
Signed-off-by: Paul Cercueil
Reviewed-by: Boris Brezillon
---
v2: No change
v3: Support the JZ4740 instead of the JZ4725B (exact same functionality
but JZ4740 is already fully upstream)
drivers/memory/jz4780-nemc.c | 24
Add a compatible string to support the memory controller built into the
JZ4740 SoC from Ingenic.
Signed-off-by: Paul Cercueil
Reviewed-by: Boris Brezillon
Reviewed-by: Rob Herring
---
v2: No change
v3: Change compatible string for jz4740 instead of j4725b
.../devicetree/bindings/memory
The maximum value found in that array is 15, there's no need to store
these values as uint32_t, a uint8_t is enough.
Signed-off-by: Paul Cercueil
---
v2: Remove casts to uint32_t
v3: No change
drivers/memory/jz4780-nemc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --
Depending on MACH_JZ4780 prevent us from creating a generic kernel that
works on more than one MIPS board. Instead, we just depend on MIPS being
set.
Signed-off-by: Paul Cercueil
Reviewed-by: Boris Brezillon
---
v2: No change
v3: No change
drivers/memory/Kconfig | 2 +-
1 file changed, 1
Le lun. 8 avril 2019 à 11:38, Sebastian Reichel a
écrit :
Hi Paul,
On Sun, Apr 07, 2019 at 09:07:57PM +0200, Paul Cercueil wrote:
Hi Sebastian,
Le dim. 7 avril 2019 à 18:52, Sebastian Reichel a
écrit :
> Hi,
>
> On Sun, Mar 24, 2019 at 03:31:37PM +, Jonathan Came
Hi Sebastian,
Le dim. 7 avril 2019 à 18:52, Sebastian Reichel a
écrit :
Hi,
On Sun, Mar 24, 2019 at 03:31:37PM +, Jonathan Cameron wrote:
On Sat, 23 Mar 2019 18:28:09 +0100
Artur Rojek wrote:
> Add a driver for battery present on Ingenic JZ47xx SoCs.
>
> Signed-off-by: Artur Rojek
Fall back to devm_usb_get_phy() if devicetree is not available.
Signed-off-by: Paul Cercueil
---
Notes:
v2: Change "usb-phy" DT property to "phys"
drivers/usb/musb/jz4740.c | 17 +++--
1 file changed, 7 insertions(+), 10 deletions(-)
diff --git a/drivers
The pullup may be already enabled before the driver is initialized.
It has to be disabled at init time, as we cannot guarantee that a gadget
driver will be bound to the UDC.
Signed-off-by: Paul Cercueil
---
drivers/usb/musb/musb_gadget.c | 1 +
1 file changed, 1 insertion(+)
diff --git a
Hi Miquel,
Le mar. 2 avril 2019 à 13:56, Miquel Raynal
a écrit :
Hi Paul,
Paul Cercueil wrote on Tue, 02 Apr 2019
01:31:52
+0200:
Hi Stephen,
Le mar. 2 avril 2019 à 1:14, Stephen Rothwell
a écrit :
> Hi all,
>
> After merging the nand tree, today's linux-next
Hi Stephen,
Le mar. 2 avril 2019 à 1:14, Stephen Rothwell a
écrit :
Hi all,
After merging the nand tree, today's linux-next build (x86_64
allmodconfig) failed like this:
drivers/mtd/nand/raw/ingenic/ingenic_ecc.c:26:5: error: redefinition
of 'ingenic_ecc_calculate'
int ingenic_ecc_calcula
they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
From 0bbcedd6bb41b82b77115fc001441ff34e7c4ea7 Mon Sep 17 00:00:00 2001
From: Paul Cercueil
Date
Le lun. 1 avril 2019 à 19:17, Bin Liu a écrit :
On Thu, Mar 21, 2019 at 03:42:46PM +0100, Paul Cercueil wrote:
When the musb is shutdown, for instance when the driver is unloaded,
force-disable the pullup. Otherwise, the host will still see the
gadget
device even after the shutdown
Add a quirk to support boards whose jack detection mechanism is
inverted.
It will set the 'everest,jack-detect-inverted' boolean device property
for the es8316 codec driver.
Signed-off-by: Paul Cercueil
---
sound/soc/intel/boards/bytcht_es8316.c | 17 +
1 file c
The Teclast X98+ II is a Cherrytrail tablet, which require two quirks:
- it has stereo speakers,
- its jack detection mechanism is inverted.
Signed-off-by: Paul Cercueil
---
sound/soc/intel/boards/bytcht_es8316.c | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff
etect-inverted' boolean device property.
Signed-off-by: Paul Cercueil
---
sound/soc/codecs/es8316.c | 14 ++
1 file changed, 14 insertions(+)
diff --git a/sound/soc/codecs/es8316.c b/sound/soc/codecs/es8316.c
index 6d4a323f786b..ec2770b3f77d 100644
--- a/sound/soc/codecs/es8316.c
+
The JZ4740 ECC hardware is not BCH but Reed-Solomon, so it makes more
sense to use the more generic ECC term.
Signed-off-by: Paul Cercueil
Reviewed-by: Rob Herring
---
Notes:
v3: New patch
v4: No change
v5: No change
v6: No change
.../devicetree/bindings/mtd
The jz4780_nand driver will be modified to handle all the Ingenic
JZ47xx SoCs that the upstream Linux kernel supports (JZ4740, JZ4725B,
JZ4770, JZ4780), so it makes sense to rename it.
Signed-off-by: Paul Cercueil
---
Notes:
v3: New patch
v4: No changes
v5: No changes
The jz4780_bch_init name was confusing, as it suggested that its content
should be executed once at init time, whereas what the function really
does is reset the hardware for a new ECC operation.
Signed-off-by: Paul Cercueil
---
Notes:
v5: New patch
v6: No change
drivers/mtd/nand
Use SPDX license notifiers instead of GPLv2 license text in the headers.
Signed-off-by: Paul Cercueil
Reviewed-by: Boris Brezillon
---
Notes:
v2: No changes
v3: No changes
v4: No changes
v5: No changes
v6: No change
drivers/mtd/nand/raw/ingenic
Hi,
Changes from V5 include just a typo correction in patch 09/13, and the
introduction of the patch 13/13 which is new.
The rest is untouched.
Thanks,
-Paul
The boot ROM of the JZ4725B SoC expects a specific OOB layout on the
NAND, so we use it unconditionally in the ingenic-nand driver.
Also add the jz4725b-bch driver to support the JZ4725B-specific BCH
hardware.
Signed-off-by: Paul Cercueil
---
Notes:
v2: Instead of forcing the OOB layout
The ingenic-nand driver uses an API provided by the jz4780-bch driver.
This makes it difficult to support other SoCs in the jz4780-bch driver.
To work around this, we separate the API functions from the SoC-specific
code, so that these API functions are SoC-agnostic.
Signed-off-by: Paul Cercueil
The Ben Nanonote from Qi Hardware expects a specific OOB layout on its
NAND.
Signed-off-by: Paul Cercueil
---
Notes:
v2: New patch
v3: Use the qi,lb60 layout unconditionally if we detect that we're
running on that board.
v4: No change
v5: No c
Use the 'ecc-engine' standard property instead of the custom
'ingenic,bch-controller' custom property, which is now deprecated.
Signed-off-by: Paul Cercueil
---
Notes:
v5: New patch
v6: Fix 'a ecc-engine' -> 'an ecc-engine' typo
driv
The generic layout for BBT markers will most likely overlap with our
ECC bytes in the OOB, so move the BBT markers outside the OOB area.
Signed-off-by: Paul Cercueil
---
Notes:
v6: New patch
drivers/mtd/nand/raw/ingenic/ingenic_nand.c | 7 +++
1 file changed, 7 insertions(+)
diff
Add support for probing the ingenic-nand driver on the JZ4740 SoC from
Ingenic, and the jz4740-ecc driver to support the JZ4740-specific
ECC hardware.
Signed-off-by: Paul Cercueil
---
Notes:
v2: New patch
v3: Also add support for the hardware ECC of the JZ4740 in this patch
Add compatible strings to probe the jz4780-nand and jz4780-bch drivers
from devicetree on the JZ4725B and JZ4740 SoCs from Ingenic.
Signed-off-by: Paul Cercueil
Reviewed-by: Rob Herring
---
Notes:
v2: - Change 'ingenic,jz4725b-nand' compatible string to
'ingenic,
Before adding support for more SoCs and seeing the number of files for
these drivers grow, we move them to their own subfolder to keep it tidy.
Signed-off-by: Paul Cercueil
---
Notes:
v2: New patch
v3: No change
v4: No change
v5: No change
v6: No change
The 'ingenic,bch-controller' property is now deprecated and the
'ecc-engine' property should be used instead.
Signed-off-by: Paul Cercueil
Reviewed-by: Rob Herring
---
Notes:
v5: New patch
v6: No change
Documentation/devicetree/bindings/mtd/ingenic,jz4780-
Add clock for the USB Device Controller PHY.
Signed-off-by: Paul Cercueil
---
drivers/clk/ingenic/jz4725b-cgu.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/clk/ingenic/jz4725b-cgu.c
b/drivers/clk/ingenic/jz4725b-cgu.c
index 584ff4ff81c7..8901ea0295b7 100644
--- a/drivers
Add macro for the UDC PHY clock of the JZ4725B.
Signed-off-by: Paul Cercueil
---
include/dt-bindings/clock/jz4725b-cgu.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/dt-bindings/clock/jz4725b-cgu.h
b/include/dt-bindings/clock/jz4725b-cgu.h
index 460bbeff6ab8..31f1ab0fe42c 100644
Depending on MACH_JZ4740 prevent us from creating a generic kernel that
works on more than one MIPS board. Instead, we just depend on MIPS being
set.
Signed-off-by: Paul Cercueil
---
sound/soc/jz4740/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/jz4740
Hi,
Any feedback on this patchset? Should I resend?
Thanks,
-Paul
Le mar. 5 févr. 2019 à 4:52, Paul Cercueil a
écrit :
Add support for the JZ4740 SoC from Ingenic.
Signed-off-by: Paul Cercueil
Reviewed-by: Boris Brezillon
---
v2: No change
v3: Support the JZ4740 instead of the JZ4725B
Hi,
Le ven. 15 mars 2019 à 15:37, Paul Cercueil a
écrit :
Hi,
Le ven. 15 mars 2019 à 9:40, Miquel Raynal
a écrit :
Hi Paul,
Paul Cercueil wrote on Wed, 13 Mar 2019
23:22:56
+0100:
Use the 'ecc-engine' standard property instead of the custom
'ingenic,bch-con
Hi,
Le ven. 15 mars 2019 à 9:40, Miquel Raynal
a écrit :
Hi Paul,
Paul Cercueil wrote on Wed, 13 Mar 2019
23:22:56
+0100:
Use the 'ecc-engine' standard property instead of the custom
'ingenic,bch-controller' custom property, which is now deprecated.
Signed-o
Use SPDX license notifiers instead of GPLv2 license text in the headers.
Signed-off-by: Paul Cercueil
Reviewed-by: Boris Brezillon
---
Notes:
v2: No changes
v3: No changes
v4: No changes
v5: No changes
drivers/mtd/nand/raw/ingenic/jz4780_bch.c | 5
The jz4780_bch_init name was confusing, as it suggested that its content
should be executed once at init time, whereas what the function really
does is reset the hardware for a new ECC operation.
Signed-off-by: Paul Cercueil
---
Notes:
v5: New patch
drivers/mtd/nand/raw/ingenic
The 'ingenic,bch-controller' property is now deprecated and the
'ecc-engine' property should be used instead.
Signed-off-by: Paul Cercueil
---
Notes:
v5: New patch
Documentation/devicetree/bindings/mtd/ingenic,jz4780-nand.txt | 4 ++--
1 file changed, 2 insertions(+),
The Ben Nanonote from Qi Hardware expects a specific OOB layout on its
NAND.
Signed-off-by: Paul Cercueil
---
Notes:
v2: New patch
v3: Use the qi,lb60 layout unconditionally if we detect that we're
running on that board.
v4: No change
v5: No c
The boot ROM of the JZ4725B SoC expects a specific OOB layout on the
NAND, so we use it unconditionally in the ingenic-nand driver.
Also add the jz4725b-bch driver to support the JZ4725B-specific BCH
hardware.
Signed-off-by: Paul Cercueil
---
Notes:
v2: Instead of forcing the OOB layout
Add support for probing the ingenic-nand driver on the JZ4740 SoC from
Ingenic, and the jz4740-ecc driver to support the JZ4740-specific
ECC hardware.
Signed-off-by: Paul Cercueil
---
Notes:
v2: New patch
v3: Also add support for the hardware ECC of the JZ4740 in this patch
The jz4780_nand driver will be modified to handle all the Ingenic
JZ47xx SoCs that the upstream Linux kernel supports (JZ4740, JZ4725B,
JZ4770, JZ4780), so it makes sense to rename it.
Signed-off-by: Paul Cercueil
---
Notes:
v3: New patch
v4: No changes
v5: No changes
The JZ4740 ECC hardware is not BCH but Reed-Solomon, so it makes more
sense to use the more generic ECC term.
Signed-off-by: Paul Cercueil
Reviewed-by: Rob Herring
---
Notes:
v3: New patch
v4: No change
v5: No change
.../devicetree/bindings/mtd/ingenic,jz4780-nand.txt
The ingenic-nand driver uses an API provided by the jz4780-bch driver.
This makes it difficult to support other SoCs in the jz4780-bch driver.
To work around this, we separate the API functions from the SoC-specific
code, so that these API functions are SoC-agnostic.
Signed-off-by: Paul Cercueil
Use the 'ecc-engine' standard property instead of the custom
'ingenic,bch-controller' custom property, which is now deprecated.
Signed-off-by: Paul Cercueil
---
Notes:
v5: New patch
drivers/mtd/nand/raw/ingenic/ingenic_ecc.c | 13 ++---
1 file changed,
Before adding support for more SoCs and seeing the number of files for
these drivers grow, we move them to their own subfolder to keep it tidy.
Signed-off-by: Paul Cercueil
---
Notes:
v2: New patch
v3: No change
v4: No change
v5: No change
drivers/mtd/nand/raw
Add compatible strings to probe the jz4780-nand and jz4780-bch drivers
from devicetree on the JZ4725B and JZ4740 SoCs from Ingenic.
Signed-off-by: Paul Cercueil
Reviewed-by: Rob Herring
---
Notes:
v2: - Change 'ingenic,jz4725b-nand' compatible string to
'ingenic,
Le lun. 4 mars 2019 à 15:58, Miquel Raynal
a écrit :
Hi Paul,
Paul Cercueil wrote on Mon, 04 Mar 2019
19:23:50
+0100:
On Mon, Mar 4, 2019 at 10:50 AM, Miquel Raynal
wrote:
> Hi Paul,
>
> Paul Cercueil <mailto:p...@crapouillou.net>> > wrote on Sat, 9 Feb 20
Hi,
Le lun. 4 mars 2019 à 15:51, Miquel Raynal
a écrit :
Hi Paul,
>> ---
a/Documentation/devicetree/bindings/mtd/ingenic,jz4780-nand.txt
>> +++
b/Documentation/devicetree/bindings/mtd/ingenic,jz4780-nand.txt
>> @@ -6,7 +6,10 @@ memory-controllers/ingenic,jz4780-nemc.txt),
and >> thus
Hi Miquel,
Le lun. 4 mars 2019 à 16:09, Miquel Raynal
a écrit :
Hi Paul,
Paul Cercueil wrote on Mon, 04 Mar 2019
19:30:04
+0100:
On Mon, Mar 4, 2019 at 11:35 AM, Miquel Raynal
wrote:
> Hi Paul,
>
> Paul Cercueil <mailto:p...@crapouillou.net>> > wrote on Sat,
801 - 900 of 1406 matches
Mail list logo