Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp2422308rwb; Mon, 7 Nov 2022 13:07:19 -0800 (PST) X-Google-Smtp-Source: AMsMyM5Sgte6iSY4cwF2/fOh3Gr9bWg0IOW5hkG8Z5cZOoha4qUiYPpfwNuAwRvufdNvHgwmIuN1 X-Received: by 2002:a17:903:1d0:b0:187:1305:39d5 with SMTP id e16-20020a17090301d000b00187130539d5mr46651863plh.93.1667855239364; Mon, 07 Nov 2022 13:07:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667855239; cv=none; d=google.com; s=arc-20160816; b=ZmbBkqBVin8rSn2fVFUsleFpp/Bte94xlVf7mwCrmTKNw42hCJkVKc+uKx0o8M8qRk nsqpdD5mgOlZqc93lzDy2Oe4eXk20kOgbZiloHG2sS39kFXsRV1jbF1n6y4MR3qZBDPZ FpHLx9i4tYrl5/p7rZP3vL6F3TcZSe33fRaYeyR3m5gcKDat8IdMVN3m28MmTRQjjqyj sZ7nmB+DOS3piX+CWe25keOXIBCJD6q2AWB/DmSVKEZI8eeEvlOwOMNYSDP+Dh3tvbTg SegwnuWJoBR+7+okF1jFWnD0w3nmKqEq4ru5jCAUosirD9K0ZgK/mmt2wWXizNT+Xs+J Cf7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=A7zn+Srb2QubHA223IZ7ZOfOFfRooqz/wCN6m6PiwoE=; b=D+HMJLmg+gdeM+VVQqzEU7llzVm/ZTDPfs561Mp+mJa3su4dUd+SMkcS461amCgbk/ G4TpQYMpAgdgHKQsB5NY2+ZypGn3EVaTBiPMeidXv1TxZN87WwhXzJGPElgrWpvtDHMV Qwq249JJHBnGoyIIMMLlgKzwFd6+xJYGu8r3qRQQnw65M7Rda/4b0m4bayGeUISr+nAE gz1mDivYe0bX9+U2UFXYUK0W1TjA6nUAq8LTGZkGCEpDfC9demqssY1kZd9YLsFZ1eAs DcA78Kb0OZiVMPUcOWBleBNLlbQEYHrILiqQ3teTLn7S4RfBfgaSPkYwKaXpWJc55sd6 lO4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=B7MIzOBu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a17090aa00c00b002036f0a953esi10633287pjp.88.2022.11.07.13.07.06; Mon, 07 Nov 2022 13:07:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=B7MIzOBu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233145AbiKGVC0 (ORCPT + 92 others); Mon, 7 Nov 2022 16:02:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233054AbiKGVCW (ORCPT ); Mon, 7 Nov 2022 16:02:22 -0500 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C07F664F4; Mon, 7 Nov 2022 13:02:20 -0800 (PST) Received: by mail-ej1-x62f.google.com with SMTP id d26so33436795eje.10; 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=y3qp052ALJGf9E2vAFDaQ5GgZ4naO3SZ8OtXwq4O0fe6vFCPf2jRDUF+G3khJMVoEF rbJb4ov6Unr98EmGXbzX0nr7iknBSTUCV0yVfJYbBRYBaupkl269/heB95zFDxXlvb3+ 57Xgk5mFKGKXuajVi8rc/Uwqg4X2nZtqKufSpdG2nOplFiCwd7WYPVgGvOI2RV13ac0L 4w13BGhFn/NmerDAgz3PTkU92rKwlQddWjzUfeF1bHEdGAueFIMhGthLWRmiOgfELq/G UlUSXiPJBL/cDfQKY2WC5OmRNzRaHMWoHz8Mcj7+bKYQErijxxmpXekGp0A4vWYgurYI lWtQ== X-Gm-Message-State: ANoB5pm7JQH9ORaz1waVH2Anv2oi+Odgz+pDTDlK+ojhnLB+CRfOOU1G h3Ot+zVmFixfg+IzVqcSEoo= 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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>; + }; + +... -- 2.38.1