From patchwork Tue Nov 1 12:31:59 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: 13026930 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 D533EFA373D for ; Tue, 1 Nov 2022 12:33:34 +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=MtJRRxC80iuahSgtHahpHz/hmJvDp237SGdXB03nco8=; b=GzRBYgcTprBiOf rdMJem63xt3XD7oGEf2EUjVrZroBPGFXCf7+x5kh8Rlt+x59ZvJA8bWqoaS9Ybw1Pzjc7O60TC5Zi cwNhBB1iAP4fF/rz8fVE9Iy9IfmLdgEcpSWymnxyyxBF1amI0x9PL+XA319njHtYGx/wpw2UIEqhR yWD7+oo+zCJwlsAgH/LyI0Yhqc2C2g8WDAiyL4HlT0Ey9LxmZYSDJ+N764Ri26bQu6bpksX2ODgpN CXhtWamqK5b/T7a4Lh4wT7y9MQLYP74f+tQ7c+2bHZOOt8BQFDccPipP8eKo7WkgoxcQ2+HeYv7gY HEd0KwLPN1vlPiZFq5kA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1opqRb-0052nX-NK; Tue, 01 Nov 2022 12:32:39 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1opqRR-0052gv-6T for linux-arm-kernel@lists.infradead.org; Tue, 01 Nov 2022 12:32:31 +0000 Received: by mail-wr1-x433.google.com with SMTP id g12so19885658wrs.10 for ; Tue, 01 Nov 2022 05:32:21 -0700 (PDT) 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=EcHdGYuE9xm44RA5FHTYXcIEnNYvo39HlseQC/d3is4=; b=AVe0oNCbe6mj4a4F33eNcXgrCUocwQZLmr1c6mDX7/sBmRIcwJPw4QLcCOe/Uoiw2k H+rs0Azx4DLe2TFbfMqdnK7ZbW6ZOMZtsgEKFv8UqlyAgu4FKqi9AGFDG0IjoNqKghDh d7TpA2LURiajbVKMlYKTn3rd6s27u9+Vha/aZD3h5QXAUVNi8ksd1qa92BaYG2Mf9Nn3 nAMMuCUs1RtW/ZJG70JcVJohoKkFpegRJYzxX0GeMu1dAIoukRY7acBlNkzDR/eRbEMo YUHMfHddIAv41tu0tpcTpuuk8Q4XI/Vm/PX39pHv/jSI79iTuvJtTUcFr2M6FWWFdrHE ljVA== 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=EcHdGYuE9xm44RA5FHTYXcIEnNYvo39HlseQC/d3is4=; b=vexgutAQSm9Rj2IT+vpV5JS2s17gBPcG5NJsfHdHUZNu+6Vt5TbHDm/brvHGO4/UEF RYjHz1EvNer0fmiVML328ELWtN08M5JFNKj83WPC26xrlvL7/sPZhU4yIyI23KooQxkF SOWNZh3BJfvVa0ronOhrhE4sT0scNEhSMpr0UaIewOQZSelqGCUsHmHIVLLP1clQFmYC fwILaosxFdrwywPgHEIXHjBDv+jhBB2z0LC8SVMCjtulxZDItAXqSXE8JUmxLONVHSnr eDM9hidgbTX5Lmz1OEVeDGAuNn9M1MvpBtpwE7tg67uUO3+qkXWhEatgc/Q9j4nyawPV yKCQ== X-Gm-Message-State: ACrzQf2mtPYwUZPjaLIyzYlmw8ManOz1SKTg9tdiIdTMr+eATM6UONbf MYAaHLOrtNIiS3Of9nWAnYg= X-Google-Smtp-Source: AMsMyM4t/UaZ8R5H9R4/LQiV313FVGfPrVoFw0WvzFjQKUmRhgXf8pUy7MadGrLlFAhi+k7Oct/KsQ== X-Received: by 2002:a05:6000:1a85:b0:230:f238:a48c with SMTP id f5-20020a0560001a8500b00230f238a48cmr11075518wry.92.1667305940226; Tue, 01 Nov 2022 05:32:20 -0700 (PDT) Received: from kista.localdomain (82-149-19-102.dynamic.telemach.net. [82.149.19.102]) by smtp.gmail.com with ESMTPSA id f18-20020a1cc912000000b003cf5ec79bf9sm10404176wmb.40.2022.11.01.05.32.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Nov 2022 05:32:19 -0700 (PDT) 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 Subject: [PATCH 1/3] media: dt-bindings: media: Add Allwinner H6 Deinterlace binding Date: Tue, 1 Nov 2022 13:31:59 +0100 Message-Id: <20221101123201.3021129-2-jernej.skrabec@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221101123201.3021129-1-jernej.skrabec@gmail.com> References: <20221101123201.3021129-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-20221101_053229_260743_219810CD X-CRM114-Status: GOOD ( 13.41 ) 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. Signed-off-by: Jernej Skrabec Reviewed-by: Rob Herring Reviewed-by: Samuel Holland --- .../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>; + }; + +...