Message ID | 20250110123923.270626-9-szemzo.andras@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org> 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 3EAF3E7719C for <linux-riscv@archiver.kernel.org>; Fri, 10 Jan 2025 13:08:44 +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=GmQbjDBg68+CYGYA3rBLgWU7OxJclrUKgjijgVPlxqs=; b=RCEk1FTsPksN5K MPMqhZp/glE1Etf7JvDWoFpodWSZDq+/e59EdvZDwm0sSTWrGZTuO8q3hgtPxP1hU8M0v+5TMG/QV MjqL9yCr5yZVFWldB6q/Jdahmd/qApH3oOiLbUVzGHm5D4+JcMSjAmp6ABS3wwutveECCFxap79FA LkkM+ynJGuBO5D+Lee9g7pAqAxMQHvFAbb+CFbv8XRJBLPeKsShFyCmkjaT7W22Gz0acQKm6LNXhe ZPqC099iA/xLqrS8bHMxJOgNR2x5T0Wg52iHCmVz/Kq39SlLjIhRWNN6z4/Wbsj+Eznt1/Hbzp987 FG54f8vbmQrnNk/IotkQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tWEkg-0000000FPcg-2XAN; Fri, 10 Jan 2025 13:08:38 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tWEIn-0000000FJEO-19Gn; Fri, 10 Jan 2025 12:39:50 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-4363ae65100so21492185e9.0; Fri, 10 Jan 2025 04:39:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736512788; x=1737117588; darn=lists.infradead.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=ZEOAzVx6WPB9stA5mr4n7x/fL+LclH0gvOV71KsByXY=; b=MkVzUmFlOylRfVQpI1DSd9QfkWNcntyfWQ2sVOej1eClb6kMPn/DjvOZ8xG8uVYke4 HL01U22A8jX+SmQnTQZJEhZnp67jMlyHnUW3ZbyywZ+/FBKADzK3Ir1EL5phX+zi6DQ1 fxKRkMs/KmBiCEJom/ww3WZ9IAKoMDDJrNiW92CH9mbXUrIkVn8eparbeQesrfYPcoE9 C90luo+wpF9zaZBOK+SZ4QpO1TiHRB5Ij3SwspGeBMdyc3hNHRiM0RLmPosbA+W61WRE GHIbUp0Uc1lc+ycLIi0IsEPT7fMsEWKLbFCGjUPHa7W1Q/k3AEFVyIOwJ3hesfP0ZISN uBRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736512788; x=1737117588; 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=ZEOAzVx6WPB9stA5mr4n7x/fL+LclH0gvOV71KsByXY=; b=RTUdIEuCiEQR97rMPUyAdHECpm2+MKBLB2OPXAnS/wguG2SRKl/kyQKqNpFQbjYjpY dEaDcaxVXyKPTfg61GEg2zPD+kRMdBTxMSRC3QqUTchenWkDNKTIfUSvkIN8+oShY0rQ SDLcB8i6KAllcdtksLmAKYPRfH8MgSQDVfMsBaRswDhSoqoNYgbGFJkD9CObHAXGq03d X0fxgCcFh33o6bA4DbeEmRg9ggHrgL83YQYpTRkc8heNHaoF5h552QLsoKJfMKFfTEII yIxhM6jgW1/GlndafDkKT71ZJXRuVo/kGh6cZyJxdLZn2g8XH2rgEfi9VWa8Gb4FquoK NL2A== X-Forwarded-Encrypted: i=1; AJvYcCUUqTGGSbVoxx7dnFj65XORj8xEjk5IZN96PyzaAnaDm69IuIiLZ+uxARjS8cB5K3s7s2E1l/eFbP1J@lists.infradead.org, AJvYcCVsBcVQiEwxEiYfeP0BY4bWzHnuWM/XJu+OWkoOpKMZG6Bp7HvJ9uMiSDFrXmviVDc3g1yYekxYHDWqKoo/+lrV@lists.infradead.org, AJvYcCW1OPuqCLIhUAcNm6ubeAUGx7qNMdoz3Jps1F9FrsWmJ3LkEzWIIhzm7xC4eOfIrEp9qwZAHpVi+cQjsQ8=@lists.infradead.org X-Gm-Message-State: AOJu0YyeyqP2Si/DgDMKOpqb3vla4iCcYrtGeySPq7WpgsLtEztF2Ihu Fhbv8dst/B2AWISn0wGI7KorRD8XVxYnRpvgoNyvDHzRcsh5/CiB X-Gm-Gg: ASbGncv0ZFXAdmnql3oKH1ckUa+4YnTWXHSxYJrKxssjG/T5K3fB1B85i/hjOHO5tms D9/iJFWNEz4eXOGrIWUYYm11KD7Q/ZdeJ5XkeVVKDPLGqxPGq9lsrR+qMskdiAjV4qzranQ2lXQ Wlg2fFZH1zj2xZN/cgTbQQucHLxp39TomQI1DeQfvGNF61BOaGQJVhksZcQ93qbtSWwXj+Dc0Ny MbKOgnAy0FVKs116AM+c1q+TXHfPJjADVaJukdiTR9fFVrkaO5JEhUdCktfOKFOh3Sgpx3VUz3+ xgi+2OsCYao= X-Google-Smtp-Source: AGHT+IGYtDeMlu8hfZifmTM4bzi5kVdCz0Uy02NYRi086ThdTGE7sBQII/cjdXeOIBug2nPd3a+1Pw== X-Received: by 2002:a05:600c:1c9a:b0:428:d31:ef25 with SMTP id 5b1f17b1804b1-436e26975f1mr107396075e9.12.1736512787861; Fri, 10 Jan 2025 04:39:47 -0800 (PST) Received: from localhost.localdomain (185.174.17.62.zt.hu. [185.174.17.62]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436e2da6401sm86738715e9.2.2025.01.10.04.39.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 04:39:47 -0800 (PST) From: Andras Szemzo <szemzo.andras@gmail.com> To: Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>, Krzysztof Kozlowski <krzk+dt@kernel.org>, Conor Dooley <conor+dt@kernel.org>, Chen-Yu Tsai <wens@csie.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Linus Walleij <linus.walleij@linaro.org>, Philipp Zabel <p.zabel@pengutronix.de>, Maxime Ripard <mripard@kernel.org> Cc: Vinod Koul <vkoul@kernel.org>, Kishon Vijay Abraham I <kishon@kernel.org>, Ulf Hansson <ulf.hansson@linaro.org>, Paul Walmsley <paul.walmsley@sifive.com>, Palmer Dabbelt <palmer@dabbelt.com>, Albert Ou <aou@eecs.berkeley.edu>, =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@baylibre.com>, Florian Fainelli <florian.fainelli@broadcom.com>, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, linux-gpio@vger.kernel.org, linux-pm@vger.kernel.org, linux-riscv@lists.infradead.org Subject: [PATCH 08/12] pmdomain: sunxi: add V853 ppu support Date: Fri, 10 Jan 2025 13:39:19 +0100 Message-Id: <20250110123923.270626-9-szemzo.andras@gmail.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250110123923.270626-1-szemzo.andras@gmail.com> References: <20250110123923.270626-1-szemzo.andras@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250110_043949_307329_3F37E442 X-CRM114-Status: GOOD ( 11.34 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-riscv.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-riscv>, <mailto:linux-riscv-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-riscv/> List-Post: <mailto:linux-riscv@lists.infradead.org> List-Help: <mailto:linux-riscv-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-riscv>, <mailto:linux-riscv-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" <linux-riscv-bounces@lists.infradead.org> Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org |
Series |
Support for Allwinner V853 SoC
|
expand
|
diff --git a/drivers/pmdomain/sunxi/sun20i-ppu.c b/drivers/pmdomain/sunxi/sun20i-ppu.c index 8700f9dd5f75..9f002748d224 100644 --- a/drivers/pmdomain/sunxi/sun20i-ppu.c +++ b/drivers/pmdomain/sunxi/sun20i-ppu.c @@ -182,11 +182,26 @@ static const struct sun20i_ppu_desc sun20i_d1_ppu_desc = { .num_domains = ARRAY_SIZE(sun20i_d1_ppu_pd_names), }; +static const char *const sun8i_v853_ppu_pd_names[] = { + "RISCV", + "NPU", + "VE", +}; + +static const struct sun20i_ppu_desc sun8i_v853_ppu_desc = { + .names = sun8i_v853_ppu_pd_names, + .num_domains = ARRAY_SIZE(sun8i_v853_ppu_pd_names), +}; + static const struct of_device_id sun20i_ppu_of_match[] = { { .compatible = "allwinner,sun20i-d1-ppu", .data = &sun20i_d1_ppu_desc, }, + { + .compatible = "allwinner,sun8i-v853-ppu", + .data = &sun8i_v853_ppu_desc, + }, { } }; MODULE_DEVICE_TABLE(of, sun20i_ppu_of_match);
V853 has a similar ppu like Allwinner D1, add compatible and the available pd names. Signed-off-by: Andras Szemzo <szemzo.andras@gmail.com> --- drivers/pmdomain/sunxi/sun20i-ppu.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+)