Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vc4 backport (4.14.y) #2346

Closed
wants to merge 194 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
194 commits
Select commit Hold shift + click to select a range
99e7743
arm: partially revert 702b94bff3c50542a6e4ab9a4f4cef093262fe65
invisiblek Sep 21, 2017
a82fbd9
smsx95xx: fix crimes against truesize
Feb 19, 2015
a56da5e
smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default
samnazarko Apr 1, 2016
039aebc
Allow mac address to be set in smsc95xx
popcornmix Mar 26, 2013
631269a
Protect __release_resource against resources without parents
Mar 13, 2015
67f129a
irq-bcm2836: Prevent spurious interrupts, and trap them early
Dec 4, 2015
57050fe
irq-bcm2836: Avoid "Invalid trigger warning"
Feb 9, 2017
f822085
irqchip: bcm2835: Add FIQ support
notro Jun 12, 2015
11efae6
irqchip: irq-bcm2835: Add 2836 FIQ support
notro Oct 23, 2015
2164e4f
irq_bcm2836: Send event when onlining sleeping cores
May 8, 2017
9692c48
spidev: Add "spidev" compatible string to silence warning
Jul 14, 2015
7f0cb95
spi-bcm2835: Support pin groups other than 7-11
Jun 24, 2015
0a93451
spi-bcm2835: Disable forced software CS
Jul 1, 2016
1463890
spi-bcm2835: Remove unused code
Nov 8, 2016
f1f7304
ARM: bcm2835: Set Serial number and Revision
notro Jun 3, 2015
4afda39
dmaengine: bcm2835: Load driver early and support legacy API
notro Oct 3, 2015
c205280
firmware: Updated mailbox header
popcornmix Jan 25, 2016
9c8d1c4
rtc: Add SPI alias for pcf2123 driver
Jun 15, 2016
6176a49
watchdog: bcm2835: Support setting reboot partition
notro Oct 7, 2016
75bce7d
reboot: Use power off rather than busy spinning when halt is requested
popcornmix Apr 5, 2016
9d6127b
bcm: Make RASPBERRYPI_POWER depend on PM
popcornmix Nov 9, 2016
077835b
Register the clocks early during the boot process, so that special/cr…
msperl Sep 2, 2016
f112556
bcm2835-rng: Avoid initialising if already enabled
popcornmix Dec 6, 2016
e345c5c
kbuild: Ignore dtco targets when filtering symbols
Aug 24, 2016
4ae2d16
BCM2835_DT: Fix I2S register map
rtiemann Jul 20, 2015
2cf2d50
clk-bcm2835: Mark used PLLs and dividers CRITICAL
Feb 13, 2017
8f5c5cf
clk-bcm2835: Add claim-clocks property
Feb 13, 2017
de8bc77
clk-bcm2835: Read max core clock from firmware
Mar 6, 2017
326c552
clk: bcm2835: Mark GPIO clocks enabled at boot as critical.
anholt May 10, 2016
e3554c1
sound: Demote deferral errors to INFO level
Feb 9, 2017
8508baa
Update vfpmodule.c
Claggy3 Feb 11, 2017
b403fb3
ASoC: bcm2835_i2s.c: relax the ch2 register setting for 8 channels
flatmax Mar 8, 2017
b4e251b
i2c: bcm2835: Add debug support
notro Nov 1, 2016
b636d41
mm: Remove the PFN busy warning
anholt Dec 19, 2014
e365d78
ASoC: Add prompt for ICS43432 codec
Mar 23, 2017
7e86f6e
Main bcm2708/bcm2709 linux port
popcornmix May 12, 2013
6d6e6fe
Add dwc_otg driver
popcornmix May 1, 2013
9956154
bcm2708 framebuffer driver
popcornmix Jun 17, 2015
71028e7
dmaengine: Add support for BCM2708
koalo Nov 22, 2013
1570c53
MMC: added alternative MMC driver
weiszg Aug 15, 2014
38dc219
Adding bcm2835-sdhost driver, and an overlay to enable it
Mar 25, 2015
a2b75b2
vc_mem: Add vc_mem driver for querying firmware memory addresses
popcornmix Oct 28, 2016
27ec219
vcsm: VideoCore shared memory service for BCM2835
Jul 22, 2014
93642f4
Add /dev/gpiomem device for rootless user GPIO access
Wren6991 Aug 21, 2015
fa6d7b7
Add SMI driver
Wren6991 Sep 5, 2015
60f29b2
MISC: bcm2835: smi: use clock manager and fix reload issues
msperl Apr 26, 2016
b662f54
Add SMI NAND driver
Wren6991 Sep 5, 2015
ce7ac50
lirc: added support for RaspberryPi GPIO
Jun 16, 2012
a6f196e
Add cpufreq driver
popcornmix Jul 2, 2013
137cced
Add Chris Boot's i2c driver
popcornmix Jun 17, 2015
2d1793e
char: broadcom: Add vcio module
notro Jun 26, 2015
d4bcf19
firmware: bcm2835: Support ARCH_BCM270x
notro Jun 26, 2015
856d974
scripts: Add mkknlimg and knlinfo scripts from tools repo
May 11, 2015
43f9079
BCM2708: Add core Device Tree support
notro Jul 9, 2014
fdb8cc8
BCM270x_DT: Add pwr_led, and the required "input" trigger
Feb 6, 2015
ed31b34
fbdev: add FBIOCOPYAREA ioctl
ssvb Jun 17, 2013
df30e3f
Speed up console framebuffer imageblit function
hglm Jun 20, 2013
86a4de9
enabling the realtime clock 1-wire chip DS1307 and 1-wire on GPIO4 (a…
popcornmix May 8, 2013
21340d1
Added Device IDs for August DVB-T 205
popcornmix Jul 2, 2013
f2e610e
rpi-ft5406: Add touchscreen driver for pi LCD display
ghollingworth May 12, 2015
2a71864
Improve __copy_to_user and __copy_from_user performance
popcornmix Nov 28, 2016
7c46a2a
gpio-poweroff: Allow it to work on Raspberry Pi
Jun 25, 2015
0beef4a
mfd: Add Raspberry Pi Sense HAT core driver
pelwell Jul 14, 2015
7e14287
ASoC: Add support for HifiBerry DAC
koalo Nov 22, 2013
bfc8042
ASoC: Add support for Rpi-DAC
koalo Jan 25, 2016
a52a322
ASoC: wm8804: Implement MCLK configuration options, add 32bit support…
Jan 15, 2014
8e9327e
ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patc…
Jan 15, 2014
a2564b1
Add IQaudIO Sound Card support for Raspberry Pi
Mar 8, 2014
51e7221
Added support for HiFiBerry DAC+
Aug 4, 2014
6d26d4e
Added driver for HiFiBerry Amp amplifier add-on board
Aug 4, 2014
7aa79e3
Add driver for rpi-proto
Mar 25, 2015
3430f94
RaspiDAC3 support
Aug 24, 2015
77a9990
Add Support for JustBoom Audio boards
shawaj Apr 7, 2016
934d331
ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver.
andrey2805 May 4, 2016
f7f5898
New AudioInjector.net Pi soundcard with low jitter audio in and out.
flatmax May 16, 2016
5d15c7b
Add IQAudIO Digi WM8804 board support
DigitalDreamtime Jun 30, 2016
319fff9
New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804
escalator2015 May 24, 2016
d66dc2f
Add support for Dion Audio LOCO DAC-AMP HAT
DigitalDreamtime Jul 2, 2016
a0e0997
Allo Piano DAC boards: Initial 2 channel (stereo) support (#1645)
clivem Sep 19, 2016
e47ee02
Add support for Allo Piano DAC 2.1 plus add-on board for Raspberry Pi.
Mar 27, 2017
790fcd4
Add support for Allo Boss DAC add-on board for Raspberry Pi. (#1924)
babuenir Mar 28, 2017
babe89a
Support for Blokas Labs pisound board
gtrainavicius Oct 23, 2016
b1ba7b9
ASoC: Add driver for Cirrus Logic Audio Card
HiassofT Jan 22, 2017
8053ab2
sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT
miquel83blauw Feb 24, 2017
945a07e
Add support for Fe-Pi audio sound card. (#1867)
Fe-Pi Mar 1, 2017
7e41079
Add support for the AudioInjector.net Octo sound card
flatmax Mar 8, 2017
f660753
Driver support for Google voiceHAT soundcard.
Mar 27, 2017
8b35b98
Allo Digione Driver (#2048)
sandeepal Jun 2, 2017
a820f43
rpi_display: add backlight driver and overlay
Oct 21, 2015
200f63f
bcm2835-virtgpio: Virtual GPIO driver
popcornmix Feb 23, 2016
b0f2189
bcm2835-gpio-exp: Driver for GPIO expander via mailbox service
6by9 Feb 20, 2017
0bdfe5c
amba_pl011: Don't use DT aliases for numbering
Feb 23, 2016
203c167
amba_pl011: Round input clock up
Mar 1, 2017
a279993
net: Add non-mainline source for rtl8192cu wlan
popcornmix Sep 3, 2012
4576750
net: Fix rtl8192cu build errors on other platforms
Mar 23, 2016
2e1e4c6
OF: DT-Overlay configfs interface
pantoniou Dec 3, 2014
d9e92f9
brcm: adds support for BCM43341 wifi
Cheong2K Feb 26, 2016
f761723
brcmfmac: Mute expected startup 'errors'
Feb 17, 2017
7186db7
hci_h5: Don't send conf_req when ACTIVE
Dec 17, 2015
79d7b9f
config: Add default configs
popcornmix Apr 13, 2015
642eec2
Add arm64 configuration and device tree differences. Disable MMC_BCM2…
Electron752 Aug 24, 2016
52cbbf6
ARM64: Make it work again on 4.9 (#1790)
Electron752 Jan 12, 2017
ad3c358
ARM64: Enable HDMI audio and vc04_services in bcmrpi3_defconfig
Electron752 Jan 13, 2017
c089494
ARM64: Run bcmrpi3_defconfig through savedefconfig.
Electron752 Jan 13, 2017
8bf5bb7
ARM64: Enable Kernel Address Space Randomization (#1792)
Electron752 Jan 14, 2017
8d4468e
ARM64: Fix build break for RTL8187/RTL8192CU wifi
Electron752 Jan 15, 2017
f069731
ARM64: Enable RTL8187/RTL8192CU wifi in build config
Electron752 Jan 15, 2017
da4787b
ARM64/DWC_OTG: Port dwc_otg driver to ARM64
Electron752 Jan 15, 2017
d9e07ea
ARM64: Round-Robin dispatch IRQs between CPUs.
Electron752 Jan 15, 2017
c2075f1
ARM64: Enable DWC_OTG Driver In ARM64 Build Config(bcmrpi3_defconfig)
Electron752 Jan 15, 2017
959fd3c
ARM64: Force hardware emulation of deprecated instructions.
Electron752 Feb 11, 2017
bc038e2
build/arm64: Add rules for .dtbo files for dts overlays
kraj Feb 11, 2017
6246051
enable drivers for GPIO expander and vcio
bamarni May 24, 2017
48fa7b5
bcm2835-aux: Add aux interrupt controller
Mar 23, 2017
84c8f57
This is the driver for Sony CXD2880 DVB-T2/T tuner + demodulator. It …
YasunariTakiguchi Apr 14, 2017
7fdc851
raspberrypi-firmware: Export the general transaction function.
anholt Sep 14, 2016
8780091
drm/vc4: Add a mode for using the closed firmware for display.
anholt Sep 14, 2016
1a5855b
drm/vc4: Name the primary and cursor planes in fkms.
anholt Feb 2, 2017
4403225
drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms.
anholt Feb 2, 2017
1c88b1a
drm/vc4: Fix sending of page flip completion events in FKMS mode.
anholt Feb 2, 2017
f4f18ed
vc4_fkms: Apply firmware overscan offset to hardware cursor
popcornmix Apr 18, 2017
eb4e289
ASoC: bcm2835: Add support for TDM modes
HiassofT May 7, 2017
d9ba816
ASoC: bcm2835: Support left/right justified and DSP modes
HiassofT May 7, 2017
2964c6e
ASoC: bcm2835: Support additional samplerates up to 384kHz
HiassofT May 7, 2017
92e7c65
ASoC: bcm2835: Enforce full symmetry
HiassofT May 7, 2017
d27d49b
dma-bcm2708: Fix module compilation of CONFIG_DMA_BCM2708
agherzan Jun 5, 2017
db02e7f
cache: export clean and invalidate
popcornmix Aug 25, 2017
4406c4b
amba_pl011: Insert mb() for correct FIFO handling
Sep 29, 2017
a70e248
brcmfmac: add CLM download support
May 15, 2017
cd6373a
brcmfmac: request_firmware_direct is quieter
Oct 6, 2017
069ef7e
amba_pl011: Add cts-event-workaround DT property
Sep 29, 2017
8b45c09
amba-pl011: Report AUTOCTS capability to framework
Oct 11, 2017
2d90dc6
scripts: Update mkknlimg, just in case
Oct 25, 2017
561b45e
AXI performance monitor driver (#2222)
JamesH65 Nov 14, 2017
d45019b
Sets the BCDC priority to constant 0
Jul 21, 2017
c6cfd22
drm/panel: Add support for the Raspberry Pi 7" Touchscreen.
anholt Apr 26, 2016
c672b3e
panel-raspberrypi-touchscreen: Fix NULL deref if probe order goes wrong.
anholt Apr 13, 2017
bcaefb7
panel-raspberrypi-touchscreen: Round up clk rate to fix DSI panel.
anholt Mar 6, 2017
5b4bd30
BCM270X: Add the DSI panel to the defconfig.
anholt Jun 2, 2016
083aec1
drm/vc4: Add support for setting DPMS in firmwarekms.
anholt Jul 6, 2017
71023bf
drm/vc4: Fix pitch setup for T-format scanout.
anholt Jul 15, 2017
a7810f1
brcmfmac: Disable ARP offloading when promiscuous
Aug 24, 2017
2a9abcb
brcmfmac: Avoid possible out-of-bounds read
Sep 17, 2017
00666d5
brcmfmac: Delete redundant length check
Sep 17, 2017
4e615c4
mcp2515: Use DT-supplied interrupt flags
Nov 14, 2017
a3c7924
Tidy up of the ft5406 driver to use DT (#2189)
JamesH65 Nov 16, 2017
26e208e
pinctrl-bcm2835: Set base to 0 give expected gpio numbering
notro Jul 10, 2014
c820204
fiq_fsm: rewind DMA pointer for OUT transactions that fail (#2288)
P33M Nov 24, 2017
2934fcb
lan78xx: Read MAC address from DT if present
Jul 21, 2017
355cb10
lan78xx: Correctly indicate invalid OTP
Nov 28, 2017
11d5ff2
lan78xx: Enable LEDs and auto-negotiation
Oct 17, 2017
f801db8
cgroup: Disable cgroup "memory" by default
Nov 27, 2017
08ae4c3
thermal: enable broadcom menu for arm64 bcm2835
aswild Sep 26, 2017
2432dec
pwm: Set class for exported channels in sysfs
gohai Sep 26, 2017
c0b48c8
Updates for Pisound module code:
gtrainavicius Oct 24, 2016
b38bf8d
overlays: Add applepi-dac overlay
Dec 9, 2017
889ede6
staging: vchiq_arm: Make debugfs failure non-fatal
Dec 12, 2017
a977b78
config: Add PINCTRL_MCP23S08
Dec 23, 2017
5a02b77
Add Raspberry Pi firmware driver to the dependencies of backlight driver
ar-cetitec Dec 21, 2017
e5aebb3
overlays: Add media center HAT overlay (#2313)
shawaj Dec 24, 2017
e092812
add backlight control to rpi-display overlay
shawaj Dec 28, 2017
c5f69d2
add backlight control to media-center overlay
shawaj Dec 28, 2017
a20895b
Add overlay for mcp3202 12 bit ADC
penfold42 Jan 1, 2018
d138d01
drm/vc4: Release fence after signalling
stschake Dec 2, 2017
823fc80
dwc_otg: don't unconditionally force host mode in dwc_otg_cil_init()
Jan 9, 2018
ecfdc7b
vcsm: Define cache operation constants in user header
Terminus-IMRC Jan 4, 2018
db91753
vcsm: Support for finding user/vc handle in memory pool
Terminus-IMRC Jan 4, 2018
55f3fd3
vcsm: Unify cache manipulating functions
Terminus-IMRC Jan 4, 2018
850ee6f
vcsm: Fix obscure conditions
Terminus-IMRC Jan 8, 2018
0240a99
vcsm: Fix memory leaking on clean_invalid2 ioctl handler
Terminus-IMRC Jan 8, 2018
3a80724
vcsm: Describe the use of cache operation constants
Terminus-IMRC Jan 8, 2018
33b9f6b
vcsm: Fix obscure conditions again
Terminus-IMRC Jan 9, 2018
4206808
vcsm: Add no-op cache operation constant
Terminus-IMRC Jan 9, 2018
501cedf
vcsm: Revert to do page-table-walk-based cache manipulating on some i…
Terminus-IMRC Jan 9, 2018
057abf3
add gpio-key overlay (#2329)
shawaj Jan 4, 2018
8826f8d
add additional overrides to rotary-encoder overlay (#2334)
shawaj Jan 5, 2018
23816e6
overlays: Add uart0 overlay to change pin usage
Jan 12, 2018
2f77f72
Revert "softirq: Let ksoftirqd do its job"
popcornmix Jan 17, 2018
55cd3a3
overlays: Fix resetgpio and ledgpio for hy28a/b
Jan 16, 2018
5b3b629
drm/vc4: Use correct path to trace include
thierryreding Sep 1, 2017
ae04dd3
drm/vc4: clean up error handling on devm_kzalloc failure
Sep 8, 2017
e665986
drm/vc4: Add the DRM_IOCTL_VC4_GEM_MADVISE ioctl
Oct 19, 2017
ec24a29
drm/vc4: Fix false positive WARN() backtrace on refcount_inc() usage
Nov 22, 2017
b0b2871
drm/vc4: Fix sleeps during the IRQ handler for DSI transactions.
anholt Oct 14, 2017
829dd09
drm/vc4: Convert timers to use timer_setup()
kees Oct 24, 2017
15a8de7
drm/vc4: Account for interrupts in flight
stschake Nov 10, 2017
17a8c40
drm/vc4: Move IRQ enable to PM path
stschake Dec 29, 2017
fb806e0
drm/vc4: Fix wrong printk format in vc4_bo_stats_debugfs()
Nov 1, 2017
7a4d74b
drm/vc4: Reject HDMI modes with too high of clocks.
anholt Sep 20, 2017
9fb9d97
drm/vc4: Add support for DRM_FORMAT_RGB888 and DRM_FORMAT_BGR888
6by9 Nov 16, 2017
6e3e86b
drm/vc4: Use .pixel_order instead of custom .flip_cbcr
6by9 Nov 16, 2017
8d3d122
drm/vc4: Add support for NV21 and NV61.
6by9 Nov 16, 2017
e715cd2
BCM270X: Disable VEC unless vc4-kms-v3d is present.
anholt Jan 23, 2017
1f242fc
drm/vc4: Flush the caches before the render jobs, as well.
anholt Dec 21, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions Documentation/devicetree/bindings/dma/brcm,bcm2835-dma.txt
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ Example:

bcm2835_i2s: i2s@7e203000 {
compatible = "brcm,bcm2835-i2s";
reg = < 0x7e203000 0x20>,
< 0x7e101098 0x02>;
reg = < 0x7e203000 0x24>,
< 0x7e101098 0x08>;

dmas = <&dma 2>,
<&dma 3>;
Expand Down
17 changes: 17 additions & 0 deletions Documentation/devicetree/bindings/misc/brcm,bcm2835-smi-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
* Broadcom BCM2835 SMI character device driver.

SMI or secondary memory interface is a peripheral specific to certain Broadcom
SOCs, and is helpful for talking to things like parallel-interface displays
and NAND flashes (in fact, most things with a parallel register interface).

This driver adds a character device which provides a user-space interface to
an instance of the SMI driver.

Required properties:
- compatible: "brcm,bcm2835-smi-dev"
- smi_handle: a phandle to the smi node.

Optional properties:
- None.


48 changes: 48 additions & 0 deletions Documentation/devicetree/bindings/misc/brcm,bcm2835-smi.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
* Broadcom BCM2835 SMI driver.

SMI or secondary memory interface is a peripheral specific to certain Broadcom
SOCs, and is helpful for talking to things like parallel-interface displays
and NAND flashes (in fact, most things with a parallel register interface).

Required properties:
- compatible: "brcm,bcm2835-smi"
- reg: Should contain location and length of SMI registers and SMI clkman regs
- interrupts: *the* SMI interrupt.
- pinctrl-names: should be "default".
- pinctrl-0: the phandle of the gpio pin node.
- brcm,smi-clock-source: the clock source for clkman
- brcm,smi-clock-divisor: the integer clock divisor for clkman
- dmas: the dma controller phandle and the DREQ number (4 on a 2835)
- dma-names: the name used by the driver to request its channel.
Should be "rx-tx".

Optional properties:
- None.

Examples:

8 data pin configuration:

smi: smi@7e600000 {
compatible = "brcm,bcm2835-smi";
reg = <0x7e600000 0x44>, <0x7e1010b0 0x8>;
interrupts = <2 16>;
pinctrl-names = "default";
pinctrl-0 = <&smi_pins>;
brcm,smi-clock-source = <6>;
brcm,smi-clock-divisor = <4>;
dmas = <&dma 4>;
dma-names = "rx-tx";

status = "okay";
};

smi_pins: smi_pins {
brcm,pins = <2 3 4 5 6 7 8 9 10 11 12 13 14 15>;
/* Alt 1: SMI */
brcm,function = <5 5 5 5 5 5 5 5 5 5 5 5 5 5>;
/* /CS, /WE and /OE are pulled high, as they are
generally active low signals */
brcm,pull = <2 2 2 2 2 2 0 0 0 0 0 0 0 0>;
};

42 changes: 42 additions & 0 deletions Documentation/devicetree/bindings/mtd/brcm,bcm2835-smi-nand.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
* BCM2835 SMI NAND flash

This driver is a shim between the BCM2835 SMI driver (SMI is a peripheral for
talking to parallel register interfaces) and Linux's MTD layer.

Required properties:
- compatible: "brcm,bcm2835-smi-nand"
- status: "okay"

Optional properties:
- partition@n, where n is an integer from a consecutive sequence starting at 0
- Difficult to store partition table on NAND device - normally put it
in the source code, kernel bootparams, or device tree (the best way!)
- Sub-properties:
- label: the partition name, as shown by mtdinfo /dev/mtd*
- reg: the size and offset of this partition.
- (optional) read-only: an empty property flagging as read only

Example:

nand: flash@0 {
compatible = "brcm,bcm2835-smi-nand";
status = "okay";

partition@0 {
label = "stage2";
// 128k
reg = <0 0x20000>;
read-only;
};
partition@1 {
label = "firmware";
// 16M
reg = <0x20000 0x1000000>;
read-only;
};
partition@2 {
label = "root";
// 2G
reg = <0x1020000 0x80000000>;
};
};
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/serial/pl011.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ Optional properties:
- poll-timeout-ms:
Poll timeout when auto-poll is set, default
3000ms.
- cts-event-workaround:
Enables the (otherwise vendor-specific) workaround for the
CTS-induced TX lockup.

See also bindings/arm/primecell.txt

Expand Down
4 changes: 2 additions & 2 deletions Documentation/devicetree/bindings/sound/brcm,bcm2835-i2s.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ Example:

bcm2835_i2s: i2s@7e203000 {
compatible = "brcm,bcm2835-i2s";
reg = <0x7e203000 0x20>,
<0x7e101098 0x02>;
reg = <0x7e203000 0x24>,
<0x7e101098 0x08>;

dmas = <&dma 2>,
<&dma 3>;
Expand Down
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/vendor-prefixes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ axentia Axentia Technologies AB
axis Axis Communications AB
bananapi BIPAI KEJI LIMITED
bhf Beckhoff Automation GmbH & Co. KG
blokaslabs Vilniaus Blokas UAB
boe BOE Technology Group Co., Ltd.
bosch Bosch Sensortec GmbH
boundary Boundary Devices Inc.
Expand Down
31 changes: 31 additions & 0 deletions Documentation/devicetree/configfs-overlays.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Howto use the configfs overlay interface.

A device-tree configfs entry is created in /config/device-tree/overlays
and and it is manipulated using standard file system I/O.
Note that this is a debug level interface, for use by developers and
not necessarily something accessed by normal users due to the
security implications of having direct access to the kernel's device tree.

* To create an overlay you mkdir the directory:

# mkdir /config/device-tree/overlays/foo

* Either you echo the overlay firmware file to the path property file.

# echo foo.dtbo >/config/device-tree/overlays/foo/path

* Or you cat the contents of the overlay to the dtbo file

# cat foo.dtbo >/config/device-tree/overlays/foo/dtbo

The overlay file will be applied, and devices will be created/destroyed
as required.

To remove it simply rmdir the directory.

# rmdir /config/device-tree/overlays/foo

The rationalle of the dual interface (firmware & direct copy) is that each is
better suited to different use patterns. The firmware interface is what's
intended to be used by hardware managers in the kernel, while the copy interface
make sense for developers (since it avoids problems with namespaces).
2 changes: 2 additions & 0 deletions arch/arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,8 @@ $(INSTALL_TARGETS):

%.dtb: | scripts
$(Q)$(MAKE) $(build)=$(boot)/dts MACHINE=$(MACHINE) $(boot)/dts/$@
%.dtbo: | scripts
$(Q)$(MAKE) $(build)=$(boot)/dts MACHINE=$(MACHINE) $(boot)/dts/$@

PHONY += dtbs dtbs_install

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/boot/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ zImage
xipImage
bootpImage
uImage
*.dtb
*.dtb*
20 changes: 20 additions & 0 deletions arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
# SPDX-License-Identifier: GPL-2.0
ifeq ($(CONFIG_OF),y)

dtb-$(CONFIG_ARCH_BCM2835) += \
bcm2708-rpi-b.dtb \
bcm2708-rpi-b-plus.dtb \
bcm2708-rpi-cm.dtb \
bcm2708-rpi-0-w.dtb \
bcm2709-rpi-2-b.dtb \
bcm2710-rpi-3-b.dtb \
bcm2710-rpi-cm3.dtb

dtb-$(CONFIG_ARCH_ALPINE) += \
alpine-db.dtb
dtb-$(CONFIG_MACH_ARTPEC6) += \
Expand Down Expand Up @@ -1069,10 +1078,21 @@ dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb
dtb-$(CONFIG_ARCH_ASPEED) += aspeed-bmc-opp-palmetto.dtb \
aspeed-bmc-opp-romulus.dtb \
aspeed-ast2500-evb.dtb

targets += dtbs dtbs_install
targets += $(dtb-y)

endif

dtstree := $(srctree)/$(src)
dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))

always := $(dtb-y)
subdir-y := overlays
clean-files := *.dtb

# Enable fixups to support overlays on BCM2835 platforms
ifeq ($(CONFIG_ARCH_BCM2835),y)
DTC_FLAGS ?= -@ -H epapr
dts-dirs += overlays
endif
Loading