Skip to content

Revert "net: pskb_trim_rcsum() and CHECKSUM_COMPLETE are friends" #2716

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

Closed
wants to merge 215 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
215 commits
Select commit Hold shift + click to select a range
bdc5920
arm: partially revert 702b94bff3c50542a6e4ab9a4f4cef093262fe65
invisiblek Sep 21, 2017
3eb011e
smsx95xx: fix crimes against truesize
Feb 19, 2015
6e229db
smsc95xx: Experimental: Enable turbo_mode and packetsize=2560 by default
samnazarko Apr 1, 2016
22a842d
Allow mac address to be set in smsc95xx
popcornmix Mar 26, 2013
b25e812
Protect __release_resource against resources without parents
Mar 13, 2015
7c319e3
irq-bcm2836: Prevent spurious interrupts, and trap them early
Dec 4, 2015
fa25d73
irq-bcm2836: Avoid "Invalid trigger warning"
Feb 9, 2017
0a35033
irqchip: bcm2835: Add FIQ support
notro Jun 12, 2015
f4fd338
irqchip: irq-bcm2835: Add 2836 FIQ support
notro Oct 23, 2015
314a9e7
spidev: Add "spidev" compatible string to silence warning
Jul 14, 2015
47d3c2b
spi-bcm2835: Support pin groups other than 7-11
Jun 24, 2015
f5a8f0e
spi-bcm2835: Disable forced software CS
Jul 1, 2016
f235c36
spi-bcm2835: Remove unused code
Nov 8, 2016
483080a
dmaengine: bcm2835: Load driver early and support legacy API
notro Oct 3, 2015
92c09bf
firmware: Updated mailbox header
popcornmix Jan 25, 2016
9260961
rtc: Add SPI alias for pcf2123 driver
Jun 15, 2016
9cbde9d
watchdog: bcm2835: Support setting reboot partition
notro Oct 7, 2016
08593e5
reboot: Use power off rather than busy spinning when halt is requested
popcornmix Apr 5, 2016
19a6be2
bcm: Make RASPBERRYPI_POWER depend on PM
popcornmix Nov 9, 2016
08ac545
Register the clocks early during the boot process, so that special/cr…
msperl Sep 2, 2016
b557e9a
bcm2835-rng: Avoid initialising if already enabled
popcornmix Dec 6, 2016
b437add
kbuild: Ignore dtco targets when filtering symbols
Aug 24, 2016
a669039
clk-bcm2835: Mark used PLLs and dividers CRITICAL
Feb 13, 2017
864e093
clk-bcm2835: Add claim-clocks property
Feb 13, 2017
edde36a
clk-bcm2835: Read max core clock from firmware
Mar 6, 2017
43c1b54
clk: bcm2835: Mark GPIO clocks enabled at boot as critical.
anholt May 10, 2016
2dc1d58
sound: Demote deferral errors to INFO level
Feb 9, 2017
602dea1
Update vfpmodule.c
Claggy3 Feb 11, 2017
a331260
i2c: bcm2835: Add debug support
notro Nov 1, 2016
5ad0204
mm: Remove the PFN busy warning
anholt Dec 19, 2014
aa8270b
ASoC: Add prompt for ICS43432 codec
Mar 23, 2017
02c5316
irqchip: irq-bcm2836: Remove regmap and syscon use
Jan 23, 2018
aa49086
lan78xx: Enable LEDs and auto-negotiation
Oct 17, 2017
d0bf3c2
amba_pl011: Don't use DT aliases for numbering
Feb 23, 2016
05d8a4f
amba_pl011: Round input clock up
Mar 1, 2017
0e44615
amba_pl011: Insert mb() for correct FIFO handling
Sep 29, 2017
0c62531
amba_pl011: Add cts-event-workaround DT property
Sep 29, 2017
44d213c
pinctrl-bcm2835: Set base to 0 give expected gpio numbering
notro Jul 10, 2014
a3e2194
Main bcm2708/bcm2709 linux port
popcornmix May 12, 2013
2badf25
Add dwc_otg driver
popcornmix May 1, 2013
68da419
bcm2708 framebuffer driver
popcornmix Jun 17, 2015
6fb561d
Speed up console framebuffer imageblit function
hglm Jun 20, 2013
af784b9
dmaengine: Add support for BCM2708
koalo Nov 22, 2013
48662d0
MMC: added alternative MMC driver
weiszg Aug 15, 2014
8e8c3b8
Adding bcm2835-sdhost driver, and an overlay to enable it
Mar 25, 2015
b86072f
vc_mem: Add vc_mem driver for querying firmware memory addresses
popcornmix Oct 28, 2016
c56670c
vcsm: VideoCore shared memory service for BCM2835
Jul 22, 2014
d8c8e45
Add /dev/gpiomem device for rootless user GPIO access
Wren6991 Aug 21, 2015
6966af8
Add SMI driver
Wren6991 Sep 5, 2015
11b4f30
MISC: bcm2835: smi: use clock manager and fix reload issues
msperl Apr 26, 2016
c52cd21
Add SMI NAND driver
Wren6991 Sep 5, 2015
4c767c8
Add cpufreq driver
popcornmix Jul 2, 2013
e46b9b4
Add Chris Boot's i2c driver
popcornmix Jun 17, 2015
2334168
char: broadcom: Add vcio module
notro Jun 26, 2015
780e66d
firmware: bcm2835: Support ARCH_BCM270x
notro Jun 26, 2015
c6903ee
scripts: Add mkknlimg and knlinfo scripts from tools repo
May 11, 2015
616706a
BCM2708: Add core Device Tree support
notro Jul 9, 2014
56ece60
BCM270x_DT: Add pwr_led, and the required "input" trigger
Feb 6, 2015
4095f31
fbdev: add FBIOCOPYAREA ioctl
ssvb Jun 17, 2013
565674c
Added Device IDs for August DVB-T 205
popcornmix Jul 2, 2013
e3c6c33
rpi-ft5406: Add touchscreen driver for pi LCD display
ghollingworth May 12, 2015
32eb603
Improve __copy_to_user and __copy_from_user performance
popcornmix Nov 28, 2016
4cdfbcf
gpio-poweroff: Allow it to work on Raspberry Pi
Jun 25, 2015
d101df4
mfd: Add Raspberry Pi Sense HAT core driver
pelwell Jul 14, 2015
c136153
ASoC: pcm512x: implement set_tdm_slot interface
HiassofT Feb 22, 2018
ccb1275
ASoC: Add support for HifiBerry DAC
koalo Nov 22, 2013
5acabb6
ASoC: Add support for Rpi-DAC
koalo Jan 25, 2016
207821e
ASoC: BCM:Add support for HiFiBerry Digi. Driver is based on the patc…
Jan 15, 2014
4de8589
Add IQaudIO Sound Card support for Raspberry Pi
Mar 8, 2014
445eb81
Added support for HiFiBerry DAC+
Aug 4, 2014
450be4e
Added driver for HiFiBerry Amp amplifier add-on board
Aug 4, 2014
752e167
Add driver for rpi-proto
Mar 25, 2015
ac81320
Add Support for JustBoom Audio boards
shawaj Apr 7, 2016
ed5b290
ARM: adau1977-adc: Add basic machine driver for adau1977 codec driver.
andrey2805 May 4, 2016
0b9e12e
New AudioInjector.net Pi soundcard with low jitter audio in and out.
flatmax May 16, 2016
8a49d9b
Add IQAudIO Digi WM8804 board support
DigitalDreamtime Jun 30, 2016
dc2e194
New driver for RRA DigiDAC1 soundcard using WM8741 + WM8804
escalator2015 May 24, 2016
0d2b4aa
Add support for Dion Audio LOCO DAC-AMP HAT
DigitalDreamtime Jul 2, 2016
f53cf88
Allo Piano DAC boards: Initial 2 channel (stereo) support (#1645)
clivem Sep 19, 2016
a49c8d3
Add support for Allo Piano DAC 2.1 plus add-on board for Raspberry Pi.
Mar 27, 2017
1f451bb
Add support for Allo Boss DAC add-on board for Raspberry Pi. (#1924)
babuenir Mar 28, 2017
9e49827
Support for Blokas Labs pisound board
gtrainavicius Oct 23, 2016
47adfbd
ASoC: Add driver for Cirrus Logic Audio Card
HiassofT Jan 22, 2017
93b487d
sound: Support for Dion Audio LOCO-V2 DAC-AMP HAT
miquel83blauw Feb 24, 2017
167a819
Add support for Fe-Pi audio sound card. (#1867)
Fe-Pi Mar 1, 2017
b808bea
Add support for the AudioInjector.net Octo sound card
flatmax Mar 8, 2017
e785433
Driver support for Google voiceHAT soundcard.
Mar 27, 2017
8d9d0d1
Allo Digione Driver (#2048)
sandeepal Jun 2, 2017
f70848f
rpi_display: add backlight driver and overlay
Oct 21, 2015
69741ff
bcm2835-virtgpio: Virtual GPIO driver
popcornmix Feb 23, 2016
2ecc2e6
net: Add non-mainline source for rtl8192cu wlan
popcornmix Sep 3, 2012
d9125c6
net: Fix rtl8192cu build errors on other platforms
Mar 23, 2016
45fd4d1
rtl8192cu: Updates for 4.15
popcornmix Feb 13, 2018
09e5bc0
net: rtl8192cu: Fix off-by-one warning
marckleinebudde Sep 12, 2015
0919beb
net: rtl8192cu: Normalize indentation
nathanchance Mar 4, 2018
7d559ea
net: rtl8192cu: Fix outstanding GCC 6.4.0 warnings
fran6co May 28, 2016
a3792dc
net: rtl8192cu: Fix implicit fallthrough warnings
nathanchance Mar 5, 2018
dd3dc6a
OF: DT-Overlay configfs interface
pantoniou Dec 3, 2014
a034720
brcm: adds support for BCM43341 wifi
Cheong2K Feb 26, 2016
76749fc
brcmfmac: Mute expected startup 'errors'
Feb 17, 2017
4cb3d7b
brcmfmac: request_firmware_direct is quieter
Oct 6, 2017
c4a2195
hci_h5: Don't send conf_req when ACTIVE
Dec 17, 2015
86383d8
config: Add default configs
popcornmix Apr 13, 2015
53147fa
Add arm64 configuration and device tree differences. Disable MMC_BCM2…
Electron752 Aug 24, 2016
404b60f
ARM64/DWC_OTG: Port dwc_otg driver to ARM64
Electron752 Jan 15, 2017
4b10b85
ARM64: Round-Robin dispatch IRQs between CPUs.
Electron752 Jan 15, 2017
69e00bb
ARM64: Force hardware emulation of deprecated instructions.
Electron752 Feb 11, 2017
60f4066
build/arm64: Add rules for .dtbo files for dts overlays
kraj Feb 11, 2017
653070b
cache: export clean and invalidate
popcornmix Aug 25, 2017
53cd7ba
AXI performance monitor driver (#2222)
JamesH65 Nov 14, 2017
0407a12
mcp2515: Use DT-supplied interrupt flags
Nov 14, 2017
ff5b9b8
Tidy up of the ft5406 driver to use DT (#2189)
JamesH65 Nov 16, 2017
709a55e
cgroup: Disable cgroup "memory" by default
Nov 27, 2017
a62fbf3
ARM: bcm2835: Set Serial number and Revision
notro Jun 3, 2015
548c2c8
ARM: Activate FIQs to avoid __irq_startup warnings
Dec 11, 2017
b5c93f3
serial: 8250: bcm2835aux - suppress EPROBE_DEFER
Jan 22, 2018
d39b71c
raspberrypi-firmware: Export the general transaction function.
anholt Sep 14, 2016
440144c
drm/vc4: Add a mode for using the closed firmware for display.
anholt Sep 14, 2016
d4c0256
drm/vc4: Name the primary and cursor planes in fkms.
anholt Feb 2, 2017
1bf678e
drm/vc4: Add DRM_DEBUG_ATOMIC for the insides of fkms.
anholt Feb 2, 2017
ec6209e
drm/vc4: Fix sending of page flip completion events in FKMS mode.
anholt Feb 2, 2017
fababfc
drm/vc4: Add support for setting DPMS in firmwarekms.
anholt Jul 6, 2017
26fad89
drm/vc4: Add FB modifier support to firmwarekms.
anholt Jun 7, 2017
be5f928
drm/vc4: Add missing enable/disable vblank handlers in fkms.
anholt Jan 30, 2018
a7fd3ae
vc4_fkms: Apply firmware overscan offset to hardware cursor
popcornmix Apr 18, 2017
839750b
hack: cache: Fix linker error
popcornmix Feb 20, 2018
7bd7bf6
i2c-gpio: Also set bus numbers from reg property
Feb 20, 2018
2584295
sc16is7xx: Fix for multi-channel stall
Feb 20, 2018
9b8e1c6
firmware/raspberrypi: Add a get_throttled sysfs file
notro Feb 24, 2018
6d4f781
sound: bcm: Fix memset dereference warning
nathanchance Mar 5, 2018
5f3e0a0
added capture_clear option to pps-gpio via dtoverlay (#2433)
hdoverobinson Mar 13, 2018
71508ef
lan78xx: Read initial EEE status from DT
Mar 9, 2018
0efe084
drm/vc4: Fix warning about vblank interrupts before DRM core is ready.
anholt Feb 5, 2018
a693999
drm/vc4: Skip SET_CURSOR_INFO when the cursor contents didn't change.
anholt Feb 5, 2018
1a6014c
drm/vc4: Remove duplicate primary/cursor fields from FKMS driver.
anholt Feb 5, 2018
8ccb6d5
drm/vc4: Don't wait for vblank on fkms cursor updates.
anholt Feb 5, 2018
3d67f48
hid: Reduce default mouse polling interval to 60Hz
popcornmix Jul 14, 2014
f429176
audioinjector-octo: Add continuous clock feature
Mar 3, 2018
c75a741
ASoC: rpi-cirrus: change codec to component
HiassofT Mar 31, 2018
6263115
gpiolib: Don't prevent IRQ usage of output GPIOs
Apr 24, 2018
7af95bd
Driver and overlay for Allo Katana DAC
Apr 19, 2018
6e99393
Add ability to export gpio used by gpio-poweroff
nick-bulleid May 10, 2018
3d2b92f
firmware/raspberrypi: Notify firmware of a reboot
May 12, 2018
2be236c
dwc_otg: Disable fiq by default until it is fixed
popcornmix Jun 11, 2018
4a62ccc
configfs: hack: make it build
popcornmix Jun 11, 2018
e9d67a5
ASoC: justboom-dac: change codec to component
HiassofT Jun 12, 2018
847443a
ASoC: justboom-digi: change codec to component
HiassofT Jun 12, 2018
33de718
Revert "dwc_otg: Disable fiq by default until it is fixed"
Jun 14, 2018
9fc450c
irqchip: irq-bcm2835: Calc. FIQ_START at boot-time
Jun 14, 2018
5e88737
ASoC: allo-piano-dac-plus: change codec to component
popcornmix Jun 14, 2018
e797635
ASoC: hifiberry_digi: change codec to component
popcornmix Jun 14, 2018
d3c5e13
ASoC: fe-pi-audio: change codec to component
popcornmix Jun 14, 2018
f2fb931
ASoC: rpi-proto: change codec to component
popcornmix Jun 14, 2018
0cb8ae5
ASoC: allo-digione: change codec to component
popcornmix Jun 14, 2018
063423d
ASoC: allo-boss-dac: change codec to component
popcornmix Jun 14, 2018
d57b005
ASoC: hifiberry_dacplus: change codec to component
popcornmix Jun 14, 2018
217b629
ASoC: iqaudio_digi: change codec to component
popcornmix Jun 14, 2018
437ff0d
ASoC: digidac1-soundcard: change codec to component
popcornmix Jun 17, 2018
dd71d79
ASoC: googlevoicehat-codec: change codec to component
popcornmix Jun 17, 2018
ea2229f
ASoC: allo-katana-codec: change codec to component
popcornmix Jun 17, 2018
bef2d30
vc4_firmware_kms: fix build
popcornmix Jun 17, 2018
22174d8
ASoC: adau1977-adc: change codec to component
popcornmix Jun 17, 2018
e29009e
ASoC: pcm1794a: change codec to component
popcornmix Jun 17, 2018
db84e2b
ASoC: pcm512x: change codec to component
popcornmix Jun 17, 2018
30f51a0
ASoC: tas5713: change codec to component
popcornmix Jun 17, 2018
5358a6b
Revert "configfs: hack: make it build"
Jun 19, 2018
62146d4
of: configfs: Use of_overlay_fdt_apply API call
Jun 14, 2018
3905191
ASoC: wm8804: MCLK configuration options, 32-bit
Jan 15, 2014
23ba68d
BCM270X: Add the DSI panel to the defconfig.
anholt Jun 2, 2016
a308872
config: enable Audio Graph Card module
HiassofT Feb 6, 2018
160337a
arm64: enable thermal / enable mmc (#2425)
Piraty Mar 12, 2018
dbcf637
This commit adds support for RP3-B-Plus in in arch arm64 (#2464)
derpeter Mar 25, 2018
8757801
config: Add I2C_TINY_USB=m
Apr 27, 2018
9ea3461
Enable AES, AES bit slice, and AES NEON engines on arm64
eccgecko May 23, 2018
a562632
overlays: Add sdtweak features for network booting
May 29, 2018
bb83138
Enable bbr module for arm64
xunzhaocnm May 31, 2018
362cbfa
sc16is7xx: Fix for "Unexpected interrupt: 8"
May 18, 2018
e63d319
config: Add CONFIG_SPI_GPIO
Jun 12, 2018
5b5a655
config: Add CONFIG_NET_IPVTI=m
Jun 12, 2018
35533c7
net: lan78xx: Disable TCP Segmentation Offload (TSO)
6by9 Jun 13, 2018
39538b0
overlays: Add gpio-no-irq overlay
Jun 19, 2018
d5eedd8
BCM270X_DT: Remove AUX interrupt controller refs
Jun 20, 2018
4cad135
brcmfmac: Re-enable firmware roaming support
Jun 20, 2018
d3f3bd0
SQUASH: Revert downstream wm8804 changes
HiassofT Feb 2, 2018
f6cc8fb
Allo Katana DAC: Updated default values
Jun 26, 2018
329a029
arm: dts: bcm2710-rpi-3-b-plus: fix hpd gpio pin
lrusak Jun 29, 2018
b1a6278
ASoC: bcm: Refactor to use devm to register cards
Jun 22, 2018
fe03037
ASoC: rpi-dac: Move snd_soc_dai_set_bclk_ratio to .init
Jun 22, 2018
0a71d65
ASoC: hifiberry_api: Move snd_soc_dai_set_bclk_ratio to .init
Jun 22, 2018
a65b6cc
ASoC: Add generic RPI driver for simple soundcards.
Jun 27, 2018
71d577a
ASoC: Enable the RPi simple soundcard driver
Jul 6, 2018
0369d6d
ASoC: Use correct card name in rpi-simple driver
Jul 23, 2018
aadd799
ASoC: Create a generic Pi Hat WM8804 driver
Jul 21, 2018
97085c4
Revert "staging: vc04_services: Remove cache-line-size property (v3)"
popcornmix Aug 15, 2018
defb457
lan78xx: Move enabling of EEE into PHY init code
Apr 5, 2018
1661fc2
config: fix media device defconfigs
HiassofT Aug 17, 2018
1ae6400
rpi-wm8804-soundcard: use nicer driver_name "RPi-WM8804"
HiassofT Aug 25, 2018
5f5a301
Revert "Revert "staging: vc04_services: Remove cache-line-size proper…
Aug 28, 2018
996f471
staging/vc04_services: Derive g_cache_line_size
Aug 28, 2018
d921f30
ARM: dts: bcm283x: Correct mailbox register sizes
Aug 23, 2018
8dc80ff
BCM270X_DT: Sync downstream VCHIQ node w. upstream
Aug 23, 2018
409d6c1
rpi-simple-soundcard: Use nicer driver name "RPi-simple"
Sep 5, 2018
33b0e65
Add rpi-poe-fan driver
XECDesign Jul 9, 2018
ad57d95
cxd2880: CXD2880_SPI_DRV should select DVB_CXD2880 with MEDIA_SUBDRV_…
popcornmix Sep 17, 2018
1baeb94
dwc_otg: fiq_fsm: fix incorrect DMA register offset calculation
Sep 21, 2018
1db9ec4
bcm2835: interpolate audio delay
Jan 13, 2016
8004d63
vchiq_2835_arm: Implement a DMA pool for small bulk transfers (#2699)
detule Oct 2, 2018
1a158e5
BCM2708_DT: Use upstreamed GPIO expander driver
Oct 8, 2018
6bd83d5
Added driver for the HiFiBerry DAC+ ADC (#2694)
hifiberry Oct 8, 2018
8324b0c
overlays: Fix a few dtc warnings
Oct 8, 2018
286abfb
ASoC: RPi composite driver for PCM512x based cards
Sep 7, 2018
35eaad0
tpm: Make SECURITYFS a weak dependency
PeterHuewe Sep 3, 2018
f81913c
Enable TPM TIS SPI support for TPM1.2 and TPM2.0 chips
PeterHuewe Jun 14, 2018
f540527
Add overlay for SLB9760 Iridium /LetsTrust TPM
PeterHuewe Jun 14, 2018
35f0644
Revert "net: pskb_trim_rcsum() and CHECKSUM_COMPLETE are friends"
6by9 Oct 15, 2018
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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*.bin
*.bz2
*.c.[012]*.*
*.dtb
*.dtb*
*.dtb.S
*.dwo
*.elf
Expand Down
55 changes: 55 additions & 0 deletions Documentation/devicetree/bindings/hwmon/rpi-poe-fan.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
Bindings for the Raspberry Pi PoE HAT fan

Required properties:
- compatible : "raspberrypi,rpi-poe-fan"
- firmware : Reference to the RPi firmware device node
- pwms : the PWM that is used to control the PWM fan
- cooling-levels : PWM duty cycle values in a range from 0 to 255
which correspond to thermal cooling states

Example:
fan0: rpi-poe-fan@0 {
compatible = "raspberrypi,rpi-poe-fan";
firmware = <&firmware>;
cooling-min-state = <0>;
cooling-max-state = <3>;
#cooling-cells = <2>;
cooling-levels = <0 50 150 255>;
status = "okay";
};

thermal-zones {
cpu_thermal: cpu-thermal {
trips {
threshold: trip-point@0 {
temperature = <45000>;
hysteresis = <5000>;
type = "active";
};
target: trip-point@1 {
temperature = <50000>;
hysteresis = <2000>;
type = "active";
};
cpu_hot: cpu_hot@0 {
temperature = <55000>;
hysteresis = <2000>;
type = "active";
};
};
cooling-maps {
map0 {
trip = <&threshold>;
cooling-device = <&fan0 0 1>;
};
map1 {
trip = <&target>;
cooling-device = <&fan0 1 2>;
};
map2 {
trip = <&cpu_hot>;
cooling-device = <&fan0 2 3>;
};
};
};
};
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>;
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Optional properties:
inactive state.
- timeout-ms: Time to wait before asserting a WARN_ON(1). If nothing is
specified, 3000 ms is used.
- export : Export the GPIO line to the sysfs system

Examples:

Expand Down
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
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/vendor-prefixes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,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).
15 changes: 15 additions & 0 deletions Documentation/hwmon/rpi-poe-fan
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Kernel driver rpi-poe-fan
=====================

This driver enables the use of the Raspberry Pi PoE HAT fan.

Author: Serge Schneider <[email protected]>

Description
-----------

The driver implements a simple interface for driving the Raspberry Pi PoE
(Power over Ethernet) HAT fan. The driver passes commands to the Raspberry Pi
firmware through the mailbox property interface. The firmware then forwards
the commands to the board over I2C on the ID_EEPROM pins. The driver exposes
the fan to the user space through the hwmon sysfs interface.
2 changes: 2 additions & 0 deletions arch/arm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,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
21 changes: 21 additions & 0 deletions arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
# SPDX-License-Identifier: GPL-2.0

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-3-b-plus.dtb \
bcm2710-rpi-cm3.dtb

dtb-$(CONFIG_ARCH_ALPINE) += \
alpine-db.dtb
dtb-$(CONFIG_MACH_ARTPEC6) += \
Expand Down Expand Up @@ -1184,3 +1195,13 @@ dtb-$(CONFIG_ARCH_ASPEED) += \
aspeed-bmc-opp-zaius.dtb \
aspeed-bmc-portwell-neptune.dtb \
aspeed-bmc-quanta-q71l.dtb

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

subdir-y := overlays

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