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

Odroid-N2: arm64/dts: fix audio model name #394

Open
wants to merge 144 commits into
base: odroid-5.4.y
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
144 commits
Select commit Hold shift + click to select a range
ab23b18
ODROID-XU4: ARM: dma-mapping: increase DMA coherent pool size to 2M
mihailescu2m Oct 21, 2019
a74c9e7
ODROID-XU4: soc: samsung: chipid: Make exynos_chipid_early_init() static
Sep 4, 2019
a82e01e
ODROID-XU4: ARM: dts: exynos: Add support ARM architected timers on E…
mszyprow Aug 28, 2019
c585582
ODROID-XU4: phy: exynos5-usbdrd: Calibrating makes sense only for USB…
mszyprow Jul 19, 2019
b6e5819
ODROID-XU4: drm/exynos/hdmi: add 'HPD' and 'vout' as boot parameters
bkrepo Jan 5, 2017
860fcf7
ODROID-XU4: drm/exynos: add new HDMI PHY pll and resolutions + pre-bu…
mdrjr Jan 1, 2017
a4c0c28
ODROID-XU4: drm/exynos/mixer: never blend the base layer
OtherCrashOverride Apr 9, 2017
a19ce3b
ODROID-XU4: media: s5p-jpeg: Enable decoding with multiple buffers
mihailescu2m Jan 24, 2019
2310715
ODROID-XU4: media: exynos-gsc: fix v4l2 SELECTION api
mihailescu2m Jul 10, 2018
79d5eaa
ODROID-XU4: videobuf2-dc: Move vb2_dc_get_base_sgt() above mmap callb…
Oct 26, 2016
303d1da
ODROID-XU4: videobuf2-dc: Support cacheable MMAP
Oct 26, 2016
e5f91a9
ODROID-XU4: ARM: dma-mapping: add support for non-consistent dma_mmap
mszyprow Feb 15, 2017
831c904
ODROID-XU4: media: s5p-mfc: use cacheable DMA buffers to improve perf…
mihailescu2m Oct 29, 2017
8f0da09
ODROID-XU4: media: s5p-mfc: copy timestamp and timecode in encoder ou…
mihailescu2m Jul 10, 2018
85eafee
ODROID-XU4: media: s5p-mfc: stop streaming before releasing queues
OtherCrashOverride May 19, 2017
b08c0c1
ODROID-XU4: clk: samsung: exynos5420: add VPLL rate table
mihailescu2m Oct 15, 2019
e202388
ODROID-XU4: clk: samsung: exynos5420: Add SET_RATE_PARENT flag to clo…
mszyprow Oct 25, 2019
689cdab
ODROID-XU4: clk: samsung: exynos5420: Keep top G3D clocks enabled
mszyprow Nov 21, 2019
3830820
ODROID-XU4: ARM: dts: exynos5420: add mali dt node and enable mali on…
mihailescu2m Nov 14, 2019
553eeab
ODROID-XU4: thermal: exynos: add support for 8 trip points on Exynos5…
mihailescu2m Jul 10, 2018
6fc99dd
ODROID-XU4: arm: dts: exynos5422: enable Exynos5422 TMU
mihailescu2m Jan 22, 2019
cfbb0fb
ODROID-XU4: arm: dts: exynos: correct the cpu frequencies and voltage…
mihailescu2m Oct 18, 2019
0a56173
ODROID-XU4: thermal: add irq-mode configuration for trip point
Nov 7, 2018
c4b647b
ODROID-XU4: thermal: add new sysfs file for irq-mode
Nov 7, 2018
9fc0476
ODROID-XU4: arm: dts: exynos: enable per cpu thermal trips with irq-m…
mihailescu2m Oct 15, 2019
98a4e76
ODROID-XU4: arm: dts: exynos: enable per cpu thermal trips with irq-m…
mihailescu2m Mar 12, 2019
aebfe71
ODROID-XU4: dt-bindings: ddr: rename lpddr2 directory
Aug 21, 2019
faeeba0
ODROID-XU4: dt-bindings: ddr: add LPDDR3 memories
Aug 21, 2019
25abd88
ODROID-XU4: drivers: memory: extend of_memory by LPDDR3 support
Aug 21, 2019
7cd7ae0
ODROID-XU4: dt-bindings: memory-controllers: add Exynos5422 DMC devic…
Aug 21, 2019
9eeb237
ODROID-XU4: drivers: memory: add DMC driver for Exynos5422
Aug 21, 2019
f8f287e
ODROID-XU4: ARM: dts: exynos: add syscon to clock compatible
Aug 21, 2019
488f252
ODROID-XU4: ARM: dts: exynos: add DMC device for exynos5422
Aug 21, 2019
9a2fba3
ODROID-XU4: ARM: exynos_defconfig: enable DMC driver
Aug 21, 2019
3685fe5
ODROID-XU4: memory: samsung: exynos5422-dmc: Fix kfree() of devm-allo…
Sep 19, 2019
b639d00
ODROID-XU4: dt-bindings: ddr: Add bindings for Samsung LPDDR3 memories
Sep 19, 2019
f0614e4
ODROID-XU4: dt-bindings: memory-controllers: Add Exynos5422 DMC inter…
Oct 2, 2019
28b0636
ODROID-XU4: ARM: dts: exynos: Add interrupt to DMC controller in Exyn…
Oct 2, 2019
564dd71
ODROID-XU4: ARM: dts: exynos: map 0x10000 SFR instead of 0x100 in DMC…
Oct 2, 2019
3b37cbc
ODROID-XU4: memory: samsung: exynos5422-dmc: Add support for interrup…
Oct 2, 2019
91a738e
ODROID-XU4: dt-bindings: memory-controllers: exynos5422-dmc: Correct …
krzk Oct 2, 2019
afa8e39
ODROID-XU4: ARM: dts: Add "syscon" compatible string to chipid node
Sep 10, 2019
37f8113
ODROID-XU4: ARM: dts: Add samsung,asv-bin property for odroidxu3-lite
Sep 10, 2019
1e4ebb6
ODROID-XU4: dt-bindings: arm: samsung: Convert Exynos Chipid bindings…
krzk Sep 7, 2019
c543f0f
ODROID-XU4: PM / OPP: Support adjusting OPP voltages at runtime
bebarino Oct 16, 2019
ca147c5
ODROID-XU4: dt-bindings: arm: samsung: Update the CHIPID binding for ASV
Oct 16, 2019
f7b16d5
ODROID-XU4: soc: samsung: Add Exynos Adaptive Supply Voltage driver
Oct 16, 2019
13610b8
ODROID-XU4: ARM: EXYNOS: Enable exynos-asv driver for ARCH_EXYNOS
Oct 16, 2019
272199d
ODROID-XU4: devfreq: exynos-bus: workaround dev_pm_opp_set_rate() err…
Oct 8, 2019
06aca82
ODROID-XU4: regulator: s2mps11: call shutdown function to poweroff
moonlinux Jul 12, 2015
3dc73d4
ODROID-XU4: regulator: s2mps11: add ethernet power reset in shutdown …
mihailescu2m Jan 18, 2019
322727a
ODROID-XU4: fix eMMC clock settings
mihailescu2m Nov 14, 2019
915454a
ODROID-XU4: config: add default config for odroid-xu4
mihailescu2m Oct 28, 2019
b6a3b5d
ODROID-XU4: ODROID-XU4: Replace defconfig with a ported one from 4.14.y
awesometic Dec 2, 2019
0fd8b85
ODROID-XU4: dts: Add i2c-1, i2c-5 nodes
awesometic Nov 7, 2019
0c4fc21
ODROID-XU4: Add support for SPI1 on the 40 pin header
awesometic Nov 14, 2019
be24829
ODROID-XU4: char: exynos: add /dev/gpiomem device for rootless user G…
bkrepo Jan 10, 2017
98c4000
ODROID-XU4: arm: Set the system revision information
bkrepo Nov 21, 2017
03f9557
ODROID-XU4: defconfig: Enable CONFIG_EXYNOS_GPIOMEM
awesometic Dec 4, 2019
c4c1405
ODROID-XU4: ARM: exynos: add machine description for ODROID-XU3/4
tobetter Nov 10, 2017
64e4707
ODROID-XU4: arm/exynos: No need to use enynos_init_late
awesometic Dec 5, 2019
ea4fba7
ODROID-XU4: arm/exynos: Add vendor name Hardkernel to its H/W informa…
awesometic Dec 5, 2019
51c6103
ODROID-XU4: char/exynos-gpiomem: Remove unnecessary kernel logs notic…
awesometic Oct 22, 2019
9d4c597
ODROID-XU4: drivers/fbtft: Add fb_hktft35 module for Hardkernel 3.5 i…
awesometic Nov 18, 2019
d4c18c1
ODROID-XU4: drivers/fbtft: Add fb_hktft32 module for Hardkernel 3.2 i…
awesometic Nov 21, 2019
005a5a1
ODROID-XU4: defconfig: Enable FB_TFT for Hardkernel LCDs
awesometic Dec 5, 2019
283d779
ODROID-XU4: dts: Add nodes for Hardkernel LCDs of 2 HATs, Cloudshell,…
awesometic Dec 5, 2019
84f93bc
ODROID-XU4: Introduce device tree overlay
awesometic Dec 5, 2019
13f754d
ODROID-N2: doc: dt: bindings: usb: dwc3: Update entries for disabling…
superna9999 Oct 14, 2019
79ebf51
ODROID-N2: usb: dwc3: gadget: Add support for disabling SS instances …
superna9999 Oct 14, 2019
d0e023e
ODROID-N2: arm64: dts: g12-common: add parkmode_disable_ss_quirk on D…
superna9999 Oct 14, 2019
e7f5c4c
ODROID-N2: arm64/dts: add 'meson64_odroidn2.dts' for compability
tobetter Oct 1, 2019
f7eeda5
ODROID-N2: arm64: dts: meson: add audio fifo depths
jbrun3t Dec 18, 2019
5d5e734
ODROID-N2: ASoC: meson: rework: g12a tohdmitx codec
jbrun3t Aug 8, 2019
7a1c911
ODROID-N2: ASoC: meson: add toacodec dt-bindings
jbrun3t Aug 12, 2019
005efe2
ODROID-N2: ASoC: meson: add g12 internal DAC glue
jbrun3t Aug 12, 2019
f6cbf0a
ODROID-N2: ASoC: meson: add t9015 internal DAC driver
jbrun3t Aug 14, 2019
b2bb325
ODROID-N2: ASoC: meson: axg-card: add toacodec support
jbrun3t Aug 14, 2019
c18b115
ODROID-N2: arm64: dts: meson: g12a: add internal DAC
jbrun3t Aug 14, 2019
1abe791
ODROID-N2: arm64: dts: meson: g12a: add internal DAC glue
jbrun3t Aug 14, 2019
1d71e90
ODROID-N2: arm64: dts: meson: u200: add audio support
jbrun3t Mar 18, 2019
3789f81
ODROID-N2: ASoC: meson: add aiu bus support
jbrun3t Oct 22, 2019
17de731
ODROID-N2: ASoC: meson: aiu: add i2s fifo support
jbrun3t Oct 22, 2019
e318ee2
ODROID-N2: ASoC: meson: aiu: add spdif fifo support
jbrun3t Oct 22, 2019
a747a52
ODROID-N2: ASoC: meson: aiu: add i2s encoder support
jbrun3t Oct 22, 2019
23644c6
ODROID-N2: ASoC: meson: aiu: add spdif encoder support
jbrun3t Oct 22, 2019
ff9ad90
ODROID-N2: ASoC: meson: extract utils from axg sound card
jbrun3t Oct 22, 2019
07cf7ba
ODROID-N2: ASoC: meson: add gx card support
jbrun3t Oct 22, 2019
9f03164
ODROID-N2: arm64: dts: meson-gx: add playback audio devices
jbrun3t Oct 22, 2019
6db8a6e
ODROID-N2: arm64: dts: meson: enable audio playback on p230/q200
jbrun3t Oct 22, 2019
133b15c
ODROID-N2: arm64: dts: meson: add libretech cc s905x audio playback
jbrun3t Oct 22, 2019
2b146f7
ODROID-N2: arm64: dts: meson: add libretech ac s805x audio playback
jbrun3t Dec 4, 2019
f9e9925
ODROID-N2: ASoC: hdmi-codec: re-introduce mutex locking again
jbrun3t Oct 23, 2019
d81e14e
ODROID-N2: sound/soc: remove mono channel as it currently doesn't wor…
ckkim Feb 20, 2020
c5d6996
ODROID-N2: arm64/dts: Add default sound card
ckkim Feb 20, 2020
3cb5c07
ODROID-N2: sound/soc: add audio module for g12a, g12b, sm1
ckkim Feb 20, 2020
db623d8
ODROID-N2: arm64/dts: Fix sound card bug
ckkim Feb 21, 2020
421813e
ODOROID-XU4: FIXME: Revert "regulator: core: Let boot-on regulators b…
tobetter Feb 27, 2020
121f457
Merge tag 'v5.4.23' into stable-v5.4
tobetter Mar 6, 2020
4127ecc
Merge tag 'v5.4.24' into stable-v5.4
tobetter Mar 6, 2020
da37d8b
ODROID-C2: arm64/dts: add 'meson64_odroidc2.dts' for compability
tobetter Mar 9, 2020
e389d51
Merge tag 'v5.4.25' into stable-v5.4
tobetter Mar 13, 2020
2d4ec07
ODROID-N2: arm64/dts: support Ulta High Speed MMC card
ckkim Mar 3, 2020
6edffda
ODROID-XU4: arm/dts: remove write-protect pin from SD card
ckkim Mar 5, 2020
e424b12
ODROID-XU4: Update hack avoiding the invalid temperature by TMU broken
charles-park Jun 1, 2018
94f6a09
ODROID-N2: dt-bindings: clk: g12a-clkc: add SPICC SCLK Source clock IDs
superna9999 Feb 19, 2020
016dffa
ODROID-N2: clk: meson: g12a: add support for the SPICC SCLK Source cl…
superna9999 Feb 19, 2020
778dd3f
ODROID-N2: spi: meson-spicc: remove unused variables
superna9999 Mar 12, 2020
b06f077
ODROID-N2: spi: meson-spicc: enhance output enable feature
Mar 12, 2020
2bf8cc6
ODROID-N2: spi: meson-spicc: add a linear clock divider support
Mar 12, 2020
6249988
ODROID-N2: spi: meson-spicc: support max 80MHz clock
superna9999 Mar 12, 2020
f99f193
ODROID-N2: spi: meson-spicc: add min sclk for each compatible
superna9999 Mar 12, 2020
3d4b46f
ODROID-N2: spi: meson-spicc: setup IO line delay
superna9999 Mar 12, 2020
dc622c3
ODROID-N2: spi: meson-spicc: adapt burst handling for G12A support
superna9999 Mar 12, 2020
365248b
ODROID-N2: dt-bindings: spi: amlogic, meson-gx-spicc: add Amlogic G12…
superna9999 Mar 12, 2020
f1fdfe9
ODROID-N2: spi: meson-spicc: add support for Amlogic G12A
superna9999 Mar 12, 2020
08dbcae
ODROID-N2: arm64: dts: meson-g12-common: add spicc controller nodes
superna9999 Mar 13, 2020
0ed97c0
Merge tag 'v5.4.26' into odroid-5.4.y
tobetter Mar 21, 2020
afbb709
Merge tag 'v5.4.27' into odroid-5.4.y
tobetter Mar 25, 2020
7ed9082
Merge tag 'v5.4.28' into odroid-5.4.y
tobetter Mar 25, 2020
69361cd
ODROID-C4: arm64/dts: add new board for Hardkernel ODROID-C4
tobetter Mar 14, 2020
e84454b
ODROID-N2: arm64/dts: Add gpio-line-names
hhk7734 Mar 13, 2020
67fe759
ODROID-N2: ARM64/dts: add spicc0 node
hhk7734 Mar 27, 2020
7f92f2d
ODROID-N2: ARM64/dts: add uart_A node
hhk7734 Mar 27, 2020
12cf79a
ODROID-N2: ARM64/dts: add i2c2, i2c3 node
hhk7734 Mar 27, 2020
d4e3b27
ODROID-N2: ARM64/dts: add saradc node
hhk7734 Mar 27, 2020
eea48b9
ODROID-N2: Add D-WAV Multitouch driver.
hhk7734 Mar 5, 2020
b46dd57
Merge tag 'v5.4.29' into odroid-5.4.y
tobetter Apr 5, 2020
d7f2f07
Merge tag 'v5.4.30' into odroid-5.4.y
tobetter Apr 5, 2020
3b4dc50
Merge tag 'v5.4.31' into odroid-5.4.y
tobetter Apr 8, 2020
4681005
Merge tag 'v5.4.32' into odroid-5.4.y
tobetter Apr 13, 2020
c4c9009
ODROID-C4: arm64/dts: add saradc node
hhk7734 Apr 14, 2020
e50729e
ODROID-C4: arm64/dts: add spicc0 node
hhk7734 Apr 14, 2020
e97e366
ODROID-C4: arm64/dts: add uart_A node
hhk7734 Apr 14, 2020
56cc8c9
ODROID-C4: arm64/dts: add gpio-line-names
hhk7734 Apr 14, 2020
537a0b7
Merge tag 'v5.4.33' into odroid-5.4.y
tobetter Apr 20, 2020
44f7dc4
ODROID-C4: arm64/dts: fix regulator control GPIO
hhk7734 Apr 14, 2020
ecfece8
ODROID-N2: arm64: dts: meson: sm1: set gpio interrupt controller comp…
jbrun3t Sep 2, 2019
383ba12
ODROID-N2: thermal: amlogic: Add thermal driver to support G12 SoCs
glaroque Oct 4, 2019
53e88d9
ODROID-N2: thermal: amlogic: Appease the kernel-doc deity
idlethread Nov 20, 2019
0fd7c5b
ODROID-N2: arm64: dts: meson: g12: add temperature sensor
glaroque Oct 4, 2019
453919d
ODROID-N2: arm64/dts: modify gpio-line-names
hhk7734 Apr 21, 2020
40b58dc
ODROID-N2: arm64/dts: modify i2c alias bus number
hhk7734 Apr 21, 2020
2a749af
Odroid-N2: arm64/dts: fix audio model name
pvizeli Apr 27, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
*.c.[012]*.*
*.dt.yaml
*.dtb
*.dtbo
*.dtb.S
*.dwo
*.elf
Expand Down
12 changes: 0 additions & 12 deletions Documentation/devicetree/bindings/arm/samsung/exynos-chipid.txt

This file was deleted.

50 changes: 50 additions & 0 deletions Documentation/devicetree/bindings/arm/samsung/exynos-chipid.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# SPDX-License-Identifier: GPL-2.0
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/samsung/exynos-chipid.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Samsung Exynos SoC series Chipid driver

maintainers:
- Krzysztof Kozlowski <[email protected]>

# Custom select to avoid matching all nodes with 'syscon'
select:
properties:
compatible:
contains:
const: samsung,exynos4210-chipid
required:
- compatible

properties:
compatible:
allOf:
- items:
- const: samsung,exynos4210-chipid
- const: syscon

reg:
maxItems: 1

samsung,asv-bin:
description:
Adaptive Supply Voltage bin selection. This can be used
to determine the ASV bin of an SoC if respective information
is missing in the CHIPID registers or in the OTP memory.
allOf:
- $ref: /schemas/types.yaml#/definitions/uint32
- enum: [ 0, 1, 2, 3 ]

required:
- compatible
- reg

examples:
- |
chipid@10000000 {
compatible = "samsung,exynos4210-chipid", "syscon";
reg = <0x10000000 0x100>;
samsung,asv-bin = <2>;
};
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Child nodes:
"lpddr2-timings" provides AC timing parameters of the device for
a given speed-bin. The user may provide the timings for as many
speed-bins as is required. Please see Documentation/devicetree/
bindings/lpddr2/lpddr2-timings.txt for more information on "lpddr2-timings"
bindings/ddr/lpddr2-timings.txt for more information on "lpddr2-timings"

Example:

Expand Down
58 changes: 58 additions & 0 deletions Documentation/devicetree/bindings/ddr/lpddr3-timings.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
* AC timing parameters of LPDDR3 memories for a given speed-bin.

The structures are based on LPDDR2 and extended where needed.

Required properties:
- compatible : Should be "jedec,lpddr3-timings"
- min-freq : minimum DDR clock frequency for the speed-bin. Type is <u32>
- reg : maximum DDR clock frequency for the speed-bin. Type is <u32>

Optional properties:

The following properties represent AC timing parameters from the memory
data-sheet of the device for a given speed-bin. All these properties are
of type <u32> and the default unit is ps (pico seconds).
- tRFC
- tRRD
- tRPab
- tRPpb
- tRCD
- tRC
- tRAS
- tWTR
- tWR
- tRTP
- tW2W-C2C
- tR2R-C2C
- tFAW
- tXSR
- tXP
- tCKE
- tCKESR
- tMRD

Example:

timings_samsung_K3QF2F20DB_800mhz: lpddr3-timings@800000000 {
compatible = "jedec,lpddr3-timings";
reg = <800000000>; /* workaround: it shows max-freq */
min-freq = <100000000>;
tRFC = <65000>;
tRRD = <6000>;
tRPab = <12000>;
tRPpb = <12000>;
tRCD = <10000>;
tRC = <33750>;
tRAS = <23000>;
tWTR = <3750>;
tWR = <7500>;
tRTP = <3750>;
tW2W-C2C = <0>;
tR2R-C2C = <0>;
tFAW = <25000>;
tXSR = <70000>;
tXP = <3750>;
tCKE = <3750>;
tCKESR = <3750>;
tMRD = <7000>;
};
101 changes: 101 additions & 0 deletions Documentation/devicetree/bindings/ddr/lpddr3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
* LPDDR3 SDRAM memories compliant to JEDEC JESD209-3C

Required properties:
- compatible : Should be "<vendor>,<type>", and generic value "jedec,lpddr3".
Example "<vendor>,<type>" values:
"samsung,K3QF2F20DB"

- density : <u32> representing density in Mb (Mega bits)
- io-width : <u32> representing bus width. Possible values are 8, 16, 32, 64
- #address-cells: Must be set to 1
- #size-cells: Must be set to 0

Optional properties:

The following optional properties represent the minimum value of some AC
timing parameters of the DDR device in terms of number of clock cycles.
These values shall be obtained from the device data-sheet.
- tRFC-min-tck
- tRRD-min-tck
- tRPab-min-tck
- tRPpb-min-tck
- tRCD-min-tck
- tRC-min-tck
- tRAS-min-tck
- tWTR-min-tck
- tWR-min-tck
- tRTP-min-tck
- tW2W-C2C-min-tck
- tR2R-C2C-min-tck
- tWL-min-tck
- tDQSCK-min-tck
- tRL-min-tck
- tFAW-min-tck
- tXSR-min-tck
- tXP-min-tck
- tCKE-min-tck
- tCKESR-min-tck
- tMRD-min-tck

Child nodes:
- The lpddr3 node may have one or more child nodes of type "lpddr3-timings".
"lpddr3-timings" provides AC timing parameters of the device for
a given speed-bin. Please see Documentation/devicetree/
bindings/ddr/lpddr3-timings.txt for more information on "lpddr3-timings"

Example:

samsung_K3QF2F20DB: lpddr3 {
compatible = "samsung,K3QF2F20DB", "jedec,lpddr3";
density = <16384>;
io-width = <32>;
#address-cells = <1>;
#size-cells = <0>;

tRFC-min-tck = <17>;
tRRD-min-tck = <2>;
tRPab-min-tck = <2>;
tRPpb-min-tck = <2>;
tRCD-min-tck = <3>;
tRC-min-tck = <6>;
tRAS-min-tck = <5>;
tWTR-min-tck = <2>;
tWR-min-tck = <7>;
tRTP-min-tck = <2>;
tW2W-C2C-min-tck = <0>;
tR2R-C2C-min-tck = <0>;
tWL-min-tck = <8>;
tDQSCK-min-tck = <5>;
tRL-min-tck = <14>;
tFAW-min-tck = <5>;
tXSR-min-tck = <12>;
tXP-min-tck = <2>;
tCKE-min-tck = <2>;
tCKESR-min-tck = <2>;
tMRD-min-tck = <5>;

timings_samsung_K3QF2F20DB_800mhz: lpddr3-timings@800000000 {
compatible = "jedec,lpddr3-timings";
/* workaround: 'reg' shows max-freq */
reg = <800000000>;
min-freq = <100000000>;
tRFC = <65000>;
tRRD = <6000>;
tRPab = <12000>;
tRPpb = <12000>;
tRCD = <10000>;
tRC = <33750>;
tRAS = <23000>;
tWTR = <3750>;
tWR = <7500>;
tRTP = <3750>;
tW2W-C2C = <0>;
tR2R-C2C = <0>;
tFAW = <25000>;
tXSR = <70000>;
tXP = <3750>;
tCKE = <3750>;
tCKESR = <3750>;
tMRD = <7000>;
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
* Exynos5422 frequency and voltage scaling for Dynamic Memory Controller device

The Samsung Exynos5422 SoC has DMC (Dynamic Memory Controller) to which the DRAM
memory chips are connected. The driver is to monitor the controller in runtime
and switch frequency and voltage. To monitor the usage of the controller in
runtime, the driver uses the PPMU (Platform Performance Monitoring Unit), which
is able to measure the current load of the memory.
When 'userspace' governor is used for the driver, an application is able to
switch the DMC and memory frequency.

Required properties for DMC device for Exynos5422:
- compatible: Should be "samsung,exynos5422-dmc".
- clocks : list of clock specifiers, must contain an entry for each
required entry in clock-names for CLK_FOUT_SPLL, CLK_MOUT_SCLK_SPLL,
CLK_FF_DOUT_SPLL2, CLK_FOUT_BPLL, CLK_MOUT_BPLL, CLK_SCLK_BPLL,
CLK_MOUT_MX_MSPLL_CCORE, CLK_MOUT_MX_MSPLL_CCORE_PHY, CLK_MOUT_MCLK_CDREX,
- clock-names : should include "fout_spll", "mout_sclk_spll", "ff_dout_spll2",
"fout_bpll", "mout_bpll", "sclk_bpll", "mout_mx_mspll_ccore",
"mout_mclk_cdrex" entries
- devfreq-events : phandles for PPMU devices connected to this DMC.
- vdd-supply : phandle for voltage regulator which is connected.
- reg : registers of two CDREX controllers.
- operating-points-v2 : phandle for OPPs described in v2 definition.
- device-handle : phandle of the connected DRAM memory device. For more
information please refer to documentation file:
Documentation/devicetree/bindings/ddr/lpddr3.txt
- devfreq-events : phandles of the PPMU events used by the controller.
- samsung,syscon-clk : phandle of the clock register set used by the controller,
these registers are used for enabling a 'pause' feature and are not
exposed by clock framework but they must be used in a safe way.
The register offsets are in the driver code and specyfic for this SoC
type.

Optional properties for DMC device for Exynos5422:
- interrupt-parent : The parent interrupt controller.
- interrupts : Contains the IRQ line numbers for the DMC internal performance
event counters in DREX0 and DREX1 channels. Align with specification of the
interrupt line(s) in the interrupt-parent controller.
- interrupt-names : IRQ names "drex_0" and "drex_1", the order should be the
same as in the 'interrupts' list above.

Example:

ppmu_dmc0_0: ppmu@10d00000 {
compatible = "samsung,exynos-ppmu";
reg = <0x10d00000 0x2000>;
clocks = <&clock CLK_PCLK_PPMU_DREX0_0>;
clock-names = "ppmu";
events {
ppmu_event_dmc0_0: ppmu-event3-dmc0_0 {
event-name = "ppmu-event3-dmc0_0";
};
};
};

dmc: memory-controller@10c20000 {
compatible = "samsung,exynos5422-dmc";
reg = <0x10c20000 0x10000>, <0x10c30000 0x10000>;
clocks = <&clock CLK_FOUT_SPLL>,
<&clock CLK_MOUT_SCLK_SPLL>,
<&clock CLK_FF_DOUT_SPLL2>,
<&clock CLK_FOUT_BPLL>,
<&clock CLK_MOUT_BPLL>,
<&clock CLK_SCLK_BPLL>,
<&clock CLK_MOUT_MX_MSPLL_CCORE>,
<&clock CLK_MOUT_MCLK_CDREX>;
clock-names = "fout_spll",
"mout_sclk_spll",
"ff_dout_spll2",
"fout_bpll",
"mout_bpll",
"sclk_bpll",
"mout_mx_mspll_ccore",
"mout_mclk_cdrex";
operating-points-v2 = <&dmc_opp_table>;
devfreq-events = <&ppmu_event3_dmc0_0>, <&ppmu_event3_dmc0_1>,
<&ppmu_event3_dmc1_0>, <&ppmu_event3_dmc1_1>;
device-handle = <&samsung_K3QF2F20DB>;
vdd-supply = <&buck1_reg>;
samsung,syscon-clk = <&clock>;
interrupt-parent = <&combiner>;
interrupts = <16 0>, <16 1>;
interrupt-names = "drex_0", "drex_1";
};
22 changes: 22 additions & 0 deletions Documentation/devicetree/bindings/spi/amlogic,meson-gx-spicc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ properties:
enum:
- amlogic,meson-gx-spicc # SPICC controller on Amlogic GX and compatible SoCs
- amlogic,meson-axg-spicc # SPICC controller on Amlogic AXG and compatible SoCs
- amlogic,meson-g12a-spicc # SPICC controller on Amlogic G12A and compatible SoCs

interrupts:
maxItems: 1
Expand All @@ -40,6 +41,27 @@ properties:
items:
- const: core

if:
properties:
compatible:
contains:
enum:
- amlogic,meson-g12a-spicc

then:
properties:
clocks:
contains:
items:
- description: controller register bus clock
- description: baud rate generator and delay control clock

clock-names:
minItems: 2
items:
- const: core
- const: pclk

required:
- compatible
- reg
Expand Down
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/usb/dwc3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ Optional properties:
from P0 to P1/P2/P3 without delay.
- snps,dis-tx-ipgap-linecheck-quirk: when set, disable u2mac linestate check
during HS transmit.
- snps,parkmode-disable-ss-quirk: when set, all SuperSpeed bus instances in
park mode are disabled.
- snps,dis_metastability_quirk: when set, disable metastability workaround.
CAUTION: use only if you are absolutely sure of it.
- snps,is-utmi-l1-suspend: true when DWC3 asserts output signal
Expand Down
8 changes: 8 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -4965,6 +4965,14 @@ F: include/linux/dma-direct.h
F: include/linux/dma-mapping.h
F: include/linux/dma-noncoherent.h

DMC FREQUENCY DRIVER FOR SAMSUNG EXYNOS5422
M: Lukasz Luba <[email protected]>
L: [email protected]
L: [email protected]
S: Maintained
F: drivers/memory/samsung/exynos5422-dmc.c
F: Documentation/devicetree/bindings/memory-controllers/exynos5422-dmc.txt

DME1737 HARDWARE MONITOR DRIVER
M: Juerg Haefliger <[email protected]>
L: [email protected]
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,9 @@ ifneq ($(dtstree),)
%.dtb: include/config/kernel.release scripts_dtc
$(Q)$(MAKE) $(build)=$(dtstree) $(dtstree)/$@

%.dtbo:
$(Q)$(MAKE) $(build)=$(dtstree)/overlays $(dtstree)/overlays/$@

PHONY += dtbs dtbs_install dtbs_check
dtbs dtbs_check: include/config/kernel.release scripts_dtc
$(Q)$(MAKE) $(build)=$(dtstree)
Expand Down
Loading