From: "shangyao.lin" <[email protected]> Add camera isp7x module device document.
--- Changes in v2: - Rename binding file to mediatek,mt8188-camisp.yaml - Split bindings into four separate patches (one per YAML file) - Various fixes per review comments - Update maintainers list Signed-off-by: shangyao.lin <[email protected]> --- .../mediatek/mediatek,mt8188-camisp.yaml | 68 +++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100755 Documentation/devicetree/bindings/media/mediatek/mediatek,mt8188-camisp.yaml diff --git a/Documentation/devicetree/bindings/media/mediatek/mediatek,mt8188-camisp.yaml b/Documentation/devicetree/bindings/media/mediatek/mediatek,mt8188-camisp.yaml new file mode 100755 index 000000000000..53dbf5152e78 --- /dev/null +++ b/Documentation/devicetree/bindings/media/mediatek/mediatek,mt8188-camisp.yaml @@ -0,0 +1,68 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +# Copyright (c) 2024 MediaTek Inc. +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/mediatek/mediatek,camisp.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: The camisp unit of MediaTek ISP system + +maintainers: + - Shangyao Lin <[email protected]> + - Shu-hsiang Yang <[email protected]> + - Shun-yi Wang <[email protected]> + - Teddy Chen <[email protected]> + +description: + MediaTek camisp is the ISP auxiliary unit for camera system in MediaTek SoC. + +properties: + compatible: + const: mediatek,mt8188-camisp + + reg: + minItems: 1 + maxItems: 1 + description: + Base address of the camisp hardware block. + + reg-names: + items: + - const: base + minItems: 1 + maxItems: 1 + description: + Name for the register region. Must be "base". + + power-domains: + minItems: 1 + maxItems: 1 + description: Power domain for the camisp block. + + mediatek,scp: + description: MediaTek co-process unit for ISP system + $ref: /schemas/types.yaml#/definitions/phandle + +required: + - compatible + - reg + - reg-names + - power-domains + +additionalProperties: false + +examples: + - | + #include <dt-bindings/power/mediatek,mt8188-power.h> + + soc { + isp@16000000 { + compatible = "mediatek,mt8188-camisp"; + reg = <0 0x16000000 0 0x1000>; + reg-names = "base"; + mediatek,scp = <&scp_dual>; + power-domains = <&spm MT8188_POWER_DOMAIN_CAM_MAIN>; + }; + }; + +... \ No newline at end of file -- 2.18.0
