Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp1838209rwl; Fri, 4 Nov 2022 20:49:31 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6UUWF/66a87+iMQVUOtVeJMjKnMJLPc2wLJX4aR7GK+P+V+nKGBIa88aUO/M0nPSa6a8lD X-Received: by 2002:a17:906:58c9:b0:7a7:dcba:a987 with SMTP id e9-20020a17090658c900b007a7dcbaa987mr37203809ejs.88.1667620170950; Fri, 04 Nov 2022 20:49:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667620170; cv=none; d=google.com; s=arc-20160816; b=E1ZresP9RHQlY/Id6HPX766Dt1zXmA9V4DfZ+KKEM4MWz84if6jEj1pj/rOjnP6khO Nej58nS8Gk3EiXD5WWN+44gqnGE6riR64t0jffCGlB88+UjtX8IlxU2/u7TWWrE0Paz2 p6nNXNHLBXVsJCquMkw9Bj5DHaCpBVA8NjZum4fPYJYBjHknD0ro97v3lk+QnS/zWYhm RqScSv1AMJj70PQSJh3PitZHQZ1kvDcygbC7VfuSIC7QxJca495X9TguokvK/GAJN5zj kqd/0EfPSrtLB+XKlxxP1Xo4ZS/Y9r2MW51YNce7fcPdmLLKQLaVJ50x6EBWjYWjLoHW rX7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:subject :from:references:cc:to:content-language:user-agent:mime-version:date :message-id:feedback-id:dkim-signature:dkim-signature; bh=GTr14r/DVhxNa3bUaiw/EiUiPI9nxDfEqOF6MtdTq9k=; b=0jKTzxxi2tdv540BQQ4B3TIr28SjlfcpWRXUBhUYzWfbRgUa/S5rrXpa3AlcBgHEZP /NJopWTeJokRdMSM4drs4PssF8RYSHW+A77gcFD+qk/3tYvEXP++v03TEvRBqmwSmqMc 8Aw3dhv2ymbX7cIxWTtnITBhmjmpDkIwQc9lztr4/1olKUc45qOJnPyFHhrc8aPP0lvf YOu9V1nk4Zs1hzkdqWyfJgOi88xmIP06rVMGify2xuQLT8I3JXW8ns1dbkwhyYcgs9/5 R/Q/pSnSBBlbCIzU2VwmMimFmoag8VL05h9k9N3e5y/Q8l1pnRs/0ZHNuo1mjEC3OwxQ D0nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm1 header.b=W++oHusb; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=dew4Fdx5; 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=NONE dis=NONE) header.from=sholland.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sd18-20020a1709076e1200b007ade14a74a7si1284075ejc.90.2022.11.04.20.49.07; Fri, 04 Nov 2022 20:49:30 -0700 (PDT) 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=@sholland.org header.s=fm1 header.b=W++oHusb; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=dew4Fdx5; 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=NONE dis=NONE) header.from=sholland.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229461AbiKEDB3 (ORCPT + 97 others); Fri, 4 Nov 2022 23:01:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229581AbiKEDBY (ORCPT ); Fri, 4 Nov 2022 23:01:24 -0400 Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8A154298A; Fri, 4 Nov 2022 20:01:23 -0700 (PDT) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 7FC5E3200495; Fri, 4 Nov 2022 23:01:22 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Fri, 04 Nov 2022 23:01:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1667617282; x= 1667703682; bh=GTr14r/DVhxNa3bUaiw/EiUiPI9nxDfEqOF6MtdTq9k=; b=W ++oHusbnm1iB8F5T+3bq13FIUYbiULNqX7ToFr6kSTvh7WBzGh3b0A03YvtCZ2VZ w3/jk6QsfSBfEnz62DX0wYKlC+uXVcqWsd74LrQqtD84R8LNFjf+Bql4nlMHfgvL Kv+GYQiBGRUObqT2sOHzXP32/03bOD+2roKYJ6lAWIZjuyD/NPKDpin1KNLBQy+Z 6zWleCcKmefdPKHYcUtzD2bTmwKIbvz/7VVcZ5LuTd17DAB/PlVl1Foh43HVHjn2 WjYQSHF23i/gdtrqbrjlBli0azNCHBOi1JdiQYo2Td3U7wHhhSFvYBXxo8fx7d2s /uzUEU/bU6Wr1i5DGbjYA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1667617282; x= 1667703682; bh=GTr14r/DVhxNa3bUaiw/EiUiPI9nxDfEqOF6MtdTq9k=; b=d ew4Fdx5Q4G3U6oQ5VR92/9j88MiSzaKHhAe5QlwFd6uYv1UlgsOl3KvHd1GySYXc 6euNBbqQEtHV2GWgOkcd07F4dqVECZQUvYgOI35XxgkhmLKAN4HJO0lvbfxci3qG 6AMfQWcMUC9tDYtph+JGqYr1bdzczuq+3gTjRHf8yMo+MkAFcSW/RaS7A6UXRKBp oth5kw2k/qqhceCf3ttBeDtJnTuDQ0sb6qQKmLPy0d7DQoQnRJz/2y2rfjkeWBzn Hjt/fqryBbUldBRXHh2ZCls2L1SlfWF+nUA2LJ1pF53VkxYi8KUPv5kmdqIBoL5J Aha0A+NZrGxLXRX19scbA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrvddvgdehfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefkffggfgfvvehfhffujggtgfesthejredttdefjeenucfhrhhomhepufgrmhhu vghlucfjohhllhgrnhguuceoshgrmhhuvghlsehshhholhhlrghnugdrohhrgheqnecugg ftrfgrthhtvghrnhepjefgfffhudejfedtuedugeeutdetgfeiteffffehjeeugfeuvdeh jeetfedtffdtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshgrmhhuvghlsehshhholhhlrghnugdrohhrgh X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 4 Nov 2022 23:01:19 -0400 (EDT) Message-ID: Date: Fri, 4 Nov 2022 22:01:18 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux ppc64le; rv:102.0) Gecko/20100101 Thunderbird/102.3.3 Content-Language: en-US To: Jernej Skrabec , mchehab@kernel.org, hverkuil-cisco@xs4all.nl Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, wens@csie.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 References: <20221101123201.3021129-1-jernej.skrabec@gmail.com> <20221101123201.3021129-4-jernej.skrabec@gmail.com> From: Samuel Holland Subject: Re: [PATCH 3/3] arm64: dts: allwinner: h6: Add deinterlace node In-Reply-To: <20221101123201.3021129-4-jernej.skrabec@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 On 11/1/22 07:32, Jernej Skrabec wrote: > H6 has deinterlace core. Add a node for it. > > Signed-off-by: Jernej Skrabec Reviewed-by: Samuel Holland > --- > arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > index 0aa6dfafc197..badc6afd6941 100644 > --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi > @@ -154,6 +154,18 @@ mixer0_out_tcon_top_mixer0: endpoint { > }; > }; > > + deinterlace@1420000 { > + compatible = "allwinner,sun50i-h6-deinterlace"; > + reg = <0x01420000 0x2000>; Not that it matters, as long as the range is big enough, but how did you come up with this size? The only thing I find in the vendor devicetrees is 0x20c, the offset of the last documented register. Regards, Samuel > + 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>; > + }; > + > video-codec-g2@1c00000 { > compatible = "allwinner,sun50i-h6-vpu-g2"; > reg = <0x01c00000 0x1000>;