From patchwork Sat Dec 31 16:46:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Holland X-Patchwork-Id: 3437 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3421494wrt; Sat, 31 Dec 2022 08:47:09 -0800 (PST) X-Google-Smtp-Source: AMrXdXvT4DPvX4l3s1ObYIkD/8xj1iwgugIzPwICGgfZpczknq8YSCQIzwW9YrP/CszQKqPf+e0p X-Received: by 2002:a05:6a20:8e0b:b0:ac:2559:35f6 with SMTP id y11-20020a056a208e0b00b000ac255935f6mr56515669pzj.28.1672505229351; Sat, 31 Dec 2022 08:47:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672505229; cv=none; d=google.com; s=arc-20160816; b=y25BAI7hlh8AhSSspusG6yHedsQYSu07cWenyPxi1Q/v45xy3vzVHl50PS9Hf3fJOt AlMjFJLeLzBcHSRAg6HsLag0IBFCCKFbyEsVrLwkwXjaQ4tGABJyxYOwcjtgVxRVYwgU zyEH9wM56gyYE8MH+LK6Q+7KTUANguQWohtGFnz/DCwu36HMMaWkgiB0RgAF9nITUCgd pgnyuJs0XU/4H5SOaH2wjGk2xd7P3os/FoXS12c8GNX+rUD35SNak66lItSF9jJPDIT2 hlOU+onlLFTR7uf3DjFFSbqgV9uH/LxJZiwNCY5S2gGHxo5T2i+kHCmTRYUdczJtGSN8 wn2Q== 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 :message-id:date:subject:cc:to:from:feedback-id:dkim-signature :dkim-signature; bh=IPRSVAlAA4D6HDvNWgLVkLiHQBz7BJqcTy8N5hQX4yE=; b=IkZ/nBOOe3xbecGdCjwMCoU/yYQsSROKXPrJrE2kh81jdVa8gGOu1dRX346uDs8u+x QDxgKfN64TUi/Tg7BYh1e7R0THdwv/Ebrath8Aq3AZ3fgCY8MTpS5HTNSLhFyS6I62wX lGGhiFSpewU49hueNonk9MiL7MFKAg5+25GLd2rjFQ1CoB3SLT4TizeCPCgg67kbmMd7 043Aho7KySpVzZFa1WY39SOWuSi2DkyUwRndyj7kcPRnshLb+OJaQfDmvDQMPXDxqkKM RIln01j/G6GW9nqze4sUwuZUMoeFk2sRE+JHUekwGtsqctQgUJv43J0kOY4FHD8lTU+8 Y9Zg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sholland.org header.s=fm3 header.b=IOjIQ46S; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=X4sdFJUv; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k12-20020a056a00168c00b005812d5a3f7csi10350192pfc.339.2022.12.31.08.46.57; Sat, 31 Dec 2022 08:47:09 -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=@sholland.org header.s=fm3 header.b=IOjIQ46S; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=X4sdFJUv; 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 S232025AbiLaQqf (ORCPT + 99 others); Sat, 31 Dec 2022 11:46:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229595AbiLaQqd (ORCPT ); Sat, 31 Dec 2022 11:46:33 -0500 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7FF072CB; Sat, 31 Dec 2022 08:46:31 -0800 (PST) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E9F6B5C009F; Sat, 31 Dec 2022 11:46:30 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 31 Dec 2022 11:46:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sholland.org; h= cc:cc:content-transfer-encoding:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to; s=fm3; t=1672505190; x=1672591590; bh=IPRSVAlAA4D6HDvNWgLVkLiHQ Bz7BJqcTy8N5hQX4yE=; b=IOjIQ46SoPZa4vkAaoxXi8FLpSzKMEv0GvyCfxttY uXLvl8/ko1QT8vXUHgi2I2FTP+nHhdOWYCsLe2XxzPuzWNDR2B2MlG5w4FixZ6Rr 0gVDT2bjrGtXIZl3PVmi5TIpKoNCP7XhiGfOuo1JEwUvsdopfe6iVpfBbr8zwedG eyO1vVFxdZa4iw4qmckC4MM5tho00q7X0dzcSOvDbpnVQ79gpwJ7D48BMoVRrfsD jK1w5YMH91pgxG54lq2b9X9r+oFqdkfEcM7shrEIP8oAoRUJTx2DXOzGt2hYYk6O KwAcyBs/UNk0/+r+ykgMYZ3oCi5tCFYmMmk+2kX0lIUKg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1672505190; x=1672591590; bh=IPRSVAlAA4D6HDvNWgLVkLiHQBz7BJqcTy8 N5hQX4yE=; b=X4sdFJUvDr8NMUsMd3IzTLkUDUtLV0+w4ipujJE78crDQ18stYm BFRoY3S/lbDaFFUbr/YhGGVNbPsFhaz5KjXedOIkWgF/pE6StKyY0URONg3Ll/ad zNnqOLhmFCDY8nLbreHEvEZar8DZk+2dNnnKn/p3+O725QOErDlhn8TdIBXHoATt NAg0KzasRB5N4Nys6iV3ZlNqZ3RrJknMQmJZ5Hc1I4cGgs98/fIuTVS40eRQbQ3D iWgyFx8IyXu21GcgRgPgvcy2YQy6Y4FvqqVusXNyl4rFHytPCl5LX41X/Qd+AW0h /ppdaTbhNXIx8uIgjuccsnoDvQDDrllK01Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieekgdeludcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvfevufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefurghmuhgvlhcu jfholhhlrghnugcuoehsrghmuhgvlhesshhhohhllhgrnhgurdhorhhgqeenucggtffrrg htthgvrhhnpeekveelhfejueelleetvdejvdeffeetgeelheeujeffhefgffefkeehhffh keekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hsrghmuhgvlhesshhhohhllhgrnhgurdhorhhg X-ME-Proxy: Feedback-ID: i0ad843c9:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 31 Dec 2022 11:46:28 -0500 (EST) From: Samuel Holland To: Chen-Yu Tsai , Jernej Skrabec , Paul Kocialkowski , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski Cc: Samuel Holland , Albert Ou , Conor Dooley , Greg Kroah-Hartman , Maxime Ripard , Palmer Dabbelt , Paul Walmsley , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-riscv@lists.infradead.org, linux-staging@lists.linux.dev, linux-sunxi@lists.linux.dev Subject: [PATCH 0/4] Allwinner D1 video engine support Date: Sat, 31 Dec 2022 10:46:23 -0600 Message-Id: <20221231164628.19688-1-samuel@sholland.org> X-Mailer: git-send-email 2.37.4 MIME-Version: 1.0 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1753748843452497747?= X-GMAIL-MSGID: =?utf-8?q?1753748843452497747?= This series finishes adding Cedrus support for Allwinner D1. I had tested the hardware and documented the compatible string a while back, but at the time I had a dummy SRAM section in the devicetree. Further testing shows that there is no switchable SRAM section -- there is no need for it, I was unable to guess the address, and the usual bits in the SRAM controller register have no effect on the video engine. So that needs to be made optional in the binding and driver. With that done, the node can be added to the devicetree. Samuel Holland (4): media: dt-bindings: cedrus: Allow power domain references media: dt-bindings: cedrus: Make allwinner,sram optional media: cedrus: Make SRAM section claiming optional riscv: dts: allwinner: d1: Add video engine node .../media/allwinner,sun4i-a10-video-engine.yaml | 4 +++- arch/riscv/boot/dts/allwinner/sunxi-d1s-t113.dtsi | 11 +++++++++++ drivers/staging/media/sunxi/cedrus/cedrus_hw.c | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-)