- Jun 08, 2015
-
-
popcornmix authored
BCM270x: Clean out unused code
-
Noralf Trønnes authored
These devices do not have a matching driver. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
-
- Jun 07, 2015
-
-
Phil Elwell authored
BCM270x: Make uart1 work with Device Tree
-
popcornmix authored
hwmon: Remove bcm2835-hwmon
-
Phil Elwell authored
BCM270X_DT: Enable 'make clean' on overlays directory
-
Noralf Trønnes authored
Always add the overlays directory to subdir so it can be cleaned with 'make clean'. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
bcm2835-thermal combined with the configs HWMON=y and THERMAL_HWMON=y, gives the same functionality. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
Add uart1 to Device Tree. Enable it in AUXENB when it's used. Remove old platform device. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
- Jun 05, 2015
-
-
Phil Elwell authored
-
Phil Elwell authored
-
Phil Elwell authored
-
Phil Elwell authored
-
Phil Elwell authored
Use virt_to_dma (not ideal, I know) to calculate the virt-to-bus offset. This will make use of the "dma-ranges" property, if present.
-
Phil Elwell authored
BCM270x_DT: Configure UART using DT
-
-
- Jun 04, 2015
-
-
popcornmix authored
ARCH_BCM2835 closing in on ARCH_BCM270X
-
- Jun 03, 2015
-
-
Noralf Trønnes authored
These commands where used to make this commit: ./scripts/diffconfig -m arch/arm/configs/bcm2835_defconfig arch/arm/configs/bcmrpi_defconfig > merge.cfg cat << EOF > filter CONFIG_ARCH_BCM2708 CONFIG_BCM2708_DT CONFIG_ARM_PATCH_PHYS_VIRT CONFIG_PHYS_OFFSET CONFIG_CMDLINE CONFIG_BCM2708_WDT CONFIG_HW_RANDOM_BCM2708 CONFIG_I2C_BCM2708 CONFIG_SPI_BCM2708 CONFIG_SND_BCM2708_SOC_I2S CONFIG_USB_DWCOTG CONFIG_LIRC_RPI EOF grep -F -v -f filter merge.cfg > filtered.cfg cat << EOF > added.cfg CONFIG_WATCHDOG=y CONFIG_BCM2835_WDT=y CONFIG_MISC_FILESYSTEMS=y CONFIG_SND_BCM2835_SOC_I2S=m EOF ARCH=arm scripts/kconfig/merge_config.sh arch/arm/configs/bcm2835_defconfig filtered.cfg added.cfg ARCH=arm make oldconfig ARCH=arm make savedefconfig cp defconfig arch/arm/configs/bcm2835_defconfig rm merge.cfg filter filtered.cfg added.cfg defconfig ARCH=arm make bcm2835_defconfig ARCH=arm make oldconfig Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
Change kconfig dependency to make SND_BCM2708_SOC_* and VIDEO_BCM2835 available on ARCH_BCM2835. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
Build Device Tree overlays on ARCH_BCM2835. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
The VideoCore bootloader passes in Serial number and Revision number through Device Tree. Make these available to userspace through /proc/cpuinfo. Mainline status: There is a commit in linux-next that standardize passing the serial number through Device Tree (string: /serial-number): ARM: 8355/1: arch: Show the serial number from devicetree in cpuinfo There was an attempt to do the same with the revision number, but it didn't get in: [PATCH v2 1/2] arm: devtree: Set system_rev from DT revision Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
- Jun 02, 2015
-
-
popcornmix authored
BCM270x: Make bcm2835-pm-wdt and bcm2835-rng available
-
popcornmix authored
Add thermal sensor support to ARCH_BCM2835
-
Noralf Trønnes authored
This makes it possible to use the mainline watchdog and random generator drivers: dtparam=watchdog=on dtparam=random=on bcm2708_wdog and bcm2708-rng can still be used. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
Change the kconfig dependency to make bcm2835_wdt and bcm2835-rng available on ARCH_BCM2708 and ARCH_BCM2709. Enable them as loadable modules in bcmrpi_defconfig and bcm2709_defconfig. There is a commit in linux-next that will move restart/pm_power_off to bcm2835_wdt for ARCH_BCM2835. This will not affect ARCH_BCM270x since arm_pm_restart (.restart = bcm2708_restart) and pm_power_off (=bcm2708_power_off) is set in arch/arm/mach-bcm270X/bcm270X.c and will take presedence. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
Add the BCM2835 thermal sensor to Device Tree. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
Add Device Tree support to bcm2835-thermal driver. Add thermal sensor device to Device Tree. Don't add platform device when booting in DT mode. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Martin Sperl authored
-
Phil Elwell authored
BCM270x: Add USB controller to Device Tree
-
Phil Elwell authored
BCM270x: Move vc_mem
-
Noralf Trønnes authored
Add Device Tree support to dwc_otg driver. Add device to Device Tree. Don't add platform devices when booting in DT mode. Tested on Pi1 and Pi2 with and without DT. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
- Jun 01, 2015
-
-
mwilliams03 authored
-
mwilliams03 authored
-
Phil Elwell authored
-
Noralf Trønnes authored
Add Device Tree overlay for 3.5" display by tinylcd.com Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
Noralf Trønnes authored
-
- May 29, 2015
-
-
Phil Elwell authored
Add a new trailer field indicating whether this is an ARCH_BCM2835 build, as opposed to MACH_BCM2708/9. If the loader finds this flag is set it changes the default base dtb file name from bcm270x... to bcm283y... Also update knlinfo to show the status of the field.
-
Noralf Trønnes authored
Make the vc_mem module available for ARCH_BCM2835 by moving it. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
-
- May 28, 2015
-
-
Phil Elwell authored
The Raspberry Pi firmware looks for a trailer on the kernel image to determine whether it was compiled with Device Tree support enabled. If the firmware finds a kernel without this trailer, or which has a trailer indicating that it isn't DT-capable, it disables DT support and reverts to using ATAGs. The mkknlimg utility adds that trailer, having first analysed the image to look for signs of DT support and the kernel version string. knlinfo displays the contents of the trailer in the given kernel image.
-