| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/i2c/ |
| D | i2c-mux-pinctrl.txt | 1 Pinctrl-based I2C Bus Mux 3 This binding describes an I2C bus multiplexer that uses pin multiplexing to 4 route the I2C signals, and represents the pin multiplexing configuration 7 +-----+ +-----+ 9 +------------------------+ +-----+ +-----+ 11 | /----|------+--------+ 12 | +---+ +------+ | child bus A, on first set of pins 13 | |I2C|---|Pinmux| | 14 | +---+ +------+ | child bus B, on second set of pins 15 | \----|------+--------+--------+ [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/i2c/ |
| D | i2c-mux-pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-mux-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Pinctrl-based I2C Bus Mux 10 - Wolfram Sang <wsa@kernel.org> 13 This binding describes an I2C bus multiplexer that uses pin multiplexing to route the I2C 17 +-----+ +-----+ 19 +------------------------+ +-----+ +-----+ 21 | /----|------+--------+ [all …]
|
| /kernel/linux/linux-5.10/drivers/video/fbdev/matrox/ |
| D | i2c-matroxfb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * (c) 1998-2002 Petr Vandrovec <vandrove@vc.cvut.cz> 16 #include <linux/i2c.h> 18 #include <linux/i2c-algo-bit.h> 20 /* MGA-TVO I2C for G200, G400 */ 23 /* primary head DDC for Mystique(?), G100, G200, G400 */ 26 /* primary head DDC for Millennium, Millennium II */ 29 /* secondary head DDC for G400 */ 63 /* software I2C functions */ 74 matroxfb_i2c_set(b->minfo, b->mask.data, state); in matroxfb_gpio_setsda() [all …]
|
| /kernel/linux/linux-6.6/drivers/video/fbdev/matrox/ |
| D | i2c-matroxfb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * (c) 1998-2002 Petr Vandrovec <vandrove@vc.cvut.cz> 16 #include <linux/i2c.h> 18 #include <linux/i2c-algo-bit.h> 20 /* MGA-TVO I2C for G200, G400 */ 23 /* primary head DDC for Mystique(?), G100, G200, G400 */ 26 /* primary head DDC for Millennium, Millennium II */ 29 /* secondary head DDC for G400 */ 63 /* software I2C functions */ 74 matroxfb_i2c_set(b->minfo, b->mask.data, state); in matroxfb_gpio_setsda() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/bridge/ |
| D | display-connector.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/i2c.h> 9 #include <linux/media-bus-format.h> 39 return flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR ? 0 : -EINVAL; in display_connector_attach() 47 if (conn->hpd_gpio) { in display_connector_detect() 48 if (gpiod_get_value_cansleep(conn->hpd_gpio)) in display_connector_detect() 54 if (conn->bridge.ddc && drm_probe_ddc(conn->bridge.ddc)) in display_connector_detect() 57 switch (conn->bridge.type) { in display_connector_detect() 64 * For DVI and HDMI connectors a DDC probe failure indicates in display_connector_detect() 74 * Composite and S-Video connectors have no other detection in display_connector_detect() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/rockchip/ |
| D | rockchip,dw-hdmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/rockchip/rockchip,dw-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mark Yao <markyao0591@gmail.com> 17 - $ref: ../bridge/synopsys,dw-hdmi.yaml# 22 - rockchip,rk3228-dw-hdmi 23 - rockchip,rk3288-dw-hdmi 24 - rockchip,rk3328-dw-hdmi 25 - rockchip,rk3399-dw-hdmi [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/bridge/ |
| D | display-connector.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/i2c.h> 34 return flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR ? 0 : -EINVAL; in display_connector_attach() 42 if (conn->hpd_gpio) { in display_connector_detect() 43 if (gpiod_get_value_cansleep(conn->hpd_gpio)) in display_connector_detect() 49 if (conn->bridge.ddc && drm_probe_ddc(conn->bridge.ddc)) in display_connector_detect() 52 switch (conn->bridge.type) { in display_connector_detect() 59 * For DVI and HDMI connectors a DDC probe failure indicates in display_connector_detect() 69 * Composite and S-Video connectors have no other detection in display_connector_detect() 71 * an I2C bus, we can't assume that the cable is disconnected in display_connector_detect() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/mediatek/ |
| D | mediatek,hdmi.txt | 8 - compatible: Should be "mediatek,<chip>-hdmi". 9 - the supported chips are mt2701, mt7623 and mt8173 10 - reg: Physical base address and length of the controller's registers 11 - interrupts: The interrupt signal from the function block. 12 - clocks: device clocks 13 See Documentation/devicetree/bindings/clock/clock-bindings.txt for details. 14 - clock-names: must contain "pixel", "pll", "bclk", and "spdif". 15 - phys: phandle link to the HDMI PHY node. 16 See Documentation/devicetree/bindings/phy/phy-bindings.txt for details. 17 - phy-names: must contain "hdmi" [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/imx/ |
| D | hdmi.txt | 9 following device-specific properties. 14 - compatible : Shall be one of "fsl,imx6q-hdmi" or "fsl,imx6dl-hdmi". 15 - reg: See dw_hdmi.txt. 16 - interrupts: HDMI interrupt number 17 - clocks: See dw_hdmi.txt. 18 - clock-names: Shall contain "iahb" and "isfr" as defined in dw_hdmi.txt. 19 - ports: See dw_hdmi.txt. The DWC HDMI shall have between one and four ports, 22 - gpr : Shall contain a phandle to the iomuxc-gpr region containing the HDMI 27 - ddc-i2c-bus: The HDMI DDC bus can be connected to either a system I2C master 28 or the functionally-reduced I2C master contained in the DWC HDMI. When [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/connector/ |
| D | vga-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/display/connector/vga-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laurent Pinchart <Laurent.pinchart@ideasonboard.com> 14 const: vga-connector 18 ddc-i2c-bus: 19 description: phandle link to the I2C controller used for DDC EDID probing 26 - compatible 27 - port [all …]
|
| D | hdmi-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/display/connector/hdmi-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laurent Pinchart <Laurent.pinchart@ideasonboard.com> 14 const: hdmi-connector 19 - a # Standard full size 20 - b # Never deployed? 21 - c # Mini 22 - d # Micro [all …]
|
| D | dvi-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/display/connector/dvi-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laurent Pinchart <Laurent.pinchart@ideasonboard.com> 14 const: dvi-connector 18 hpd-gpios: 22 ddc-i2c-bus: 23 description: phandle link to the I2C controller used for DDC EDID probing 34 dual-link: [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/tegra/ |
| D | nvidia,tegra20-hdmi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-hdmi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 15 pattern: "^hdmi@[0-9a-f]+$" 19 - enum: 20 - nvidia,tegra20-hdmi 21 - nvidia,tegra30-hdmi [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/connector/ |
| D | vga-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/display/connector/vga-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laurent Pinchart <Laurent.pinchart@ideasonboard.com> 14 const: vga-connector 18 ddc-i2c-bus: 19 description: phandle link to the I2C controller used for DDC EDID probing 27 - compatible 28 - port [all …]
|
| D | hdmi-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/display/connector/hdmi-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laurent Pinchart <Laurent.pinchart@ideasonboard.com> 14 const: hdmi-connector 19 - a # Standard full size 20 - b # Never deployed? 21 - c # Mini 22 - d # Micro [all …]
|
| D | dvi-connector.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/display/connector/dvi-connector.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Laurent Pinchart <Laurent.pinchart@ideasonboard.com> 14 const: dvi-connector 18 hpd-gpios: 22 ddc-i2c-bus: 23 description: phandle link to the I2C controller used for DDC EDID probing 34 dual-link: [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/ |
| D | drm_dp_dual_mode_helper.c | 26 #include <linux/i2c.h> 39 * Adaptor registers (if any) and the sink DDC bus may be accessed via I2C. 42 * Adaptor registers and sink DDC bus can be accessed either via I2C or 43 * I2C-over-AUX. Source devices may choose to implement either of these 50 * drm_dp_dual_mode_read - Read from the DP dual mode adaptor register(s) 51 * @adapter: I2C adapter for the DDC bus 68 * As sub-addressing is not supported by all adaptors, in drm_dp_dual_mode_read() 93 return -ENOMEM; in drm_dp_dual_mode_read() 107 return -EPROTO; in drm_dp_dual_mode_read() 114 * drm_dp_dual_mode_write - Write to the DP dual mode adaptor register(s) [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/display/rockchip/ |
| D | dw_hdmi-rockchip.txt | 9 following device-specific properties. 14 - compatible: should be one of the following: 15 "rockchip,rk3228-dw-hdmi" 16 "rockchip,rk3288-dw-hdmi" 17 "rockchip,rk3328-dw-hdmi" 18 "rockchip,rk3399-dw-hdmi" 19 - reg: See dw_hdmi.txt. 20 - reg-io-width: See dw_hdmi.txt. Shall be 4. 21 - interrupts: HDMI interrupt number 22 - clocks: See dw_hdmi.txt. [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/display/ |
| D | drm_dp_dual_mode_helper.c | 26 #include <linux/i2c.h> 40 * Adaptor registers (if any) and the sink DDC bus may be accessed via I2C. 43 * Adaptor registers and sink DDC bus can be accessed either via I2C or 44 * I2C-over-AUX. Source devices may choose to implement either of these 51 * drm_dp_dual_mode_read - Read from the DP dual mode adaptor register(s) 52 * @adapter: I2C adapter for the DDC bus 69 * As sub-addressing is not supported by all adaptors, in drm_dp_dual_mode_read() 94 return -ENOMEM; in drm_dp_dual_mode_read() 108 return -EPROTO; in drm_dp_dual_mode_read() 115 * drm_dp_dual_mode_write - Write to the DP dual mode adaptor register(s) [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/zte/ |
| D | zx_vga.c | 1 // SPDX-License-Identifier: GPL-2.0-only 37 struct zx_vga_i2c *ddc; member 51 struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl; in zx_vga_encoder_enable() 54 regmap_update_bits(pwrctrl->regmap, pwrctrl->reg, pwrctrl->mask, in zx_vga_encoder_enable() 55 pwrctrl->mask); in zx_vga_encoder_enable() 57 vou_inf_enable(VOU_VGA, encoder->crtc); in zx_vga_encoder_enable() 63 struct zx_vga_pwrctrl *pwrctrl = &vga->pwrctrl; in zx_vga_encoder_disable() 65 vou_inf_disable(VOU_VGA, encoder->crtc); in zx_vga_encoder_disable() 68 regmap_update_bits(pwrctrl->regmap, pwrctrl->reg, pwrctrl->mask, 0); in zx_vga_encoder_disable() 83 * Clear both detection bits to switch I2C bus from device in zx_vga_connector_get_modes() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/display/panel/ |
| D | panel-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 24 width-mm: 29 height-mm: 43 non-descriptive information. For instance an LCD panel in a system that 55 panel-timing: [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | tegra20-ventana.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 6 #include "tegra20-cpu-opp.dtsi" 13 rtc0 = "/i2c@7000d000/tps6586x@34"; 19 stdout-path = "serial0:115200n8"; 38 vdd-supply = <&hdmi_vdd_reg>; 39 pll-supply = <&hdmi_pll_reg>; 41 nvidia,ddc-i2c-bus = <&hdmi_ddc>; 42 nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/mediatek/ |
| D | mtk_hdmi_ddc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/i2c.h> 65 static inline void sif_set_bit(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_set_bit() argument 68 writel(readl(ddc->regs + offset) | val, ddc->regs + offset); in sif_set_bit() 71 static inline void sif_clr_bit(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_clr_bit() argument 74 writel(readl(ddc->regs + offset) & ~val, ddc->regs + offset); in sif_clr_bit() 77 static inline bool sif_bit_is_set(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_bit_is_set() argument 80 return (readl(ddc->regs + offset) & val) == val; in sif_bit_is_set() 83 static inline void sif_write_mask(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_write_mask() argument 89 tmp = readl(ddc->regs + offset); in sif_write_mask() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
| D | mtk_hdmi_ddc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/i2c.h> 62 static inline void sif_set_bit(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_set_bit() argument 65 writel(readl(ddc->regs + offset) | val, ddc->regs + offset); in sif_set_bit() 68 static inline void sif_clr_bit(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_clr_bit() argument 71 writel(readl(ddc->regs + offset) & ~val, ddc->regs + offset); in sif_clr_bit() 74 static inline bool sif_bit_is_set(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_bit_is_set() argument 77 return (readl(ddc->regs + offset) & val) == val; in sif_bit_is_set() 80 static inline void sif_write_mask(struct mtk_hdmi_ddc *ddc, unsigned int offset, in sif_write_mask() argument 86 tmp = readl(ddc->regs + offset); in sif_write_mask() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nvidia/ |
| D | tegra20-ventana.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/thermal/thermal.h> 7 #include "tegra20-cpu-opp.dtsi" 8 #include "tegra20-cpu-opp-microvolt.dtsi" 15 rtc0 = "/i2c@7000d000/tps6586x@34"; 21 stdout-path = "serial0:115200n8"; 40 vdd-supply = <&hdmi_vdd_reg>; 41 pll-supply = <&hdmi_pll_reg>; [all …]
|