From patchwork Mon Nov 7 21:02:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Jernej_=C5=A0krabec?= X-Patchwork-Id: 13035249 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3C72FC43219 for ; Mon, 7 Nov 2022 21:03:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=t2n916F/YyFM+vJrBVsfH2k2fXz9ANk28/IZXr2iTIA=; b=nIh/hwD6sT4Dn0 7EKuWJu9cImdecdY/TkLVwx+UlVlRF3U4omSQc2YyqkYhC54sbqkUPEDbJW/mjhSIr9EOTS5n+b/y /yEoMZdEmd/ioVu3lb8ILCMel4eF+0G8tluBpt/ThtAdO5plhDPEX1DUCoIl3xkycjewDRUaolNmG jCiJoED348TEORBttwvBAs8n90ls1vpoUK3JN3OtI/YfDMspMb33LY7jlQM/Rhf0OisJ9azuFm9RA xUEVOPyPgjfLTGUrj8U/0JajXNjkEcktcvk1ckiUfxqQR0UOGbefwwTLoFFtHFjY6byFghlFoU7ON waeE8CXsN/Fsk5veNEHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1os9GX-000V1n-FH; Mon, 07 Nov 2022 21:02:45 +0000 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1os9GG-000Us3-VY for linux-arm-kernel@lists.infradead.org; Mon, 07 Nov 2022 21:02:30 +0000 Received: by mail-ej1-x62f.google.com with SMTP id kt23so33457111ejc.7 for ; Mon, 07 Nov 2022 13:02:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=A7zn+Srb2QubHA223IZ7ZOfOFfRooqz/wCN6m6PiwoE=; b=B7MIzOBu+2v2PxgE8yc+UaAbaHjQxwHb6QX29E0D3GAjA6pn/vPVGHB8CAKp6aQrav u8m5FlQ5/f3BBqRGTkqxeAZIiBkQnBzNF5f8HTFNQLpC/PXxcVDzx/HE51jxmyPppvu3 HIlopOcwOJ18pHaYuKT7SFDInFI5z1OIKoRUOWXGDOJmQ/uSjidbKgdiXMV47CBte/R1 G0LgNRoRzJmdEYw835qs4ajPTvjwoAWkoEjdSNZ72rr7ZGy/S+TS2f4FtcxQ2RPhtG/i i4VbBUzX+HXjK9Oes+M8wG1s6T8Uj5seEmhBJ5px3TqCqm7geDZpRRZRTe455slzeAJz QGEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=A7zn+Srb2QubHA223IZ7ZOfOFfRooqz/wCN6m6PiwoE=; b=pcS5rn5aVbDNcxXDltRRmoFx0uFSWiEmY373qRjRKhh6V0qqeV9m1BqWxy3vd2LYm3 1vkadhm6WmyW97/8LrPusI0eiGQWaY6vxmIPqd/KR2s9kg1hT70J+228BB3yWTTaOUx1 4M3sudGpWafoVH2MzXIpeAQj9w1R1FGJ/UaTvGbtPmzXC7Var7GoHHY/AyH+IbTrNf9W x9a30CMFgrGHVg3R7Cl8MdroYVZikibj/RihpfjbT5PA7YRYFBiOv3WyBYPpSgVOI42I fkirTk85+9im9Uf6iyqRneMI1CoiEjNyhErL6M3Gc1PDe+L2IqUciWiaYUMecKrwhk3v +SZw== X-Gm-Message-State: ANoB5pkPOYxAe4MQxgfCLUim+SBc4i/Y4wnSIK1SoZ4AE3rSAlGs25Yf Cfn0IKS5PpV/oIG1BefAT08= X-Google-Smtp-Source: AA0mqf7FHI+JL6d79Kz4pxCiByfrpO9kwRHNkZWuvyFgjK8c0Wpteg0xGge3cCSbQTtVeN2oevDkzA== X-Received: by 2002:a17:907:9555:b0:7ae:5471:379c with SMTP id ex21-20020a170907955500b007ae5471379cmr12201744ejc.123.1667854939386; Mon, 07 Nov 2022 13:02:19 -0800 (PST) Received: from kista.localdomain (82-149-19-102.dynamic.telemach.net. [82.149.19.102]) by smtp.gmail.com with ESMTPSA id k18-20020a05640212d200b0044ef2ac2650sm4638472edx.90.2022.11.07.13.02.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 13:02:19 -0800 (PST) From: Jernej Skrabec To: mchehab@kernel.org, hverkuil-cisco@xs4all.nl Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, wens@csie.org, samuel@sholland.org, linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Jernej Skrabec , Rob Herring Subject: [PATCH v2 1/3] media: dt-bindings: media: Add Allwinner H6 Deinterlace binding Date: Mon, 7 Nov 2022 22:02:06 +0100 Message-Id: <20221107210208.284261-2-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221107210208.284261-1-jernej.skrabec@gmail.com> References: <20221107210208.284261-1-jernej.skrabec@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221107_130229_103115_673C83A1 X-CRM114-Status: GOOD ( 12.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Allwinner H6 Deinterlace core is used for deinterlacing interlaced video content. Reviewed-by: Rob Herring Reviewed-by: Samuel Holland Signed-off-by: Jernej Skrabec --- .../allwinner,sun50i-h6-deinterlace.yaml | 74 +++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/allwinner,sun50i-h6-deinterlace.yaml diff --git a/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-deinterlace.yaml b/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-deinterlace.yaml new file mode 100644 index 000000000000..521f58559444 --- /dev/null +++ b/Documentation/devicetree/bindings/media/allwinner,sun50i-h6-deinterlace.yaml @@ -0,0 +1,74 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/media/allwinner,sun50i-h6-deinterlace.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Allwinner H6 Deinterlace + +maintainers: + - Jernej Skrabec + - Chen-Yu Tsai + - Samuel Holland + +description: |- + The Allwinner H6 has a deinterlace core used for deinterlacing + interlaced video content. + +properties: + compatible: + const: allwinner,sun50i-h6-deinterlace + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + clocks: + items: + - description: Deinterlace interface clock + - description: Deinterlace module clock + - description: Deinterlace DRAM clock + + clock-names: + items: + - const: bus + - const: mod + - const: ram + + resets: + maxItems: 1 + + iommus: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + - clocks + - clock-names + - resets + +additionalProperties: false + +examples: + - | + #include + #include + #include + + deinterlace@1420000 { + compatible = "allwinner,sun50i-h6-deinterlace"; + reg = <0x01420000 0x2000>; + clocks = <&ccu CLK_BUS_DEINTERLACE>, + <&ccu CLK_DEINTERLACE>, + <&ccu CLK_MBUS_DEINTERLACE>; + clock-names = "bus", "mod", "ram"; + resets = <&ccu RST_BUS_DEINTERLACE>; + interrupts = ; + iommus = <&iommu 2>; + }; + +...