The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12,
at91sam9x5 family or sama5d3 family) provide a PWM device.
This driver add support for a PWM chip exposing a single PWM device (which
will most likely be used to drive a backlight device).
Signed-off-by: Boris Brezillon
On Mon, 6 Oct 2014 16:26:10 +0200
Thierry Reding thierry.red...@gmail.com wrote:
On Mon, Oct 06, 2014 at 03:53:58PM +0200, Boris Brezillon wrote:
On Mon, 6 Oct 2014 14:35:06 +0200
Thierry Reding thierry.red...@gmail.com wrote:
On Mon, Oct 06, 2014 at 02:14:40PM +0200, Boris Brezillon
On Tue, 7 Oct 2014 10:47:05 +0200
Thierry Reding thierry.red...@gmail.com wrote:
On Mon, Oct 06, 2014 at 04:07:03PM +0200, Boris Brezillon wrote:
The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12,
at91sam9x5 family or sama5d3 family) provide a PWM device.
The DT
On Tue, 7 Oct 2014 10:45:16 +0200
Thierry Reding thierry.red...@gmail.com wrote:
On Mon, Oct 06, 2014 at 04:07:02PM +0200, Boris Brezillon wrote:
The HLCDC IP available in some Atmel SoCs (i.e. sam9x5i.e. at91sam9n12,
at91sam9x5 family or sama5d3 family) provide a PWM device
Add the sunxi NAND Flash Controller dt bindings documentation.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
.../devicetree/bindings/mtd/sunxi-nand.txt | 45 ++
1 file changed, 45 insertions(+)
create mode 100644 Documentation/devicetree
Add support for the sunxi NAND Flash Controller (NFC).
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
drivers/mtd/nand/Kconfig |6 +
drivers/mtd/nand/Makefile |1 +
drivers/mtd/nand/sunxi_nand.c | 1400 +
3 files
- rework NAND timings retrieval (use ONFI timing mode instead of raw timings)
- add nand-ecc-level property to specify NAND ECC requirements from DT
Boris Brezillon (2):
mtd: nand: add sunxi NAND flash controller support
mtd: nand: add sunxi NFC dt bindings doc
.../devicetree/bindings/mtd
Hi Alessandro,
On Tue, 23 Sep 2014 16:48:35 +0200
Boris BREZILLON boris.brezil...@free-electrons.com wrote:
Hello,
This patch series adds DT support to the atmel at91sam9 RTC driver.
It also removes any machine specific inclusions to prepare the migration
to multi platform kernel support
Hi Varka,
On Mon, 20 Oct 2014 17:31:51 +0530
Varka Bhadram varkabhad...@gmail.com wrote:
On 10/20/2014 05:15 PM, Boris Brezillon wrote:
Add support for the sunxi NAND Flash Controller (NFC).
(...)
+
+static int sunxi_nfc_dev_ready(struct mtd_info *mtd)
+{
+ struct nand_chip
Hi Brian,
On Mon, 20 Oct 2014 19:41:34 -0700
Brian Norris computersforpe...@gmail.com wrote:
Hi Boris,
On Mon, Oct 20, 2014 at 01:45:20PM +0200, Boris Brezillon wrote:
Add the sunxi NAND Flash Controller dt bindings documentation.
Signed-off-by: Boris Brezillon boris.brezil...@free
timing mode instead of raw timings)
- add nand-ecc-level property to specify NAND ECC requirements from DT
Boris Brezillon (2):
mtd: nand: add sunxi NAND flash controller support
mtd: nand: add sunxi NFC dt bindings doc
.../devicetree/bindings/mtd/sunxi-nand.txt | 45 +
drivers/mtd
Add the sunxi NAND Flash Controller dt bindings documentation.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
.../devicetree/bindings/mtd/sunxi-nand.txt | 45 ++
1 file changed, 45 insertions(+)
create mode 100644 Documentation/devicetree
Add support for the sunxi NAND Flash Controller (NFC).
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
drivers/mtd/nand/Kconfig |6 +
drivers/mtd/nand/Makefile |1 +
drivers/mtd/nand/sunxi_nand.c | 1426 +
3 files
On Tue, 21 Oct 2014 06:13:16 -0700 (PDT)
Ezaul Zillmer ezaulzill...@gmail.com wrote:
Hello everyone
Boris Brezillon
downloaded sunxi-nand-v6 now compiled for Cubieboard2
https://github.com/bbrezillon/linux-sunxi.git sunxi b-nand-v6
u-boot
git clone https://github.com/jwrdegoede/u
On Tue, 21 Oct 2014 06:13:16 -0700 (PDT)
Ezaul Zillmer ezaulzill...@gmail.com wrote:
Hello everyone
Boris Brezillon
downloaded sunxi-nand-v6 now compiled for Cubieboard2
https://github.com/bbrezillon/linux-sunxi.git sunxi b-nand-v6
u-boot
git clone https://github.com/jwrdegoede/u
markers).
Please follow these steps:
1) apply this patch [1]
2) boot on your new kernel and launch
$ flash_erase /dev/mtd0 0 0
3) revert the patch
4) Boot on your new kernel
Most of your bad blocks should be gone after that...
[1]http://code.bulix.org/k2v1hx-87237
--
Boris Brezillon, Free
Hi Brian,
On Tue, 28 Oct 2014 11:13:11 -0700
Brian Norris computersforpe...@gmail.com wrote:
Hi Boris,
On Tue, Oct 21, 2014 at 03:08:41PM +0200, Boris Brezillon wrote:
+static int sunxi_nand_hw_ecc_ctrl_init(struct mtd_info *mtd,
+ struct nand_ecc_ctrl
Hi Brian,
On Tue, 28 Oct 2014 11:13:11 -0700
Brian Norris computersforpe...@gmail.com wrote:
Hi Boris,
On Tue, Oct 21, 2014 at 03:08:41PM +0200, Boris Brezillon wrote:
+static int sunxi_nand_hw_ecc_ctrl_init(struct mtd_info *mtd,
+ struct nand_ecc_ctrl
Atmel AT91 SoCs have a memory range reserved for SMC (Static Memory
Controller) configuration.
Expose those registers so that drivers can make use of the smc syscon
declared in at91 DTs.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
include/linux/mfd/syscon/atmel-smc.h
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/boot/dts/sama5d3.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index 5f4144d..9f1eed5 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/boot/dts/sama5d3xcm.dtsi | 34 ++
1 file changed, 34 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi
b/arch/arm/boot/dts/sama5d3xcm.dtsi
index 962dc28..857ef05 100644
Add EBI node and EBI pin muxing.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/boot/dts/sama5d3.dtsi | 83 ++
1 file changed, 83 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/boot/dts/sama5d3.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index 9f1eed5..d49dab7 100644
--- a/arch/arm/boot/dts/sama5d3.dtsi
+++ b
AT91 SoCs have a memory range reserved for internal bus configuration.
Expose those registers so that drivers can make use of the matrix syscon
declared in at91 DTs.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
include/linux/mfd/syscon/atmel-matrix.h | 114
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/mach-at91/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-at91/Kconfig b/arch/arm/mach-at91/Kconfig
index 0e6d548..a72402a 100644
--- a/arch/arm/mach-at91/Kconfig
+++ b/arch/arm/mach-at91
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
.../bindings/memory-controllers/atmel-ebi.txt | 153 +
1 file changed, 153 insertions(+)
create mode 100644
Documentation/devicetree/bindings/memory-controllers/atmel-ebi.txt
diff --git
-by: Boris Brezillon boris.brezil...@free-electrons.com
---
drivers/memory/Kconfig | 11 +
drivers/memory/Makefile| 1 +
drivers/memory/atmel-ebi.c | 615 +
3 files changed, 627 insertions(+)
create mode 100644 drivers/memory/atmel-ebi.c
diff
version of this driver (IIRC, you
focused on the DT binding part), could you give your feedback on this
version (I based the new DT binding on TI's aemif driver).
Changes since v1:
- almost everything :-)
Boris Brezillon (11):
mfd: syscon: Add atmel-matrix registers definition
mfd: syscon: Add
) according to
their need.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
Documentation/devicetree/bindings/mfd/atmel-smc.txt | 19 +++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/atmel-smc.txt
diff --git
The Matrix registers are provided to configure internal bus behavior on
at91 SoCs.
Some registers might be access by several drivers (e.g. to configure
external memory bus timings), hence we declare this register set as a
syscon device.
Signed-off-by: Boris Brezillon boris.brezil...@free
On Wed, 5 Nov 2014 17:22:57 +0100
Jean-Jacques Hiblot jjhib...@traphandler.com wrote:
Hi Boris,
2014-11-05 17:01 GMT+01:00 Boris Brezillon
boris.brezil...@free-electrons.com:
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
.../bindings/memory-controllers/atmel
On Wed, 5 Nov 2014 17:53:42 +0100
Jean-Jacques Hiblot jjhib...@traphandler.com wrote:
2014-11-05 17:01 GMT+01:00 Boris Brezillon
boris.brezil...@free-electrons.com:
The EBI (External Bus Interface) is used to access external peripherals
(NOR, SRAM, NAND, and other specific devices like
Hi Alexandre,
On Fri, 7 Nov 2014 14:45:10 +0100
Alexandre Belloni alexandre.bell...@free-electrons.com wrote:
On 05/11/2014 at 17:01:17 +0100, Boris Brezillon wrote :
AT91 SoCs have a memory range reserved for internal bus configuration.
Expose those registers so that drivers can make use
On Fri, 7 Nov 2014 14:41:12 +0100
Alexandre Belloni alexandre.bell...@free-electrons.com wrote:
On 05/11/2014 at 17:01:16 +0100, Boris Brezillon wrote :
Arnd, you've commented the first version of this driver (IIRC, you
focused on the DT binding part), could you give your feedback
On Fri, 7 Nov 2014 09:21:39 -0600
Rob Herring robherri...@gmail.com wrote:
On Wed, Nov 5, 2014 at 10:01 AM, Boris Brezillon
boris.brezil...@free-electrons.com wrote:
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
Perhaps some commit msg?
Yes, I was just lazy and though
:-(.
Regards,
Boris
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line unsubscribe devicetree in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
.
And eventually initialize default irq flags to the pseudo standard:
IRQ_REQUEST | IRQ_PROBE | IRQ_AUTOEN.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
Hello Kevin,
This patch has not been tested yet but it should solve the issue you've
experienced with the IRQ_GC_BE_IO
Hi Jason,
On Tue, 11 Nov 2014 17:58:00 -0500
Jason Cooper ja...@lakedaemon.net wrote:
On Tue, Nov 11, 2014 at 02:33:36PM +0100, Boris Brezillon wrote:
First of all IRQCHIP_SKIP_SET_WAKE is not a valid irq_gc_flags and thus
should not be passed as the last argument
...@free-electrons.com
Once you've fixed your dtsi you can add my
Acked-by: Boris Brezillon boris.brezil...@free-electrons.com
on the whole series.
---
Documentation/devicetree/bindings/arm/atmel-at91.txt | 17 +
1 file changed, 17 insertions(+)
diff --git a/Documentation
-87436
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
--
To unsubscribe from this list: send the line unsubscribe devicetree in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On Wed, 19 Nov 2014 10:02:53 +0800
Mark yao mark@rock-chips.com wrote:
On 2014年11月19日 09:09, Mark yao wrote:
On 2014年11月18日 22:24, Daniel Vetter wrote:
On Tue, Nov 18, 2014 at 02:21:30PM +0100, Boris Brezillon wrote:
Hi Daniel,
On Tue, 18 Nov 2014 09:32:34 +0100
Daniel Vetter dan
-by: Boris Brezillon boris.brezil...@free-electrons.com
---
.../devicetree/bindings/drm/atmel/hlcdc-dc.txt | 53 ++
1 file changed, 53 insertions(+)
create mode 100644 Documentation/devicetree/bindings/drm/atmel/hlcdc-dc.txt
diff --git a/Documentation/devicetree/bindings/drm
Changes since v1:
- replace the backlight driver by a PWM driver
- make use of drm_panel infrastructure
- split driver code in several subsystem: MFD, PWM and DRM
- add support for overlays
- add support for hardware cursor
Boris Brezillon (2):
drm: add Atmel HLCDC Display Controller support
version.
At the moment, this driver only implements an RGB connector to interface
with LCD panels, but support for other kind of external devices might be
added later.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
Reviewed-by: Rob Clark robdcl...@gmail.com
Tested-by: Anthony
Document DT bindings of Atmel's TRNG (True Random Number Generator) IP.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
Documentation/devicetree/bindings/hwrng/atmel-trng.txt | 16
1 file changed, 16
Use clk_prepare_enable/_disable_unprepare instead of clk_enable/disable
to work properly with the CCF.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
Acked-by: Peter Korsgaard pe...@korsgaard.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
drivers/char/hw_random/atmel
Add a DT node for the TRNG (True Random Number Generator) block.
Keep this block enabled as it does not depend on any external connection,
and thus should be available on all boards.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
Add DT support.
Make the driver depend on CONFIG_OF as at91sam9g45 was the only SoC making
use of the TRNG block and this SoC is now fully migrated to DT.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
Acked-by: Nicolas Ferre nicolas.fe...@atmel.com
---
drivers/char/hw_random
Hello,
This series adds DT support for the TRNG (True Random Generator) block and
adds missing trng nodes to dtsi files.
Best Regards,
Boris
Boris Brezillon (4):
hwrng: atmel: use clk_prepapre_enable/_disable_unprepare
hwrng: atmel: add DT support
hwrng: atmel: Add TRNG DT binding doc
On Wed, 19 Nov 2014 17:15:47 +0100
Nicolas Ferre nicolas.fe...@atmel.com wrote:
On 19/11/2014 17:07, Boris Brezillon :
Hello,
This series adds DT support for the TRNG (True Random Generator) block and
adds missing trng nodes to dtsi files.
Nitpicking: subject of this cover letter
On Wed, 19 Nov 2014 18:35:56 +0100
Nicolas Ferre nicolas.fe...@atmel.com wrote:
On 19/11/2014 17:18, Boris Brezillon :
On Wed, 19 Nov 2014 17:15:47 +0100
Nicolas Ferre nicolas.fe...@atmel.com wrote:
On 19/11/2014 17:07, Boris Brezillon :
Hello,
This series adds DT support
to solve ?
IMHO, if you really want to split those functionalities over the DT
(some nodes under clks and other under reset controller), then I
suggest to use..
(Maxime, please stop smiling :P)
..
SYSCON
Best Regards,
Boris
--
Boris Brezillon, Free Electrons
Embedded
Hi Lee,
Sorry for the late reply.
On Mon, 10 Nov 2014 09:57:28 +
Lee Jones lee.jo...@linaro.org wrote:
On Wed, 05 Nov 2014, Boris Brezillon wrote:
Atmel AT91 SoCs have a memory range reserved for SMC (Static Memory
Controller) configuration.
Expose those registers so that drivers
:
- almost everything :-)
Boris Brezillon (11):
mfd: syscon: Add atmel-matrix registers definition
mfd: syscon: Add Atmel Matrix bus DT binding documentation
mfd: syscon: Add atmel-smc registers definition
mfd: syscon: Add Atmel SMC binding doc
memory: add Atmel EBI (External Bus Interface
Add EBI node and EBI pin muxing.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/boot/dts/sama5d3.dtsi | 83 ++
1 file changed, 83 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
a generic DT binding to configure a device according
to its requirements.
For specific device controllers (like the NAND one) the SMC timings
should be configured by the controller driver through the matrix and smc
syscon regmaps.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
The sama5d3 evaluation kit embeds a NOR chip which is connected through
the EBI.
Define this NOR chip in the CPU module dtsi.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/boot/dts/sama5d3xcm.dtsi | 34 ++
1 file changed, 34
Add matrix node in sama5d3 dtsi so that it can be referenced by other
devices.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/boot/dts/sama5d3.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3
) according to
their need.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
Acked-by: Lee Jones lee.jo...@linaro.org
---
Documentation/devicetree/bindings/mfd/atmel-smc.txt | 19 +++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree
-by: Boris Brezillon boris.brezil...@free-electrons.com
---
drivers/memory/Kconfig | 11 +
drivers/memory/Makefile| 1 +
drivers/memory/atmel-ebi.c | 627 +
3 files changed, 639 insertions(+)
create mode 100644 drivers/memory/atmel-ebi.c
diff
Add the SMC node in sama5d3 dtsi.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/boot/dts/sama5d3.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index 5f4144d..9f1eed5 100644
--- a/arch
at91sam9* and sama5d* SoCs have an EBI (External Bus Interface).
Select the ATMEL_EBI driver when support for these SoCs is selected.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/mach-at91/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm
Atmel AT91 SoCs have a memory range reserved for SMC (Static Memory
Controller) configuration.
Expose those registers so that drivers can make use of the smc syscon
declared in at91 DTs.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
Acked-by: Lee Jones lee.jo...@linaro.org
The Matrix registers are provided to configure internal bus behavior on
at91 SoCs.
Some registers might be access by several drivers (e.g. to configure
external memory bus timings), hence we declare this register set as a
syscon device.
Signed-off-by: Boris Brezillon boris.brezil...@free
AT91 SoCs have a memory range reserved for internal bus configuration.
Expose those registers so that drivers can make use of the matrix syscon
declared in at91 DTs.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
Acked-by: Lee Jones lee.jo...@linaro.org
---
include/linux/mfd
Hi Alexander,
On Mon, 01 Dec 2014 11:40:03 +0100
Alexander Stein alexander.st...@systec-electronic.com wrote:
Hi Boris,
On Monday 01 December 2014 11:27:21, Boris Brezillon wrote:
The EBI (External Bus Interface) is used to access external peripherals
(NOR, SRAM, NAND, and other specific
Hi Arnd,
On Mon, 01 Dec 2014 17:26:27 +0100
Arnd Bergmann a...@arndb.de wrote:
On Monday 01 December 2014 11:27:21 Boris Brezillon wrote:
The EBI (External Bus Interface) is used to access external peripherals
(NOR, SRAM, NAND, and other specific devices like ethernet controllers).
Each
On Mon, 01 Dec 2014 20:43:31 +0100
Arnd Bergmann a...@arndb.de wrote:
On Monday 01 December 2014 19:29:23 Boris Brezillon wrote:
Hi Arnd,
On Mon, 01 Dec 2014 17:26:27 +0100
Arnd Bergmann a...@arndb.de wrote:
On Monday 01 December 2014 11:27:21 Boris Brezillon wrote:
The EBI
-by: Boris Brezillon boris.brezil...@free-electrons.com
---
Changes since v3:
- use syscon_regmap_lookup_by_phandle instead of of_parse_phandle +
syscon_node_to_regmap
- drop AT91_EBICSA_REGFIELD and AT91_MULTI_EBICSA_REGFIELD macros
drivers/memory/Kconfig | 11 +
drivers/memory
AT91 SoCs have a memory range reserved for internal bus configuration.
Expose those registers so that drivers can make use of the matrix syscon
declared in at91 DTs.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
Acked-by: Lee Jones lee.jo...@linaro.org
---
Changes since v3
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/boot/dts/at91sam9261.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/at91sam9261.dtsi
b/arch/arm/boot/dts/at91sam9261.dtsi
index 7119f1f..e52ae97 100644
--- a/arch/arm/boot
The at91rm9200, at91sam9260, at91sam9261 and at91sam9263 SoCs have slightly
different UDC IPs.
Those differences were previously handled with cpu_is_at91xx macro which
are about to be dropped for multi-platform support, thus we need to
change compatible strings.
Signed-off-by: Boris Brezillon
Allocate udc structure instead of relying on the statically declared
object.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
drivers/usb/gadget/udc/at91_udc.c | 101 ++
1 file changed, 27 insertions(+), 74 deletions(-)
diff --git
cpu_is_at91xxx are a set of macros defined in mach/cpu.h and are here used
to detect the SoC we are booting on.
Use compatible string + a caps structure to replace those cpu_is_xxx tests.
Remove all mach and asm headers (which are now unused).
Signed-off-by: Boris Brezillon boris.brezil...@free
Three compatible strings have been added to the at91_udc driver.
Update the documentation accordingly.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
Documentation/devicetree/bindings/usb/atmel-usb.txt | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git
Since non-DT board support has been removed from the at91 architecture we
can safely remove non-DT handling code.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
drivers/usb/gadget/udc/Kconfig| 1 +
drivers/usb/gadget/udc/at91_udc.c | 16 ++--
2 files
Peripheral clock is named pclk and system clock is named hclk (those are
the names expected by the at91_udc driver).
Drop the deprecated usb_clk (formerly used to configure the usb clock rate
which is now directly configurable through hclk).
Signed-off-by: Boris Brezillon boris.brezil...@free
Make use of devm_ functions to simplify probe and remove code.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
drivers/usb/gadget/udc/at91_udc.c | 116 +-
1 file changed, 39 insertions(+), 77 deletions(-)
diff --git a/drivers/usb/gadget
/lkml/2014/12/3/230
Boris Brezillon (11):
usb: gadget: at91_udc: Fix clock names
usb: gadget: at91_udc: Drop uclk clock
usb: gadget: at91_udc: Document DT clocks and clock-names property
ARM: at91/dt: at91sam9261: fix clocks and clock-names in udc
definition
usb: gadget: at91_udc
The driver is requesting clock by their global name (those declared in the
clk_lookup list), but this only works with !CCF kernels.
Now that all SoCs have moved to CCF, fix the driver to use local names
(hclk and pclk).
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
Now that at91 system clocks forward set_rate request to their parent we
can remove the uclk clock and directly call clk_set_rate on fclk.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
drivers/usb/gadget/udc/at91_udc.c | 27 +++
drivers/usb/gadget
The at91_udc driver request 2 clocks, and thus need them to be defined in
the device tree.
Document the clocks and clock-names properties so that everybody use the
correct names.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
Documentation/devicetree/bindings/usb/atmel
Hi Nicolas,
On Wed, 3 Dec 2014 15:32:49 +0100
Nicolas Ferre nicolas.fe...@atmel.com wrote:
Le 01/12/2014 11:27, Boris Brezillon a écrit :
The Matrix registers are provided to configure internal bus behavior on
at91 SoCs.
Some registers might be access by several drivers (e.g. to configure
On Wed, 3 Dec 2014 16:15:36 +0100
Nicolas Ferre nicolas.fe...@atmel.com wrote:
Le 03/12/2014 15:56, Nicolas Ferre a écrit :
Le 01/12/2014 11:27, Boris Brezillon a écrit :
The EBI (External Bus Interface) is used to access external peripherals
(NOR, SRAM, NAND, and other specific devices
Sorry for the noise, I sent the email before finishing my answer.
On Wed, 3 Dec 2014 16:34:49 +0100
Boris Brezillon boris.brezil...@free-electrons.com wrote:
On Wed, 3 Dec 2014 16:15:36 +0100
Nicolas Ferre nicolas.fe...@atmel.com wrote:
Le 03/12/2014 15:56, Nicolas Ferre a écrit :
Le 01
On Wed, 3 Dec 2014 15:56:54 +0100
Nicolas Ferre nicolas.fe...@atmel.com wrote:
Le 01/12/2014 11:27, Boris Brezillon a écrit :
The EBI (External Bus Interface) is used to access external peripherals
(NOR, SRAM, NAND, and other specific devices like ethernet controllers).
Each device
+
syscon_node_to_regmap
- drop AT91_EBICSA_REGFIELD and AT91_MULTI_EBICSA_REGFIELD macros
Changes since v2:
- minor fixes int DT bindings doc
- fix SMC macros
- make use of SMC macros defined in include/linux/mfd/syscon/atmel-smc.h
Changes since v1:
- almost everything :-)
Boris Brezillon (11):
mfd: syscon: Add
a generic DT binding to configure a device according
to its requirements.
For specific device controllers (like the NAND one) the SMC timings
should be configured by the controller driver through the matrix and smc
syscon regmaps.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
The sama5d3 evaluation kit embeds a NOR chip which is connected through
the EBI.
Define this NOR chip in the CPU module dtsi.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/boot/dts/sama5d3xcm.dtsi | 33 +
1 file changed, 33
Add EBI node and EBI pin muxing.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/boot/dts/sama5d3.dtsi | 83 ++
1 file changed, 83 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
-by: Boris Brezillon boris.brezil...@free-electrons.com
---
drivers/memory/Kconfig | 11 +
drivers/memory/Makefile| 1 +
drivers/memory/atmel-ebi.c | 579 +
3 files changed, 591 insertions(+)
create mode 100644 drivers/memory/atmel-ebi.c
diff
at91sam9* and sama5d* SoCs have an EBI (External Bus Interface).
Select the ATMEL_EBI driver when support for these SoCs is selected.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
.../bindings/memory-controllers/atmel-ebi.txt | 18 +-
arch/arm
Add the SMC node in sama5d3 dtsi.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/boot/dts/sama5d3.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3.dtsi
index 5f4144d..9f1eed5 100644
--- a/arch
Add matrix node in sama5d3 dtsi so that it can be referenced by other
devices.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
---
arch/arm/boot/dts/sama5d3.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/boot/dts/sama5d3.dtsi b/arch/arm/boot/dts/sama5d3
The Matrix registers are provided to configure internal bus behavior on
at91 SoCs.
Some registers might be accessed by several drivers (e.g. to configure
external memory bus timings), hence we declare this register set as a
syscon device.
Signed-off-by: Boris Brezillon boris.brezil...@free
) according to
their need.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
Acked-by: Lee Jones lee.jo...@linaro.org
---
Documentation/devicetree/bindings/mfd/atmel-smc.txt | 19 +++
1 file changed, 19 insertions(+)
create mode 100644 Documentation/devicetree
Atmel AT91 SoCs have a memory range reserved for SMC (Static Memory
Controller) configuration.
Expose those registers so that drivers can make use of the smc syscon
declared in at91 DTs.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
Acked-by: Lee Jones lee.jo...@linaro.org
AT91 SoCs have a memory range reserved for internal bus configuration.
Expose those registers so that drivers can make use of the matrix syscon
declared in at91 DTs.
Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com
Acked-by: Lee Jones lee.jo...@linaro.org
---
include/linux/mfd
On Thu, 4 Dec 2014 11:30:39 +0100
Nicolas Ferre nicolas.fe...@atmel.com wrote:
Le 03/12/2014 21:44, Boris Brezillon a écrit :
The EBI (External Bus Interface) is used to access external peripherals
(NOR, SRAM, NAND, and other specific devices like ethernet controllers).
Each device
Hi Thierry
On Thu, 4 Dec 2014 14:12:31 +0100
Thierry Reding thierry.red...@gmail.com wrote:
On Wed, Nov 19, 2014 at 03:33:09PM +0100, Boris Brezillon wrote:
at91sam9x5 has an errata forbidding the use of slow clk as a clk source and
sama5d3 SoCs has another errata forbidding the use of div1
701 - 800 of 1080 matches
Mail list logo