From patchwork Fri Sep 22 06:23:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marvin Lin X-Patchwork-Id: 143433 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp5566555vqi; Fri, 22 Sep 2023 06:18:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF2HPQf+4GG2F6H1UJfmWu3Fv84L28dFVoOvA6mBJWdEbSp3HXSyhuvpG+qv6+kmAUX2NsH X-Received: by 2002:a05:6a20:6a27:b0:152:6b63:f1e7 with SMTP id p39-20020a056a206a2700b001526b63f1e7mr9678922pzk.1.1695388709620; Fri, 22 Sep 2023 06:18:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695388709; cv=none; d=google.com; s=arc-20160816; b=vIj0DFERtpLQJGqUZACgFYzYEJglNQG9gYo+Bm8ktm8QeivzMCDo1RCQoyKvN0K7oF f1K3j2K2eT24IlZ0ww6GP34SuALBvrBtV7d/SuK+Z+k0X+ARqIZVVKbXlVAYvDP+ovmI keLSHbfxiyjmKEINAXfwQSPd0RB9bY3ZDtQ8Z/guKmo42YEdudCKmaU8TzuNvcyj/Is9 teEoNhQ58nNeS3O6S+aN0P3MjkCrWIZgCi+0U2K1lkqOdaIFgKKN5QbOCpwEcXXkAW2J FJGtf2e2fCAeN9nSOJIdmCR47lHIIZrHxGaffvueL/V13u402HarrVbE8/Zc+fEeT5jA vESQ== 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=9Ce8/QAABUl/Q3jFyxxZV+5lP94Ev40T9XLcoA3tCOQ=; fh=RfSP4T/SRZN1UnzrZA8MryqWeGpAu/0o11HYNSBkyrI=; b=G/yG50qWAOm14etZDeDj//QRXPA+QJyZXO7EdCKhm0BUOKsVGArL0A1dyV5vUvc6D6 PnD3sSFfnEAHDBCyHbaQxGRyKHcN2W6bOrh7YIhy/5aIbCKxT6ZGixB+32r5DM1xrcrL eq9HE5J1HhrGIcWTSXUprp/LaH6c1Zs1OnxzZgps/V3MLOeZOWUw+UiHh9t3/Y1e/szo JQRXb7UXh4/bcp6vs5S46zO1NJ3DGjYURPBGwKPemU/Nbr2gSU8N8w5Lvq1ZqobNFbnU QaOsEpIbpJCP4Umdtb+wgPuOnBsqR9xH3a4+6CQmdWViZpPrP/p5ZNS8i344L1gD6cvk FJjQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Zr8rmfwQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id h3-20020a056a00170300b0068fcc67e73asi3851034pfc.18.2023.09.22.06.18.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 06:18:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Zr8rmfwQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 881D983BFC71; Thu, 21 Sep 2023 23:24:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231258AbjIVGYi (ORCPT + 30 others); Fri, 22 Sep 2023 02:24:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231309AbjIVGY0 (ORCPT ); Fri, 22 Sep 2023 02:24:26 -0400 Received: from mail-pg1-x52f.google.com (mail-pg1-x52f.google.com [IPv6:2607:f8b0:4864:20::52f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1401F83; Thu, 21 Sep 2023 23:24:21 -0700 (PDT) Received: by mail-pg1-x52f.google.com with SMTP id 41be03b00d2f7-565e54cb93aso1073814a12.3; Thu, 21 Sep 2023 23:24:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695363860; x=1695968660; darn=vger.kernel.org; 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=9Ce8/QAABUl/Q3jFyxxZV+5lP94Ev40T9XLcoA3tCOQ=; b=Zr8rmfwQhtAqwuH6NnT83eOyxPTYNG4RTX7nsGfLG5zZAG7SoGnr4TV8d5w48c9Bsf 31WrDI7zDMC+N4RhtUrWozXvn61sVzgxdWVYNK9rpDMqvJeBYI7fjFVCOjuz039QfgFe X/nCOkkyVypWgfprc6rYpA03xvOMzIf1448dErgjgfP+iCkCaKgSINK+97PH3IaKE3PH 47NcT01ub6YRuXz3PFg/5V7AviV6gvB5R73YHgmcvuAy/+KgXYF+BR6f6E77EpGGHVXK l0sQ71yjK4LiX0g8mCiBcqyOKinVRUL0MynE9oSmLEUAMc1QYsGe0lKZjlV50UMO8u4k Gvtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695363860; x=1695968660; 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=9Ce8/QAABUl/Q3jFyxxZV+5lP94Ev40T9XLcoA3tCOQ=; b=b0jiUYgGiURnl/GJ93uDq80idUnz0ZhVIrxPV1XvL4TXAOFPijb4QaWDlKOUplk2hx HYZ6QIJG4+Fd8XdJELTc1m3eCmytyYhMKV8vDAsdUM94kC0HfDKbwMZzbLfQ7TfcJmuu ZHfHAus7O/AWuT6ZUL8TneyivbS1/fKVzDJl7HoUWJr/twAdOMutkT8WvTcZx4xBqQNC MhKBDTkBziXqjxINo4jR+oGZP7DedNqlSKtG/2YBTupdCM/lGSy0xCZFsDu+opFjBvwl GGIkxzLo6/qRcHJv22OxJ/eFmBUBnmEwrgoszLtWnAju6Yi+8NJF6SvmF5iXpaD0gpj1 NUjA== X-Gm-Message-State: AOJu0YxLG5XdbHfIK0ZiQUTPDfKzk4NwEWyA72Muqhbwm0OfLQu3kiPS 30spR3yjDRQI/EZnglk4IHc= X-Received: by 2002:a05:6a20:428e:b0:157:b453:dbb9 with SMTP id o14-20020a056a20428e00b00157b453dbb9mr9153065pzj.6.1695363860460; Thu, 21 Sep 2023 23:24:20 -0700 (PDT) Received: from hcdev-d520mt2.. (60-250-192-107.hinet-ip.hinet.net. [60.250.192.107]) by smtp.gmail.com with ESMTPSA id m11-20020a17090ade0b00b00274de7c8aacsm4157417pjv.45.2023.09.21.23.24.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 23:24:20 -0700 (PDT) From: Marvin Lin To: mchehab@kernel.org, hverkuil-cisco@xs4all.nl, avifishman70@gmail.com, tmaimon77@gmail.com, tali.perry1@gmail.com, venture@google.com, yuenn@google.com, benjaminfair@google.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andrzej.p@collabora.com Cc: devicetree@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, kwliu@nuvoton.com, kflin@nuvoton.com, Marvin Lin Subject: [PATCH v16 1/7] ARM: dts: nuvoton: Add node for NPCM VCD and ECE engine Date: Fri, 22 Sep 2023 14:23:59 +0800 Message-Id: <20230922062405.2571850-2-milkfafa@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230922062405.2571850-1-milkfafa@gmail.com> References: <20230922062405.2571850-1-milkfafa@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 21 Sep 2023 23:24:58 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777743911371346579 X-GMAIL-MSGID: 1777743911371346579 Add node for Video Capture/Differentiation Engine (VCD) and Encoding Compression Engine (ECE) present on Nuvoton NPCM SoCs. Tested with Nuvoton NPCM750 evaluation board. Signed-off-by: Marvin Lin --- .../dts/nuvoton/nuvoton-common-npcm7xx.dtsi | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi index 868454ae6bde..e69746948f5e 100644 --- a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi +++ b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi @@ -179,6 +179,24 @@ fiux: spi@fb001000 { status = "disabled"; }; + vcd: vcd@f0810000 { + compatible = "nuvoton,npcm750-vcd"; + reg = <0xf0810000 0x10000>; + interrupts = ; + resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_VCD>; + nuvoton,sysgcr = <&gcr>; + nuvoton,sysgfxi = <&gfxi>; + nuvoton,ece = <&ece>; + status = "disabled"; + }; + + ece: video-codec@f0820000 { + compatible = "nuvoton,npcm750-ece"; + reg = <0xf0820000 0x2000>; + resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_ECE>; + status = "disabled"; + }; + apb { #address-cells = <1>; #size-cells = <1>; @@ -563,6 +581,11 @@ i2c15: i2c@8f000 { pinctrl-0 = <&smb15_pins>; status = "disabled"; }; + + gfxi: gfxi@e000 { + compatible = "nuvoton,npcm750-gfxi", "syscon"; + reg = <0xe000 0x100>; + }; }; };