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

mali_drv.h includes drm_sman.h #160

Open
wants to merge 788 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
788 commits
Select commit Hold shift + click to select a range
ab4eba1
staging: vt6656: vnt_rf_setpower: fix missing rate RATE_12M
Mar 7, 2015
cb5e2a7
vt6655: RFbSetPower fix missing rate RATE_12M
Mar 7, 2015
99aadf9
vt6655: Fix late setting of byRFType.
Mar 7, 2015
fd55246
dmaengine: dw: append MODULE_ALIAS for platform driver
andy-shev Mar 9, 2015
72267c2
dm: hold suspend_lock while suspending device during device deletion
Feb 27, 2015
f067d93
dm io: deal with wandering queue limits when handling REQ_DISCARD and…
djwong Feb 27, 2015
b6bf849
dm thin: fix to consistently zero-fill reads to unprovisioned blocks
jthornber Feb 27, 2015
3d9f57b
dm snapshot: suspend origin when doing exception handover
Feb 26, 2015
1302746
dm snapshot: suspend merging snapshot when doing exception handover
Feb 26, 2015
2d57a8c
spi: qup: Fix cs-num DT property parsing
Mar 6, 2015
68cbdc1
spi: dw-mid: clear BUSY flag fist and test other one
andy-shev Mar 6, 2015
68cbb4c
spi: trigger trace event for message-done before mesg->complete
Mar 18, 2015
43494e5
hfsplus: fix B-tree corruption after insertion at position 0
saproj Mar 25, 2015
88519ac
powerpc/book3s: Fix the MCE code to use CONFIG_KVM_BOOK3S_64_HANDLER
maheshsal Mar 17, 2015
4b38884
regulator: palmas: Correct TPS659038 register definition for REGEN2
Keerthyj Mar 17, 2015
7521625
arm64: Use the reserved TTBR0 if context switching to the init_mm
ctmarinas Mar 23, 2015
f179d6a
arm64: percpu: Make this_cpu accessors pre-empt safe
stevecapperlinaro Mar 22, 2015
78db011
powerpc/pseries: Little endian fixes for post mobility device tree up…
Mar 4, 2015
db5bb38
powerpc/mpc85xx: Add ranges to etsec2 nodes
Dec 18, 2014
e8f86a9
net: ethernet: pcnet32: Setup the SRAM and NOUFLO on Am79C97{3, 5}
Mar 19, 2015
50bc7bc
mfd: kempld-core: Fix callback return value check
2ameya Feb 26, 2015
31ad7cd
Linux 3.19.4
gregkh Apr 13, 2015
ac01314
ARM: dts: exynos: Only build DTS files for subarches which are enabled
ijc Sep 14, 2014
96a84bb
usb3503: Add 'usb3503-gpio-waittime' property to device tree
tobiasjakobi Feb 11, 2014
995c90e
usb3503: add more register defines
tobiasjakobi Feb 11, 2014
867d49e
usb3503: write to PDS and CFG1 register instead of updating
tobiasjakobi Feb 11, 2014
f66676e
usb3503: set some more bits in the CFG1 register
tobiasjakobi Feb 15, 2014
1a55664
usb3503: add optional ext-regulator property
tobiasjakobi Sep 20, 2014
99bb1fa
clk: exynos4: add APLL values for exynos4412 prime frequencies
tobiasjakobi Jul 19, 2014
2172430
drm/exynos: remove unused/deprecated DT binding documentation
tobiasjakobi Jun 14, 2014
5854b1b
clk: samsung: exynos4: Add gate clock for SSS module
tobiasjakobi Jun 15, 2014
fe6b7f1
ARM: dts: exynos4: add crypt-sss node
tobiasjakobi Jun 15, 2014
1c71026
ARM: dts: Add pwm-fan node to the Odroid-U3 board
Nov 4, 2014
ca004dd
ARM: dts: Fix CLK_UART_ISP_SCLK clock assignment in exynos4x12.dtsi
Oct 31, 2014
bf52ca7
drm: exynos: mixer: fix using usleep() in atomic context
Apr 16, 2014
ed75930
ARM: OMAP2+: use common l2cache initialization code
mszyprow Jan 7, 2015
490c88b
ARM: l2c: use l2c_write_sec() for restoring latency and filter regs
mszyprow Jan 7, 2015
ae2138b
ARM: l2c: Refactor the driver to use commit-like interface
Jan 7, 2015
8d72d6b
ARM: l2c: Add interface to ask hypervisor to configure L2C
Jan 7, 2015
c5c871b
ARM: l2c: Get outer cache .write_sec callback from mach_desc only if …
Jan 7, 2015
769bf43
ARM: l2c: Add support for overriding prefetch settings
Jan 7, 2015
98e2cca
ARM: EXYNOS: Add .write_sec outer cache callback for L2C-310
Jan 7, 2015
d6b5435
ARM: EXYNOS: Add support for non-secure L2X0 resume
Jan 7, 2015
deb0559
ARM: dts: exynos4: Add nodes for L2 cache controller
Jan 7, 2015
2ae421a
patchset: [PATCH v12 0/9] Enable L2 cache support on Exynos4210/4x12 …
tobiasjakobi Jan 12, 2015
be9cfbc
ARM: DTS: Exynos: convert to generic power domain bindings
mszyprow Jan 2, 2015
b60d114
ARM: Exynos: add support for sub-power domains
mszyprow Jan 13, 2015
03c83ad
ARM: dts: exynos4: add hdmi related nodes
mszyprow Jan 13, 2015
92e8ad5
ARM: dts: exynos4: add dependency between TV and LCD0 power domains
mszyprow Jan 13, 2015
7760502
ARM: dts: exynos4412-odroid: enable hdmi support
mszyprow Jan 13, 2015
e2ce096
ARM: dts: exynos4210-universal_c210: enable hdmi support
Jan 13, 2015
8d31da1
ARM: dts: exynos5250: add display power domain
Jan 13, 2015
8e97ed6
patchset: [PATCH v2 0/6] Enable HDMI support on Exynos platforms
tobiasjakobi Jan 13, 2015
dc95e3e
drm/exynos: fix mixer start sequence
mszyprow Jan 19, 2015
455e607
ARM: DTS: Exynos: add 'hdmi' clock to mixer nodes
mszyprow Jan 19, 2015
e8f65c6
drm: exynos/g2d: Fix cmdlist free collision
prahal Nov 9, 2014
f0366df
drm: exynos/g2d: do not fetch the dma_address directly
prahal Nov 10, 2014
65fb249
drm: exynos/gem: harden exynos_gem_map_sgt_with_dma
prahal Nov 10, 2014
4561f18
drm: exynos/g2d: check for aligned userptr start and size
prahal Nov 10, 2014
346fd6a
drm: exynos/g2d: check for contiguity of DMA addresses
prahal Nov 10, 2014
5a366de
ASoC: samsung: i2s: Remove unused gpios field from struct i2s
Dec 19, 2014
8fc5145
ASoC: samsung: i2s: samsung_i2s_get_driver_data() cleanup
Jan 14, 2015
eea25f5
ASoC: samsung: i2s: Add return value checks in probe()
Jan 14, 2015
02aa9e0
ASoC: samsung: i2s: Request memory region in driver probe()
Jan 14, 2015
59f7a28
ASoC: samsung: i2s: Move clk_get() to platform driver probe()
Jan 14, 2015
2404f17
ASoC: samsung: i2s: Move clk enable to the platform driver probe()
Jan 14, 2015
d1ad23d
ASoC: samsung: i2s: Add get_other_dai helper function
Jan 14, 2015
656ef28
ASoC: samsung: i2s: Remove an unneeded goto usage
Jan 14, 2015
5189957
ASoC: samsung: i2s: Add spinlock in place of local_irq_* calls
Jan 14, 2015
8d7c4d6
ASoC: samsung: i2s: Protect more registers with a spinlock
Jan 14, 2015
4e0764e
ASoC: samsung: odroidx2: Handle I2S CDCLK clock conditionally
Jan 14, 2015
f7f0963
ASoC: samsung: i2s: Add clk provider DT binding documentation
Jan 14, 2015
fa3160b
ASoC: samsung: i2s: Add clock provider for the I2S internal clocks
Jan 14, 2015
99f7df6
ARM: dts: Exynos4 and Odroid X2/U3 sound device nodes update
Jan 14, 2015
f291353
ARM: dts: Switch Odroid X2/U2 to simple-audio-card
Jan 14, 2015
9a279d3
patchset: [PATCH V3 00/15] ASoC: samsung: Add clk provider for I2S in…
tobiasjakobi Jan 14, 2015
8f69774
devfreq: event: Add new devfreq_event class to provide basic data for…
chanwoochoi Jan 12, 2015
9290a6f
devfreq: event: Add resource-managed function for devfreq-event device
chanwoochoi Jan 12, 2015
2f5d4b3
devfreq: event: Add exynos-ppmu devfreq-event driver
chanwoochoi Jan 12, 2015
c75a61e
devfreq: event: Add documentation for exynos-ppmu devfreq-event driver
chanwoochoi Jan 12, 2015
b4fdafa
ARM: dts: Add PPMU dt node for Exynos3250 SoC
chanwoochoi Jan 12, 2015
f2425e9
ARM: dts: Add PPMU dt node for Exynos4 SoCs
chanwoochoi Jan 12, 2015
622ff8e
ARM: dts: Add PPMU dt node for Exynos5260 SoC
chanwoochoi Jan 12, 2015
1fbc482
ARM: dts: exynos: Add PPMU node to Exynos3250-based Rinato/Monk board
chanwoochoi Jan 12, 2015
2029829
ARM: dts: exynos: Add PPMU node for Exynos4412-based TRATS2 board
chanwoochoi Jan 12, 2015
5dcfae0
ARM: dts: odroid: Add PPMU node
tobiasjakobi Feb 14, 2015
cf3352c
patchset: [PATCHv3 0/8] devfreq: Add generic exynos memory-bus freque…
tobiasjakobi Jan 15, 2015
1446667
thermal: exynos: cosmetic: Correct comment format
Jan 23, 2015
cb514c4
thermal: exynos: Provide thermal_exynos.h file to be included in devi…
Jan 23, 2015
adbe9c8
arm: dts: trats: Enable TMU on the Exynos4210 trats device
Jan 23, 2015
6e99182
arm: dts: odroid: Enable TMU at Exynos4412 based Odroid U3 device
Jan 23, 2015
a9d1980
arm: dts: Adding CPU cooling binding for Exynos SoCs
Jan 23, 2015
d896307
thermal: exynos: Modify exynos thermal code to use device tree for cp…
Jan 23, 2015
a4dd1e1
cpufreq: exynos: Use device tree to determine if cpufreq cooling shou…
Jan 23, 2015
d02c8d5
thermal: exynos: dts: Add default definition of the TMU sensor parameter
Jan 23, 2015
c02c890
dts: Documentation: Extending documentation entry for exynos-thermal
Jan 23, 2015
60f6d38
thermal: dts: Default trip points definition for Exynos5420 SoCs
Jan 23, 2015
69bdf34
thermal: exynos: dts: Define default thermal-zones for Exynos4
Jan 23, 2015
f43bb70
thermal: dts: exynos: Trip points and sensor configuration data for E…
Jan 23, 2015
4e6d12d
dts: Documentation: Update exynos-thermal.txt example for Exynos5440
Jan 23, 2015
0e01845
thermal: exynos: dts: Provide device tree bindings identical to the o…
Jan 23, 2015
f774570
thermal: samsung: core: Exynos TMU rework to use device tree for conf…
Jan 23, 2015
8d339b0
thermal: exynos: Remove exynos_thermal_common.[c|h] files
Jan 23, 2015
76a6770
thermal: exynos: Remove exynos_tmu_data.c file
Jan 23, 2015
aaa91f0
patchset: [PATCH v6 00/18] thermal: exynos: Thermal code rework to us…
tobiasjakobi Jan 15, 2015
67a7189
thermal: exynos: Reorder exynos_map_dt_data() function
Jan 19, 2015
5626c78
thermal: of: Enable thermal_zoneX when sensor is correctly added
Jan 19, 2015
f6c4f5a
thermal: exynos: Correct sanity check at exynos_report_trigger() func…
Jan 28, 2015
0c11605
exynos: config: Remove CONFIG_EXYNOS_THERMAL_CORE define (exynos_defc…
Jan 28, 2015
f13fc5a
exynos: config: Enable thermal emulation for Exynos TMU (exynos_defco…
Jan 28, 2015
9814c03
exynos: config: Enable support for cpufreq on Exynos SoCs (exynos_def…
Jan 28, 2015
c8d6fe5
cpufreq: exynos: Use simple approach to asses if cpu cooling can be used
Jan 26, 2015
c79eed0
mmc: dw_mmc: exynos: remove incorrect __exit_p()
dtor Jan 24, 2015
f3197ab
drm: exynos: detach from default dma-mapping domain on init
mszyprow Jan 23, 2015
fcee34f
arm: exynos: pm_domains: add support for devices registered before ar…
mszyprow Jan 23, 2015
fa2c5f2
ARM: dts: exynos4: add sysmmu nodes
mszyprow Jan 23, 2015
2e27fbc
ARM: dts: exynos5250: add sysmmu nodes
mszyprow Jan 23, 2015
7f37874
ARM: dts: exynos5420: add sysmmu nodes
mszyprow Jan 23, 2015
0941603
iommu: exynos: don't read version register on every tlb operation
mszyprow Jan 23, 2015
b4c5a86
iommu: exynos: remove unused functions
mszyprow Jan 23, 2015
17d8e01
iommu: exynos: remove useless spinlock
mszyprow Jan 23, 2015
c92ea7f
iommu: exynos: refactor function parameters to simplify code
mszyprow Jan 23, 2015
8f44dc9
iommu: exynos: remove unused functions, part 2
mszyprow Jan 23, 2015
03e3900
iommu: exynos: remove useless device_add/remove callbacks
mszyprow Jan 23, 2015
8749dea
iommu: exynos: add support for binding more than one sysmmu to master…
mszyprow Jan 23, 2015
33839e5
iommu: exynos: add support for runtime_pm
mszyprow Jan 23, 2015
1eaedc3
iommu: exynos: rename variables to reflect their purpose
mszyprow Jan 23, 2015
78b0c2e
iommu: exynos: document internal structures
mszyprow Jan 23, 2015
6f2a438
iommu: exynos: remove excessive includes and sort others alphabetically
mszyprow Jan 23, 2015
de3a931
iommu: exynos: init from dt-specific callback instead of initcall
mszyprow Jan 23, 2015
81deee4
iommu: exynos: add callback for initializing devices from device tree
mszyprow Jan 23, 2015
89ac350
patchset: [PATCH v5 00/18] Exynos SYSMMU (IOMMU) integration with DT …
tobiasjakobi Jan 17, 2015
5e9174f
ARM: EXYNOS: Fix failed second suspend on Exynos4
krzk Feb 3, 2015
d9ba082
ARM: EXYNOS: Handle of_find_device_by_node and kstrdup failures
krzk Feb 3, 2015
da22bab
drm/exynos: IOMMU support should not be selectable by user
mszyprow Jan 20, 2015
1edc7ea
pwm: samsung: Fix output race on disabling
sjoerdsimons Jan 22, 2015
8d9a72d
serial: samsung: Add support for early console
Jan 23, 2015
1c570f5
ARM: dts: exynos4: Add stdout-path properties
Jan 23, 2015
e881497
patchset: [PATCH v4 0/2] serial: samsung: add support for early console
tobiasjakobi Jan 23, 2015
2b43094
ARM: dts: add hdmi cec driver to exynos4412-odroidu3
Jan 22, 2015
eb0da03
media: rc: Add cec protocol handling
Jan 22, 2015
9e6f870
cec: add new framework for cec support.
Jan 22, 2015
44f9f97
v4l2-subdev: add cec ops.
Jan 22, 2015
fd55a3e
adv7604: add cec support.
Jan 22, 2015
4daee8b
adv7511: add cec support.
Jan 22, 2015
3ccbe74
s5p-cec: Add s5p-cec driver
Jan 22, 2015
a1a14d9
patchset: [RFC v2 0/7] HDMI CEC framework
tobiasjakobi Jan 23, 2015
13ea151
drivers: of: add support for named memory regions
mszyprow Aug 26, 2014
3dc043b
media: s5p-mfc: replace custom reserved memory init code with generic…
mszyprow Aug 26, 2014
f905c49
drivers: of: export of_reserved_mem_device_{init,release}
tobiasjakobi Aug 29, 2014
567704f
ARM: Exynos: convert MFC to generic reserved memory bindings
mszyprow Aug 26, 2014
a1a8ab8
ARM: DTS: exynos4412-odroid*: enable MFC device
mszyprow Aug 26, 2014
889140a
Exynos: add support for 'domain-always-on' property
mszyprow Jul 1, 2014
df511f4
ARM: dts: exynos4412-odroid: fix freeze when reading clk_summary
prahal Sep 19, 2014
a5bda82
exynos: pmu: use PS_HOLD based poweroff for all supported SoCs
mszyprow Feb 9, 2015
6f17059
drm/exynos: fix DMA_ATTR_NO_KERNEL_MAPPING usage
carlocaione Feb 4, 2015
c47b774
serial: samsung: earlycon support depends on CONFIG_SERIAL_SAMSUNG_CO…
mszyprow Feb 2, 2015
f324633
thermal: Provide stub for thermal_of_cooling_device_register() function
Feb 6, 2015
0692732
thermal: Provide stub for thermal_cdev_update() function
Feb 6, 2015
752d878
Documentation: dts: Documentation entry to explain how to use PWM FAN…
Feb 6, 2015
cf1ac49
ARM: dts: Add pwm-fan node to the Odroid-U3 board
Feb 6, 2015
39c29a8
ARM: dts: Add properties to use pwm-fan device as a cooling device in…
Feb 6, 2015
62eaac7
hwmon: pwm-fan: Extract __set_pwm() function to only modify PWM duty …
Feb 6, 2015
4351634
hwmon: pwm-fan: Read PWM FAN configuration from device tree
Feb 6, 2015
7cde076
hwmon: pwm-fan: Code for using PWM FAN as a cooling device
Feb 6, 2015
c3b1f56
patchset: [PATCH v3 0/8] hwmon: thermal: Odroid U3: Provide support f…
tobiasjakobi Feb 9, 2015
51e9787
ARM: DTS: Exynos: add 'dr_mode' property to hsotg devices
mszyprow Jan 19, 2015
9fb4423
usb: dwc2: rework initialization of host and gadget in dual-role mode
mszyprow Jan 19, 2015
f21d08c
devfreq: exynos: Add generic exynos memory bus frequency driver
chanwoochoi Jan 15, 2015
4679780
devfreq: exynos: Add documentation for generic exynos memory bus freq…
chanwoochoi Jan 15, 2015
a408168
ARM: dts: Add memory bus node for Exynos3250
chanwoochoi Jan 15, 2015
fe5eb3a
clk: samsung: exynos4: Add divider clock id for memory bus frequency
chanwoochoi Jan 15, 2015
e482a8b
ARM: dts: Add memory bus node for Exynos4x12
chanwoochoi Jan 15, 2015
db39db4
ARM: dts: Add memory bus node for Exynos4210
chanwoochoi Jan 15, 2015
76dd480
ARM: dts: Add the support for exynos busfreq on Exynos3250-based Rina…
chanwoochoi Jan 15, 2015
06364f4
ARM: dts: Add the support for exynos busfreq on Exynos4412-based TRAT…
chanwoochoi Jan 15, 2015
fda98ee
ARM: dts: odroid: Add support for exynos busfreq
tobiasjakobi Feb 14, 2015
dd8da03
devfreq: exynos: Remove unused exynos4 memory busfreq driver
chanwoochoi Jan 15, 2015
ad6d544
patchset: [PATCH v4 0/9] devfreq: Add generic exynos memory-bus frequ…
tobiasjakobi Feb 14, 2015
a15b116
mali: initial import of r4p0 kernel driver
tobiasjakobi Feb 15, 2014
6fd11c5
mali: some build fixes
tobiasjakobi Feb 15, 2014
67d2397
cpufreq: exynos: Enable Prime frequences/voltages for Exynos4412
tobiasjakobi Jan 17, 2015
db68d14
ARM: dts: exynos4412-odroid: Allow CPU voltage up to 1.4V
tobiasjakobi Jan 19, 2015
363bbe7
ARM: dts: exynos4412-odroid: unify voltage regulator style
tobiasjakobi Jan 21, 2015
b90e7dd
ARM: dts: exynos4412-odroid: adjust regular naming style
tobiasjakobi Aug 28, 2014
3561e92
ARM: dts: exynos4412-odroid: adjust regulator voltages
tobiasjakobi Aug 28, 2014
1fe7f35
ARM: dts: exynos4412-odroid: separate buck8 regulator
tobiasjakobi Aug 28, 2014
840562e
ARM: dts: exynos4412-odroid: add LDO22 regulator
tobiasjakobi Aug 28, 2014
a25fdbc
ARM: dts: exynos4412-odroid: add usb3503 GPIO wait time
tobiasjakobi Sep 3, 2014
b74019e
ARM: dts: exynos4412-odroid: fix eMMC regulator supplies
tobiasjakobi Sep 3, 2014
b74ee89
ARM: dts: exynos4412-odroid: fix SDHC regulator supplies
tobiasjakobi Sep 3, 2014
e984983
ARM: dts: exynos4412-odroid: remove always-on for ldo{4,21}
tobiasjakobi Sep 3, 2014
19f6c52
ARM: dts: exynos4412-odroid: remove redundant pinctrl settings
tobiasjakobi Sep 5, 2014
8aea229
ARM: dts: exynos4412-odroid: add slave-addr to i2c_0
tobiasjakobi Sep 5, 2014
61077ef
ARM: dts: exynos4412-odroid: tune settings for i2c_1
tobiasjakobi Sep 5, 2014
83bb5bf
ARM: dts: exynos4412-odroidu3: specify buck8 as ext-regulator for usb…
tobiasjakobi Sep 24, 2014
4ddbf17
ARM: dts: exynos4412-odroid: move eMMC vmmc supply out of common
tobiasjakobi Sep 24, 2014
b4409e1
ARM: dts: exynos4412-odroid: add more regulator nodes
tobiasjakobi Oct 22, 2014
1e0e789
ARM: dts: exynos4412-odroid: add regulator topology information
tobiasjakobi Oct 22, 2014
90d1e88
ARM: dts: exynos4412-odroidx2: add FIMD and related nodes
tobiasjakobi Oct 22, 2014
b21ff7a
ARM: dts: odroid: adjust vdd_{mif,int} voltage ranges
tobiasjakobi Feb 14, 2015
8f5be2b
HACK: mmc: dw_mmc-exynos: implementing eMMC hwreset on restart
prahal Oct 3, 2013
e4887ea
HACK: ARM: dts: exynos4412-odroid: add eMMC hwreset GPIO
prahal Sep 18, 2014
eb81ae9
mmc: sdhci: don't set clock while holding spinlock
prahal Oct 12, 2014
7265124
README: add mini-docu describing this tree
tobiasjakobi Apr 19, 2014
5f99a62
drm/exynos: enable QoS to avoid visual glitches at high resolutions
dsd Oct 1, 2014
3ee93f3
mali: fix usage of strict_strt{oul,ol}
tobiasjakobi Jan 31, 2015
60a4d6c
mali: remove _mali_osk_mem_check_allocated
tobiasjakobi Jan 31, 2015
19544fe
mali: remove mali_osk_memory source
tobiasjakobi Jan 31, 2015
5593270
mali: remove mali_osk_atomics source
tobiasjakobi Jan 31, 2015
87610be
mali: remove mali_osk_math source
tobiasjakobi Jan 31, 2015
33d3cf3
mali: move _mali_osk_break to mali_osk header
tobiasjakobi Jan 31, 2015
6c835e3
mali: remove ump support
tobiasjakobi Jan 31, 2015
e328082
clk: samsung: exynos4: add Exynos4412 VPLL rates
dsd Aug 14, 2014
d5b911f
clk: samsung: exynos4: add extra VPLL frequencies
dsd Sep 9, 2014
0a2ceef
mali: prevent build with 64-bit DMA addresses
dsd Aug 14, 2014
84e022c
mali: implement initialization from device tree
dsd Jul 9, 2014
5d6340a
mali: odroid (pegasus-m400) platform integration
dsd Feb 3, 2014
b633b54
ARM: dts: exynos4412-odroid: add Mali devicetree entry
dsd Jul 9, 2014
b77bbc0
mali: call mali_platform_init sooner
tobiasjakobi Feb 3, 2015
9b120e1
mali: use generic power domain bindings
tobiasjakobi Feb 4, 2015
4187fbd
mali: replace CONFIG_PM_RUNTIME with CONFIG_PM
tobiasjakobi Feb 4, 2015
c4f5005
mali: start clean-up of odroid platform source
tobiasjakobi Feb 4, 2015
d748d52
mali: remove unused code from platform header
tobiasjakobi Feb 4, 2015
c3f6a31
mali: remove 'mali_gpu_clk' from platform source
tobiasjakobi Feb 4, 2015
ca5019d
mali: remove used variable 'gpu_power_state'
tobiasjakobi Feb 4, 2015
2050a58
mali: platform: clean-up phase 1
tobiasjakobi Feb 4, 2015
023822e
mali: platform: clean-up phase 2
tobiasjakobi Feb 4, 2015
2283051
mali: platform: clean-up phase 3
tobiasjakobi Feb 4, 2015
4cfa5b9
mali: platform: clean-up phase 4
tobiasjakobi Feb 4, 2015
ddab4d8
mali: platform: clean-up phase 5
tobiasjakobi Feb 4, 2015
38984b5
mali: platform: add exynos code from Tizen tree
tobiasjakobi Feb 4, 2015
4607a17
mali: implement platform selection
tobiasjakobi Feb 4, 2015
2a69b65
mali: disable runtime PM in mali_platform_deinit
tobiasjakobi Feb 4, 2015
72cdb40
mali: platform: control both sclk_g3d and g3d
tobiasjakobi Feb 7, 2015
673bd13
mali: platform: import pegasus-m400 dvfs source
tobiasjakobi Feb 9, 2015
ae26764
ARM: dts: odroid: specify GPU supply
tobiasjakobi Feb 14, 2015
f4fa7ec
mali: platform: get regulator via DT specs
tobiasjakobi Feb 14, 2015
694b40f
drm/exynos: implement GET_FB_DMA_BUF ioctl for Mali interoperaton
mdrjr Mar 4, 2014
d2cd770
ARM: dts: odroid: Use 400MHz clock for the G2D engine
tobiasjakobi Feb 17, 2015
c3b3ad8
PM / devfreq: fix governor_store
tobiasjakobi Feb 17, 2015
697daec
exynos4-is: don't fail if no ports are found
dsd Jul 15, 2014
7ddabc2
drm/exynos/ipp: Validate buffer enqueue requests
Mar 4, 2015
1ad57c4
phy: samsung-usb2: Remove NULL terminating entry from phys array
AxelLin Mar 3, 2015
66a6a5a
ARM: dts: exynos4: add nodes for jpeg codec
mszyprow Mar 5, 2015
fdf27e5
s5p-fimc: Align imagesize to row size for tiled formats
ndufresne Mar 21, 2014
2aaebd6
s5p-fimc: Use roundup() instead of ALIGN()
ndufresne Mar 26, 2014
3fac043
drm/exynos: fix the number of overlay planes
Mar 12, 2015
b1daa37
clocksource: exynos_mct: fix for sleeping in atomic ctx handling cpu …
Mar 12, 2015
684c5f1
phy: samsung_usb2: Fixup samsung_usb2_phy_power_on/off paths
AxelLin Mar 17, 2015
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
  •  
  •  
  •  
318 changes: 318 additions & 0 deletions Documentation/cec.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,318 @@
CEC Kernel Support
==================

The CEC framework provides a unified kernel interface for use with HDMI CEC
hardware. It is designed to handle a multiple variants of hardware. Adding to
the flexibility of the framework it enables to set which parts of the CEC
protocol processing is handled by the hardware, by the driver and by the
userspace application.


The CEC Protocol
----------------

The CEC protocol enables cosumer electronic devices to communicate with each
other through the HDMI connection. The protocol uses logical addresses in the
communication. The logical address is strictly connected with the functionality
provided by the device. The TV acting as the communication hub is always
assigned address 0. The physicall addressis determined by physical connection
between devices.

The protocol enables control of compatible devices with a single remote.
Synchronous power on/standby, instant playback with changing the content source
on the TV.

The Kernel Interface
====================

CEC Adaptor
-----------

#define CEC_LOG_ADDR_INVALID 0xff

/* The maximum number of logical addresses one device can be assigned to.
* The CEC 2.0 spec allows for only 2 logical addresses at the moment. The
* Analog Devices CEC hardware supports 3. So let's go wild and go for 4. */
#define CEC_MAX_LOG_ADDRS 4

/* The "Primary Device Type" */
#define CEC_PRIM_DEVTYPE_TV 0
#define CEC_PRIM_DEVTYPE_RECORD 1
#define CEC_PRIM_DEVTYPE_TUNER 3
#define CEC_PRIM_DEVTYPE_PLAYBACK 4
#define CEC_PRIM_DEVTYPE_AUDIOSYSTEM 5
#define CEC_PRIM_DEVTYPE_SWITCH 6
#define CEC_PRIM_DEVTYPE_VIDEOPROC 7

/* The "All Device Types" flags (CEC 2.0) */
#define CEC_FL_ALL_DEVTYPE_TV (1 << 7)
#define CEC_FL_ALL_DEVTYPE_RECORD (1 << 6)
#define CEC_FL_ALL_DEVTYPE_TUNER (1 << 5)
#define CEC_FL_ALL_DEVTYPE_PLAYBACK (1 << 4)
#define CEC_FL_ALL_DEVTYPE_AUDIOSYSTEM (1 << 3)
#define CEC_FL_ALL_DEVTYPE_SWITCH (1 << 2)
/* And if you wondering what happened to VIDEOPROC devices: those should
* be mapped to a SWITCH. */

/* The logical address types that the CEC device wants to claim */
#define CEC_LOG_ADDR_TYPE_TV 0
#define CEC_LOG_ADDR_TYPE_RECORD 1
#define CEC_LOG_ADDR_TYPE_TUNER 2
#define CEC_LOG_ADDR_TYPE_PLAYBACK 3
#define CEC_LOG_ADDR_TYPE_AUDIOSYSTEM 4
#define CEC_LOG_ADDR_TYPE_SPECIFIC 5
#define CEC_LOG_ADDR_TYPE_UNREGISTERED 6
/* Switches should use UNREGISTERED.
* Video processors should use SPECIFIC. */

/* The CEC version */
#define CEC_VERSION_1_4B 5
#define CEC_VERSION_2_0 6

struct cec_adapter {
/* internal fields removed */

u16 phys_addr;
u32 capabilities;
u8 version;
u8 num_log_addrs;
u8 prim_device[CEC_MAX_LOG_ADDRS];
u8 log_addr_type[CEC_MAX_LOG_ADDRS];
u8 log_addr[CEC_MAX_LOG_ADDRS];

int (*adap_enable)(struct cec_adapter *adap, bool enable);
int (*adap_log_addr)(struct cec_adapter *adap, u8 logical_addr);
int (*adap_transmit)(struct cec_adapter *adap, struct cec_msg *msg);
void (*adap_transmit_timed_out)(struct cec_adapter *adap);

int (*received_tv)(struct cec_adapter *adap, struct cec_msg *msg);
int (*received_record)(struct cec_adapter *adap, struct cec_msg *msg);
int (*received_tuner)(struct cec_adapter *adap, struct cec_msg *msg);
int (*received_playback)(struct cec_adapter *adap, struct cec_msg *msg);
int (*received_audiosystem)(struct cec_adapter *adap, struct cec_msg *msg);
int (*received_switch)(struct cec_adapter *adap, struct cec_msg *msg);
int (*received_videoproc)(struct cec_adapter *adap, struct cec_msg *msg);
int (*received)(struct cec_adapter *adap, struct cec_msg *msg);
};

int cec_create_adapter(struct cec_adapter *adap, u32 caps);
void cec_delete_adapter(struct cec_adapter *adap);
int cec_transmit_msg(struct cec_adapter *adap, struct cec_data *data, bool block);

/* Called by the adapter */
void cec_adap_transmit_done(struct cec_adapter *adap, u32 status);
void cec_adap_received_msg(struct cec_adapter *adap, struct cec_msg *msg);


The device type defines are defined by the CEC standard.

The cec_adapter structure represents the adapter. It has a number of
operations that have to be implemented in the driver: adap_enable() enables
or disables the physical adapter, adap_log_addr() tells the driver which
logical address should be configured. This may be called multiple times
to configure multiple logical addresses. Calling adap_enable(false) or
adap_log_addr(CEC_LOG_ADDR_INVALID) will clear all configured logical
addresses.

The adap_transmit op will setup the hardware to send out the given CEC message.
This will return without waiting for the transmission to finish. The
adap_transmit_timed_out() function is called when the current transmission timed
out and the hardware needs to be informed of this (the hardware should go back
from transmitter to receiver mode).

The adapter driver will also call into the adapter: it should call
cec_transmit_done() when a cec transfer was finalized and cec_received_msg()
when a new message was received.

When a message is received the corresponding received() op is called depending
on the logical address it is received on. If the message is not handled by
that the received op is called as fallback. The driver can hook into these ops
and do whatever it needs to do in order to respond to the message.

The driver has to call cec_create_adapter to initialize the structure. If
the 'caps' argument is non-zero, then it will also create a /dev/cecX
device node to allow userspace to interact with the CEC device. Userspace
can request those capabilities with the CEC_G_CAPS ioctl.

In order for a CEC adapter to be configured it needs a physical address.
This is normally assigned by the driver. It is either 0.0.0.0 for a TV (aka
video receiver) or it is derived from the EDID that the source received
from the sink. This is normally set by the driver before enabling the CEC
adapter, or it is set from userspace in the case of CEC USB dongles (although
embedded systems might also want to set this manually).

After enabling the CEC adapter it has to be configured. The CEC adapter has
to be informed for which CEC device types a logical address has to be found.
The CEC framework will attempt to find such logical addresses. If none are
found, then it will fall back to logical address Unregistered (15).

When a CEC message is received the CEC framework will take care of the CEC
core messages CEC_OP_GET_CEC_VERSION, CEC_OP_GIVE_PHYS_ADDR and CEC_OP_ABORT.
Then it will call the received() op (if set), and finally it will queue it
for handling by userspace if create_devnode was true, or send back
FEATURE_ABORT if create_devnode was false.

Drivers can also use the cec_transmit_msg() call to transmit a message. This
can either be fire-and-forget (the CEC framework will queue up messages in a
transmit queue), or a blocking wait until there is either an error or a
reply to the message.


The Userspace API
=================

CEC communication
-----------------

This is the main message struct:

struct cec_msg {
__u32 len;
__u8 msg[16];
__u32 status;
/* If non-zero, then wait for a reply with this opcode.
If there was an error when sending the msg or FeatureAbort
was returned, then reply is set to 0.
If reply is non-zero upon return, then len/msg are set to
the received message.
If reply is zero upon return and status has the CEC_TX_STATUS_FEATURE_ABORT
bit set, then len/msg are set to the received feature abort message.
If reply is zero upon return and status has the CEC_TX_STATUS_REPLY_TIMEOUT
bit set, then no reply was seen at all.
This field is ignored with CEC_RECEIVE.
If reply is non-zero for CEC_TRANSMIT and the message is a broadcast,
then -EINVAL is returned.
if reply is non-zero, then timeout is set to 1000 (the required maximum
response time).
*/
__u8 reply;
/* timeout (in ms) is used to timeout CEC_RECEIVE.
Set to 0 if you want to wait forever. */
__u32 timeout;
struct timespec ts;
};

16 bytes for the message, the length of the message, a status value
in case of errors. Optionally you can request the CEC framework to
wait after transmitting the message until the 'reply' message is
returned (or Feature Abort). This is done asynchronously, i.e. it
does not require that the reply comes right after the transmit, but
other messages in between are allowed.

#define CEC_TRANSMIT _IOWR('a', 1, struct cec_msg)
#define CEC_RECEIVE _IOWR('a', 2, struct cec_msg)

With CEC_TRANSMIT you can transmit a message, either blocking or
non-blocking. With CEC_RECEIVE you can dequeue a pending received
message from the internal queue or wait for a message to arrive
(if called in blocking mode).


/* Userspace has to configure the adapter state (enable/disable) */
#define CEC_CAP_STATE (1 << 0)
/* Userspace has to configure the physical address */
#define CEC_CAP_PHYS_ADDR (1 << 1)
/* Userspace has to configure the logical addresses */
#define CEC_CAP_LOG_ADDRS (1 << 2)
/* Userspace can transmit messages */
#define CEC_CAP_TRANSMIT (1 << 3)
/* Userspace can receive messages */
#define CEC_CAP_RECEIVE (1 << 4)

struct cec_caps {
__u32 available_log_addrs;
__u32 capabilities;
};

#define CEC_G_CAPS _IOR('a', 0, struct cec_caps)

Obtain some of the CEC adapter capabilities: the number of logical addresses
that the adapter can configure and what can be controlled from userspace.

/*
Enable/disable the adapter. The S_ADAP_STATE ioctl is not available
unless CEC_CAP_STATE is set.
*/
#define CEC_G_ADAP_STATE _IOR('a', 5, __u32)
#define CEC_S_ADAP_STATE _IOW('a', 6, __u32)

/*
phys_addr is either 0 (if this is the CEC root device)
or a valid physical address obtained from the sink's EDID
as read by this CEC device (if this is a source device)
or a physical address obtained and modified from a sink
EDID and used for a sink CEC device.
If nothing is connected, then phys_addr is 0xffff.
See HDMI 1.4b, section 8.7 (Physical Address).

The S_ADAP_PHYS_ADDR ioctl is not available unless CEC_CAP_PHYS_ADDR
is set.
*/
#define CEC_G_ADAP_PHYS_ADDR _IOR('a', 7, __u16)
#define CEC_S_ADAP_PHYS_ADDR _IOW('a', 8, __u16)

struct cec_log_addrs {
__u8 cec_version;
__u8 num_log_addrs;
__u8 primary_device_type[CEC_MAX_LOG_ADDRS];
__u8 log_addr_type[CEC_MAX_LOG_ADDRS];
__u8 log_addr[CEC_MAX_LOG_ADDRS];

/* CEC 2.0 */
__u8 all_device_types;
__u8 features[CEC_MAX_LOG_ADDRS][12];
};

/*
Configure the CEC adapter.

The cec_version determines which CEC version should be followed.

It will try to claim num_log_addrs devices. The log_addr_type array has
the logical address type that needs to be claimed for that device, and
the log_addr array will receive the actual logical address that was
claimed for that device or 0xff if no address could be claimed.

The primary_device_type contains the primary device for each logical
address.

For CEC 2.0 devices the all_device_types parameter to use with the
Report Features command, and 'features' contains the remaining parameters
(RC Profile and Device Features) to use in Report Features.

An error is returned if the adapter is disabled or if there
is no physical address assigned or if cec_version is unknown.

If no logical address of one or more of the given types could be claimed,
then log_addr will be set to CEC_LOG_ADDR_INVALID.

If no logical address could be claimed at all, then num_log_addrs will
be set to 1, log_addr_type[0] to UNREGISTERED and log_addr[0] to 0xf.

The S_ADAP_LOG_ADDRS ioctl is not available unless CEC_CAP_LOG_ADDRS
is set.
*/
#define CEC_G_ADAP_LOG_ADDRS _IOR('a', 3, struct cec_log_addrs)
#define CEC_S_ADAP_LOG_ADDRS _IOWR('a', 4, struct cec_log_addrs)

The event ioctl is used to get a single struct cec_event if it was
previously posted by the driver by the cec_post_event function.

#define CEC_G_EVENT _IOWR('a', 9, struct cec_event)

Remote control handling
-----------------------

The CEC framework provides two ways of handling the key messages of remote
control. In the first case, the CEC framework will handle these messages and
provide the keypressed via the RC framework. In the second case the messages
related to the key down/up events are not parsed by the framework and are
passed to the userspace as raw messages.

Switching between these modes is done with a special ioctl.

#define CEC_G_KEY_PASSTHROUGH _IOR('a', 10, __u8)
#define CEC_S_KEY_PASSTHROUGH _IOW('a', 11, __u8)
#define CEC_KEY_PASSTHROUGH_DISABLE 0
#define CEC_KEY_PASSTHROUGH_ENABLE 1

Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,11 @@ Optional Properties:
- pclkN, clkN: Pairs of parent of input clock and input clock to the
devices in this power domain. Maximum of 4 pairs (N = 0 to 3)
are supported currently.
- power-domains: generic power domain binding pointing to a master power domain
that the given domain is a part of
- domain-always-on: keeps the domain always enabled

Node of a device using power domains must have a samsung,power-domain property
Node of a device using power domains must have a power-domains property
defined with a phandle to respective power domain.

Example:
Expand Down
10 changes: 10 additions & 0 deletions Documentation/devicetree/bindings/arm/l2cc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ Optional properties:
- cache-id-part: cache id part number to be used if it is not present
on hardware
- wt-override: If present then L2 is forced to Write through mode
- arm,double-linefill : Override double linefill enable setting. Enable if
non-zero, disable if zero.
- arm,double-linefill-incr : Override double linefill on INCR read. Enable
if non-zero, disable if zero.
- arm,double-linefill-wrap : Override double linefill on WRAP read. Enable
if non-zero, disable if zero.
- arm,prefetch-drop : Override prefetch drop enable setting. Enable if non-zero,
disable if zero.
- arm,prefetch-offset : Override prefetch offset value. Valid values are
0-7, 15, 23, and 31.

Example:

Expand Down
Loading