As the sama5d3 based microchip-ksz9477-evb board still uses the old
bindings, the dt-compat.c code is ported as well. This can be removed
when all in-kernel at91 boards have been ported to the new bindings.
Signed-off-by: Ahmad Fatoum
---
drivers/clk/at91/Makefile| 2 +-
drivers/clk/at91/d
Hello Sam,
On 18/2/19 20:47, Sam Ravnborg wrote:
> Based on kernel 5.0-rc6 update at91 clk support
> to match the new PMC bindings.
>
> Manually added all changes done in the kernel from 4.9-rc3
> to 5.0-rc6.
> New drivers required was added as seperate commits.
>
> The kernel has a dt-compat f
Hi Sascha
>
> Applied, thanks. Since AT91 is broken currently I applied it to master.
I did not see it in master yet so I sent a full v3 with build fixes
and Tested-by: annotations.
It this is too late for master I will do a follow-up with only
the build fix changes.
Sam
__
Both Linux and barebox support this new scheme and it's the actually
the recommended one.
Signed-off-by: Uwe Kleine-König
---
.../dts/imx6dl-phytec-phycore-som-emmc.dts| 21 +
.../dts/imx6dl-phytec-phycore-som-nand.dts| 21 +
arch/arm/dts/imx6q-phytec-pcaaxl3.dtsi
Based on kernel 5.0-rc6 update at91 clk support
to match the new PMC bindings.
Manually added all changes done in the kernel from 4.9-rc3
to 5.0-rc6.
New drivers required was added as seperate commits.
The kernel has a dt-compat file for all the backward
compatibility code.
As barebox has only a
Add at91sam9x5 as part of supporting the PMC bindings for ARM at91.
The file will be wired into the build in a follow-up patch.
The file is a copy from kernel 5.0-rc6 modified to build
with barebox.
Signed-off-by: Sam Ravnborg
---
drivers/clk/at91/at91sam9x5.c | 315
Add sama5d2 as part of supporting the PMC bindings for ARM at91.
The file will be wired into the build in a follow-up patch.
The file is a copy from kernel 5.0-rc6 modified to build
with barebox.
Signed-off-by: Sam Ravnborg
---
drivers/clk/at91/sama5d2.c | 342 ++
Add at91sam9260 as part of supporting the PMC bindings for ARM at91.
The file will be wired into the build in a follow-up patch.
The file is a copy from kernel 5.0-rc6 modified to build
with barebox.
Signed-off-by: Sam Ravnborg
Tested-by: Ladislav Michl
---
drivers/clk/at91/at91sam9260.c | 497
Add sama5d4 as part of supporting the PMC bindings for ARM at91.
The file will be wired into the build in a follow-up patch.
The file is a copy from kernel 5.0-rc6 modified to build
with barebox.
Signed-off-by: Sam Ravnborg
---
drivers/clk/at91/sama5d4.c | 270 ++
This split allows us to distingush between the two SOC
types.
The SOC_SAMA5D3 and SOC_SAMA5D4 symbols will be used in
following patches.
Signed-off-by: Sam Ravnborg
Tested-by: Ladislav Michl
---
arch/arm/mach-at91/Kconfig | 14 --
1 file changed, 12 insertions(+), 2 deletions(-)
di
The following patchset add supports for the PMC clk
bindings for at91.
The patchset was tested on:
- at91sam9264ek - DT enabled
- sama5d4-xplained - non DT
The patchset includes sama5d2.c which is not used today.
I have a sama5d27-som1-ek board that I hope to find time to work
with and then this w
Add declaration to silence following warning:
arch/arm/mach-at91/sama5d4_devices.c:487:24:
warning: no previous prototype for ‘at91_configure_usart6’
Signed-off-by: Sam Ravnborg
---
arch/arm/mach-at91/include/mach/board.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-at91/in
Add at91sam9rl as part of supporting the PMC bindings for ARM at91.
The file will be wired into the build in a follow-up patch.
The file is a copy from kernel 5.0-rc6 modified to build
with barebox.
Signed-off-by: Sam Ravnborg
---
drivers/clk/at91/at91sam9rl.c | 177
CLOCKSOURCE_ATMEL_PIT was both set to yes using depends on
and using select.
Use only select to set this non-visible symbol to 'y'
Signed-off-by: Sam Ravnborg
Tested-by: Ladislav Michl
---
drivers/clocksource/Kconfig | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/clocksource/Kconfig
Commit 658af1ca mentions that environment build dependencies are not tracked
and the complete environment is rebuilt on every build.
However commit 105201e0 added if_changed to the make rule, so this is currently
not the case. Environment is only rebuilt if barebox_default_env is missing or
if CON
Hi Ahmad.
On Mon, Feb 18, 2019 at 09:31:05AM +0100, Sascha Hauer wrote:
> On Fri, Feb 15, 2019 at 09:56:10AM +0100, Ahmad Fatoum wrote:
> > On 11/2/19 09:00, Sascha Hauer wrote:
> > >> diff --git a/LICENSES/exceptions/u-boot-exception-2.0
> > >> b/LICENSES/exceptions/u-boot-exception-2.0
> > >> n
---
arch/arm/configs/rpi_defconfig | 2 +-
drivers/gpio/Kconfig | 4
drivers/gpio/Makefile | 1 -
drivers/pinctrl/Kconfig| 6 ++
drivers/pinctrl/Makef
Compute Module needs "no-sd" property on the MMC interface otherwise
mci-bcm2835 hangs on SD card probe.
---
arch/arm/boards/raspberry-pi/lowlevel.c | 10 ++
arch/arm/dts/Makefile | 1 +
arch/arm/dts/bcm2837-rpi-cm3.dts| 18 ++
arch/arm/mach-bcm28
Changes from the first patch series:
- Base Compute Module 3 device tree off upstream device tree for CM3 + IO3
dev board, instead of R. Pi 3B.
- Keep Makefile.bcm283x without a newline at the end of file.
- Make mci init before pinctrl by moving mci-bcm2835 to device_initcall()
instead o
---
drivers/pinctrl/Kconfig | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig
index 12fff4f01..de83c124a 100644
--- a/drivers/pinctrl/Kconfig
+++ b/drivers/pinctrl/Kconfig
@@ -1,3 +1,5 @@
+menu "Pin controllers"
+
config PINCTRL
bool
The driver was missing a call to mci_of_parse() which fills in properties such
as "bus-width", "no-sd" into the mci_host struct.
---
drivers/mci/mci-bcm2835.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/mci/mci-bcm2835.c b/drivers/mci/mci-bcm2835.c
index e7dbb4f1d..2ed125167 100
This adds hooks for the pin controller driver to the existing
bcm2835_set_function().
---
drivers/pinctrl/pinctrl-bcm2835.c | 52 ++-
1 file changed, 51 insertions(+), 1 deletion(-)
diff --git a/drivers/pinctrl/pinctrl-bcm2835.c
b/drivers/pinctrl/pinctrl-bcm28
pinctrl driver needs to be initialized before mci driver on Raspberry Pi.
Otherwise the pinctrl device tree properties in the mci node are ignored.
pinctrl is initialized by coredevice_initcall(), so moving mci-bcm2835 to
device_initcall() ensures that it is initialized later.
There is no reason f
Required for emmc pin function switching on Raspberry Pi 3.
---
arch/arm/configs/rpi_defconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/configs/rpi_defconfig b/arch/arm/configs/rpi_defconfig
index 35943e025..f167625c9 100644
--- a/arch/arm/configs/rpi_defconfig
BCM2837 has two mmc interfaces: sdhost and sdhci. On Raspberry Pi 3, sdhost is
normally used for SD card/MMC flash and sdhci for the wireless interface.
Barebox currently only has a driver for sdhci, so we disable the sdhost
interface and remap the pins so that the sdhci has access to the SD card/M
On 18. 02. 19 09:42, Sascha Hauer wrote:
On Thu, Feb 14, 2019 at 02:24:27PM +0100, Tomaz Solc wrote:
pinctrl driver needs to be initialized before mci driver or the pinctrl
device tree properties in the mci node are ignored. Since mci is already
initialized by the coredevice_initcall(), changing
On 18.02.19 09:56, Tomaž Šolc wrote:
On 18. 02. 19 09:06, Oleksij Rempel wrote:
On 18.02.19 08:56, Tomaž Šolc wrote:
On 18. 02. 19 08:12, Oleksij Rempel wrote:
+In case the bootloader is responsible for watchdog activation, the system can
+be considered as failed by design.
I think this is
On Wed, Feb 13, 2019 at 03:17:46PM +0100, Jan Remmet wrote:
> Test will read the device and report the corrected or failed ECC states.
>
> Signed-off-by: Jan Remmet
> ---
> commands/nandtest.c | 125
> ++--
> 1 file changed, 83 insertions(+), 42 d
On 18. 02. 19 09:06, Oleksij Rempel wrote:
On 18.02.19 08:56, Tomaž Šolc wrote:
On 18. 02. 19 08:12, Oleksij Rempel wrote:
+In case the bootloader is responsible for watchdog activation, the
system can
+be considered as failed by design.
I think this is too strongly worded and I would leave
On Tue, Feb 12, 2019 at 05:09:07PM -0800, Andrey Smirnov wrote:
> Port code found in cdn_dp_load_firmware() in Linux kernel to check if
> HDMI firmware is running and, if so, report its version.
>
> Signed-off-by: Andrey Smirnov
> ---
>
> Changes since [v1]:
>
> - Added CPU type check to pr
On Tue, Feb 12, 2019 at 05:11:04PM -0800, Andrey Smirnov wrote:
> Add code to make sure that imx8mq_init_syscnt_frequency() is only
> executed on i.MX8MQ.
>
> Signed-off-by: Andrey Smirnov
> ---
> arch/arm/mach-imx/imx8mq.c | 3 +++
> 1 file changed, 3 insertions(+)
Applied, thanks
Sascha
--
On Fri, Feb 15, 2019 at 10:01:19AM +0100, Oleksij Rempel wrote:
> make it properly represented by menuconfig
>
> Signed-off-by: Oleksij Rempel
> ---
> drivers/watchdog/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Sascha
>
> diff --git a/drivers/watchdog/Kco
On Fri, Feb 15, 2019 at 01:43:47PM +0100, Oleksij Rempel wrote:
> changes v2:
> - efi_wdt_set_timeout() should return error if we get error from (U)EFI
> - use device_platform_driver()
> - spelling and formatting fixes in the documentation.
>
> Oleksij Rempel (4):
> efi: add prototype and defini
On Thu, Feb 14, 2019 at 02:51:57PM +0100, Roland Hieber wrote:
> Hi Sascha,
>
> the other two patches in this series are on master now, but this one
> seems to have fallen through the cracks.
Not really. Your patch indeed isn't applied, but we got the same from
Sam: 864fb024cf ("serial: amba-pl01
On Thu, Feb 14, 2019 at 02:36:34PM +0100, Tomaz Solc wrote:
> BCM2835 watchdog timeout can be set to maximum 15 seconds (0xff >> 16).
> ---
> drivers/watchdog/bcm2835_wdt.c | 5 +
> 1 file changed, 5 insertions(+)
Applied, thanks
Sascha
>
> diff --git a/drivers/watchdog/bcm2835_wdt.c b
On Thu, Feb 14, 2019 at 02:24:27PM +0100, Tomaz Solc wrote:
> pinctrl driver needs to be initialized before mci driver or the pinctrl
> device tree properties in the mci node are ignored. Since mci is already
> initialized by the coredevice_initcall(), changing the link order is currently
> the onl
On Fri, Feb 15, 2019 at 09:56:10AM +0100, Ahmad Fatoum wrote:
> On 11/2/19 09:00, Sascha Hauer wrote:
> >> diff --git a/LICENSES/exceptions/u-boot-exception-2.0
> >> b/LICENSES/exceptions/u-boot-exception-2.0
> >> new file mode 100644
> >> index ..c9b3cd981f51
> >> --- /dev/null
> >> +
On Fri, Feb 15, 2019 at 01:53:40PM +0100, Enrico Jorns wrote:
> This is a collection of some documentation updates, fixes and
> clarifications for the bootchooser framework.
>
> Enrico Jorns (8):
> doc: bootchooser: fix typos etc.
> doc: bootchooser: explicitly note configuration vs. storage b
On Mon, Feb 11, 2019 at 10:40:14PM -0800, Andrey Smirnov wrote:
> Everyone:
>
> This series contains all of the changes I made in order to add support
> for NVME storage in Barebox. Majority of the code was adapted directly
> from Linux kernel and I tried to keep it as close to the original as
> p
On Fri, Feb 15, 2019 at 10:00:37AM +0100, Oleksij Rempel wrote:
> make local functions static and remove unused code
>
> Signed-off-by: Oleksij Rempel
> ---
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions
On Sun, Feb 17, 2019 at 05:16:00PM +0100, Sam Ravnborg wrote:
> The following patchset add supports for the PMC clk
> bindings for at91.
> The patchset was tested on:
> - at91sam9264ek - DT enabled
> - sama5d4-xplained - non DT
>
> The patchset includes sama5d2.c which is not used today.
> I have
On 18.02.19 08:56, Tomaž Šolc wrote:
On 18. 02. 19 08:12, Oleksij Rempel wrote:
+A watchdog is the last line of defense on misbehaving systems. Thus, proper
+hardware and watchdog design considerations should be made to be able to reduce
+the impact of failing systems in the field. In the best
42 matches
Mail list logo