forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge git://git.linuxtv.org/media_stage into media_tree
* git://git.linuxtv.org/media_stage: (216 commits) media: v4l2-ctrls-api.c: move ctrl->is_new = 1 to the correct line media: Revert "media: saa7146: deprecate hexium_gemini/orion, mxb and ttpci" media: Revert "media: av7110: move to staging/media/deprecated/saa7146" media: imx-pxp: convert to regmap media: imx-pxp: Use non-threaded IRQ media: imx-pxp: Introduce pxp_read() and pxp_write() wrappers media: imx-pxp: Implement frame size enumeration media: imx-pxp: Pass pixel format value to find_format() media: imx-pxp: Add media controller support media: imx-pxp: Don't set bus_info manually in .querycap() media: imx-pxp: Sort headers alphabetically media: imx-pxp: add support for i.MX7D media: imx-pxp: make data_path_ctrl0 platform dependent media: imx-pxp: disable LUT block media: imx-pxp: explicitly disable unused blocks media: imx-pxp: extract helper function to setup data path media: imx-pxp: detect PXP version media: dt-bindings: media: fsl-pxp: convert to yaml media: imx-mipi-csis: Implement .init_cfg() using .set_fmt() media: imx-mipi-csis: Use V4L2 subdev active state ... Signed-off-by: Mauro Carvalho Chehab <[email protected]>
- Loading branch information
Showing
244 changed files
with
8,632 additions
and
5,261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
Documentation/devicetree/bindings/media/cec/cec-common.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/media/cec/cec-common.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: HDMI CEC Adapters Common Properties | ||
|
||
maintainers: | ||
- Hans Verkuil <[email protected]> | ||
|
||
properties: | ||
$nodename: | ||
pattern: "^cec(@[0-9a-f]+|-[0-9]+)?$" | ||
|
||
hdmi-phandle: | ||
$ref: /schemas/types.yaml#/definitions/phandle | ||
description: | ||
Phandle to the HDMI controller. | ||
|
||
needs-hpd: | ||
type: boolean | ||
description: | ||
The CEC support is only available when the HPD is high. Some boards only | ||
let the CEC pin through if the HPD is high, for example if there is a | ||
level converter that uses the HPD to power up or down. | ||
|
||
additionalProperties: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/media/cec/cec-gpio.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: HDMI CEC GPIO | ||
|
||
maintainers: | ||
- Hans Verkuil <[email protected]> | ||
|
||
description: | | ||
The HDMI CEC GPIO module supports CEC implementations where the CEC line is | ||
hooked up to a pull-up GPIO line and - optionally - the HPD line is hooked up | ||
to another GPIO line. | ||
Please note:: the maximum voltage for the CEC line is 3.63V, for the HPD and | ||
5V lines it is 5.3V. So you may need some sort of level conversion | ||
circuitry when connecting them to a GPIO line. | ||
properties: | ||
compatible: | ||
const: cec-gpio | ||
|
||
cec-gpios: | ||
maxItems: 1 | ||
description: | ||
GPIO that the CEC line is connected to. The line should be tagged as open | ||
drain. | ||
|
||
hpd-gpios: | ||
maxItems: 1 | ||
description: | ||
GPIO that the HPD line is connected to. Used for debugging HPD changes | ||
when the CEC line is not associated with an HDMI receiver/transmitter. | ||
|
||
v5-gpios: | ||
maxItems: 1 | ||
description: | ||
GPIO that the 5V line is connected to. Used for debugging changes on the | ||
5V line. | ||
|
||
required: | ||
- compatible | ||
- cec-gpios | ||
|
||
allOf: | ||
- $ref: cec-common.yaml# | ||
- if: | ||
required: | ||
- hdmi-phandle | ||
then: | ||
properties: | ||
hpd-gpios: false | ||
|
||
- if: | ||
required: | ||
- hpd-gpios | ||
then: | ||
properties: | ||
hdmi-phandle: false | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/gpio/gpio.h> | ||
cec { | ||
compatible = "cec-gpio"; | ||
cec-gpios = <&gpio 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; | ||
hpd-gpios = <&gpio 17 GPIO_ACTIVE_HIGH>; | ||
v5-gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; | ||
}; |
58 changes: 58 additions & 0 deletions
58
Documentation/devicetree/bindings/media/cec/nvidia,tegra114-cec.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/media/cec/nvidia,tegra114-cec.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: NVIDIA Tegra HDMI CEC | ||
|
||
maintainers: | ||
- Hans Verkuil <[email protected]> | ||
|
||
allOf: | ||
- $ref: cec-common.yaml# | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- nvidia,tegra114-cec | ||
- nvidia,tegra124-cec | ||
- nvidia,tegra210-cec | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
clock-names: | ||
items: | ||
- const: cec | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- clocks | ||
- clock-names | ||
- hdmi-phandle | ||
- interrupts | ||
- reg | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/tegra124-car.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
cec@70015000 { | ||
compatible = "nvidia,tegra124-cec"; | ||
reg = <0x70015000 0x00001000>; | ||
interrupts = <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>; | ||
clocks = <&tegra_car TEGRA124_CLK_CEC>; | ||
clock-names = "cec"; | ||
status = "disabled"; | ||
hdmi-phandle = <&hdmi>; | ||
}; |
66 changes: 66 additions & 0 deletions
66
Documentation/devicetree/bindings/media/cec/samsung,s5p-cec.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/media/cec/samsung,s5p-cec.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Samsung S5PV210 and Exynos HDMI CEC | ||
|
||
maintainers: | ||
- Krzysztof Kozlowski <[email protected]> | ||
- Marek Szyprowski <[email protected]> | ||
|
||
allOf: | ||
- $ref: cec-common.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: samsung,s5p-cec | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
clock-names: | ||
items: | ||
- const: hdmicec | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
samsung,syscon-phandle: | ||
$ref: /schemas/types.yaml#/definitions/phandle | ||
description: | ||
Phandle to PMU system controller interface | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- clocks | ||
- clock-names | ||
- hdmi-phandle | ||
- interrupts | ||
- samsung,syscon-phandle | ||
- reg | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/clock/exynos5420.h> | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
cec@101b0000 { | ||
compatible = "samsung,s5p-cec"; | ||
reg = <0x101B0000 0x200>; | ||
clocks = <&clock CLK_HDMI_CEC>; | ||
clock-names = "hdmicec"; | ||
interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; | ||
hdmi-phandle = <&hdmi>; | ||
needs-hpd; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&hdmi_cec>; | ||
samsung,syscon-phandle = <&pmu_system_controller>; | ||
}; |
66 changes: 66 additions & 0 deletions
66
Documentation/devicetree/bindings/media/cec/st,stih-cec.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/media/cec/st,stih-cec.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: STMicroelectronics STIH4xx HDMI CEC | ||
|
||
maintainers: | ||
- Alain Volmat <[email protected]> | ||
|
||
allOf: | ||
- $ref: cec-common.yaml# | ||
|
||
properties: | ||
compatible: | ||
const: st,stih-cec | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
clock-names: | ||
items: | ||
- const: cec-clk | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
interrupt-names: | ||
items: | ||
- const: cec-irq | ||
|
||
resets: | ||
maxItems: 1 | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- clocks | ||
- hdmi-phandle | ||
- interrupts | ||
- resets | ||
- reg | ||
|
||
unevaluatedProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/interrupt-controller/arm-gic.h> | ||
#include <dt-bindings/reset/stih407-resets.h> | ||
cec@94a087c { | ||
compatible = "st,stih-cec"; | ||
reg = <0x94a087c 0x64>; | ||
clocks = <&clk_sysin>; | ||
clock-names = "cec-clk"; | ||
hdmi-phandle = <&sti_hdmi>; | ||
interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; | ||
interrupt-names = "cec-irq"; | ||
pinctrl-names = "default"; | ||
pinctrl-0 = <&pinctrl_cec0_default>; | ||
resets = <&softreset STIH407_LPM_SOFTRESET>; | ||
}; |
Oops, something went wrong.