From patchwork Wed Oct 18 15:33:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13427247 Return-Path: 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 EC0CECDB47E for ; Wed, 18 Oct 2023 15:34:31 +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=zJIEplFrxHLjC4XxXejR+vBKKFmEz3QCJcINDdoyKHo=; b=aIipXqUXxkDJXn ei7/UDFInXdNI1X5lnAUYO7med4aTYLR521V8s9ftF5ZdXwlhBEwqXyFG3NZCQvr9WLf1MDkHk9Vy rmuj7dmEHVEYFcb/25BzL3v2k3D9mWS4cfr+/DeXylIrwhI1t9tANOry2lXYEE9e56k1S0NMkFZO2 IPXRTE730fye6BG19pBvZ2kP+hDvvSjQCNX6SN/1RVNn/HiSJJejIpsgpmP+8FfXpjLQQpgDw123d Y660Z7PfLySP+CEz9nf//yS7j1IS2q9OxemajJQ1lpKgBK0UCN0waEQFRuz7G6XE0TNS4qCoSv8IX HorMhxUc7l2xDfJThyBg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qt8Yt-00F3f9-0I; Wed, 18 Oct 2023 15:34:19 +0000 Received: from mail-oo1-xc35.google.com ([2607:f8b0:4864:20::c35]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qt8Yq-00F3eY-1r for linux-rockchip@lists.infradead.org; Wed, 18 Oct 2023 15:34:17 +0000 Received: by mail-oo1-xc35.google.com with SMTP id 006d021491bc7-57de6e502fcso4041117eaf.3 for ; Wed, 18 Oct 2023 08:34:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697643255; x=1698248055; 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=HmlZgOTohheR5Sz3o+FLczWrX2zS7o2K2yAxRk2cDpU=; b=J3lm4qm5oj6BRaEVNmGzvNhWQRk/1nghV/ySFQNK+BpMBc5l6CYao4yD5jSmACNyrB WZpTtPGDnUdtsAl4IJv7SkonEDoV8ssuw7Bb8qCbZo5uAD3ceGbm/hLCJ+HTeLUxPk7q aKkXXfkP7MTS/EpuE4ESwnVbkYy010v2Oje1Ph00+gLF207fKZd5tHKPb8rzZ/VzX9ZC PLVcSbpYeI2AyBwPktAsRVuOaIKqx6147JeSYVjebs8B7kCcIshvslwJ/c/8TzNc6gwd gEwdw9EhnN74yEEDdYmlfOUubO2PXi+z3D3Vn+/DMzUgZFxpm18pR7UBlcc6w2QWjycd W5Dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697643255; x=1698248055; 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=HmlZgOTohheR5Sz3o+FLczWrX2zS7o2K2yAxRk2cDpU=; b=fkaTSORn8UFdOAYMoUCbOpg1g3pyh2ujmJ0824alUoGeiR8+EHUAcClowHRgodLb6X LMWX7uyGEhKFD8xi1vGbn0FA+GPf4ju1GbdrHbz20JZohEiuk+a8G40ODGiukujfQ+qw 4bqguFoKql2hwiJeEfwq623BkgKGTQOGg4e/ByO6m6o293V8v19+UvuTGjxI5YzSuHVb /QvGPCu8ksBUQi4W+dXr6ZAlB42XIOZSoBdQnRpk7odSRfHOQPI3DxxBpYZLJ9HQQAIg JGbodnvfASCZvK1k0oREg8qOVC3r29thwD0j3BTxk5t3OPKlzVTAdfJ62GKdxCFK8TXL TnBw== X-Gm-Message-State: AOJu0Yww8LI+03OOsxnm56bAkZX4nncdaYb7e9VhG4baadaIetpdRtoU oMNkwjbGtDBm5oGWG7tXLchrwMfhfVc= X-Google-Smtp-Source: AGHT+IEVNbZ56UZRmNC6SHChpVibk8/f3CmobKd/aVSmcbaI5+8ojfX7HdJisupGUtNmr2zqNWv3Ug== X-Received: by 2002:a05:6820:200e:b0:571:1fad:ebe0 with SMTP id by14-20020a056820200e00b005711fadebe0mr6705464oob.3.1697643255377; Wed, 18 Oct 2023 08:34:15 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id h16-20020a4ad750000000b00581e090fd1fsm523782oot.8.2023.10.18.08.34.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 08:34:12 -0700 (PDT) From: Chris Morgan To: linux-rockchip@lists.infradead.org Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, sboyd@kernel.org, mturquette@baylibre.com, heiko@sntech.de, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, Chris Morgan Subject: [PATCH 1/3] clk: rockchip: rk3568: Add PLL rate for 292.5MHz Date: Wed, 18 Oct 2023 10:33:55 -0500 Message-Id: <20231018153357.343142-2-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231018153357.343142-1-macroalpha82@gmail.com> References: <20231018153357.343142-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231018_083416_613251_2CD38638 X-CRM114-Status: UNSURE ( 9.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Chris Morgan Add support for a PLL rate of 292.5MHz so that the Powkiddy RGB30 panel can run at a requested 60hz (59.96, close enough). I have confirmed this rate fits with all the constraints listed in the TRM for the VPLL (as an integer PLL) in Part 1 "Chapter 2 Clock & Reset Unit (CRU)." Signed-off-by: Chris Morgan --- drivers/clk/rockchip/clk-rk3568.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/rockchip/clk-rk3568.c b/drivers/clk/rockchip/clk-rk3568.c index 16dabe2b9c47..db713e1526cd 100644 --- a/drivers/clk/rockchip/clk-rk3568.c +++ b/drivers/clk/rockchip/clk-rk3568.c @@ -72,6 +72,7 @@ static struct rockchip_pll_rate_table rk3568_pll_rates[] = { RK3036_PLL_RATE(408000000, 1, 68, 2, 2, 1, 0), RK3036_PLL_RATE(312000000, 1, 78, 6, 1, 1, 0), RK3036_PLL_RATE(297000000, 2, 99, 4, 1, 1, 0), + RK3036_PLL_RATE(292500000, 1, 195, 4, 4, 1, 0), RK3036_PLL_RATE(241500000, 2, 161, 4, 2, 1, 0), RK3036_PLL_RATE(216000000, 1, 72, 4, 2, 1, 0), RK3036_PLL_RATE(200000000, 1, 100, 3, 4, 1, 0), From patchwork Wed Oct 18 15:33:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13427249 Return-Path: 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 17FCDCDB47E for ; Wed, 18 Oct 2023 15:34:35 +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=GaG/jDUc2gym+kcJ2ciIjTDiwc/856eAS53Q730MVUc=; b=ewBtqY0TK5rhkl Sl8ZDgqxecAYkaLYbH2YxpVOMJCRo6XxhMqX+hasD7hJZG/6OIJ0o4ArWVbJ7ISWGm+6dg/hYqqss zUp2sP74XCebfIjtCWzUGbyTvChLMnLoNKVyHKGscEipDrOENIH1ljeInoi3vAjhK9QNnLImu+HDW QigEShj9m3Dk3wjxcnDGoADscpZ3Ii8M1B7x4n2b4mqNYGYouX+5J4J9v/3y1n3xo8YJnhHVTNqiX ePiebWwL8YIwt6PpDM07pKUxqcdyDKDt9QQnPM+ZZN9xCX0D8+vA+5xAJhHR2lakArevBomA0k3Bl zTWZ76FO/+3f6oFye0EQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qt8Yw-00F3gA-1q; Wed, 18 Oct 2023 15:34:22 +0000 Received: from mail-oo1-xc36.google.com ([2607:f8b0:4864:20::c36]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qt8Yu-00F3fE-1b for linux-rockchip@lists.infradead.org; Wed, 18 Oct 2023 15:34:21 +0000 Received: by mail-oo1-xc36.google.com with SMTP id 006d021491bc7-57babef76deso3854521eaf.0 for ; Wed, 18 Oct 2023 08:34:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697643259; x=1698248059; 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=/KzXz3q7UxD8yzrIaZqXLlJtzg+A1VIwmVfWbANSNxk=; b=JKqxv6s+ipXWHEOZmnRpUzip4uR8hVZQxImZ6T9BZ9hO3W2byjSFzfWyr9cTOnRMha nfTdy+0T0S9q1ZtsglkLievfGuYZ3pCVvZQZA5r8uaM9xJCJX9Ix3/jp/CR4EcRGvoVb /lhJR97pQKKH8SWTYVXua1IMZmkOWkJJMzOmfZ1BpINfluNctpljM9UOHVh7Bk8dlusK AAO+wOIxYTbjtWRM87+dVW2JqtSDVxJVipGWTeJIrAJjfLmpzFIqFAr+CeIp44xaUh0/ nIvV2YwyL9J89VgBgNqK7MSy9sYeEjtABRDCOe5vlN2Zo8CVqS5OKDkdWaLaBy9KXRcC 2T6A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697643259; x=1698248059; 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=/KzXz3q7UxD8yzrIaZqXLlJtzg+A1VIwmVfWbANSNxk=; b=kIcHijaQqEDxgOeOYmaIdirz/nIFS3f6K2zrdJa72QJqTDibEgVKuIJBnGx1raRA/T 6covvx9UtV/4v7w82nxPbujHqE/sQuComeMhq9M+RRHlZ+hfMEdBY4X0jBiyDVE7zN9L milAGfu4eIAmeffzodG+skEbcrF+UW1vBhrUkXxtrJyWQ4VYvVcG/fIvfeclNfSqyFpI HCi/9O081AiI3jJ1Bf+LltyHWy1q8zLPQ6JRwjmr6Z87Jd8LtHy/jgJbvRVo0dLZi4y5 HS4MW7RLxJtzNTPKuetw2Z9nbgM7Dp7ZT2WxPr42tJKj5/zzCorZ7+bmO9ft9IKaHw5X j2VA== X-Gm-Message-State: AOJu0Ywvb1JCbqS52UeqK+ODv7aarmIoYbfl5aA5138Oy0pdKagtmQgg Jt2ygJXNYXMbSJDwLOk1XZyoAT1DHeI= X-Google-Smtp-Source: AGHT+IEL1iEm/4noFAPKBHY/aZb1xaW7voyUJp5gaU5xNsKksALHSoYPn96HXOSnmMvff6IagNC7tg== X-Received: by 2002:a4a:4304:0:b0:581:3e09:2623 with SMTP id k4-20020a4a4304000000b005813e092623mr5207123ooj.2.1697643259195; Wed, 18 Oct 2023 08:34:19 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id h16-20020a4ad750000000b00581e090fd1fsm523782oot.8.2023.10.18.08.34.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 08:34:17 -0700 (PDT) From: Chris Morgan To: linux-rockchip@lists.infradead.org Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, sboyd@kernel.org, mturquette@baylibre.com, heiko@sntech.de, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, Chris Morgan Subject: [PATCH 2/3] arm64: dts: rockchip: Update VPLL Frequency for RGB30 Date: Wed, 18 Oct 2023 10:33:56 -0500 Message-Id: <20231018153357.343142-3-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231018153357.343142-1-macroalpha82@gmail.com> References: <20231018153357.343142-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231018_083420_536877_2C057743 X-CRM114-Status: GOOD ( 11.69 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Chris Morgan Set the VPLL frequency for the RGB30 to 292.5MHz to support running the 720x720 display panel at 59.97hz. Without this change, the panel runs at 59.08hz. Signed-off-by: Chris Morgan --- arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts index c7828c99a1bb..3ebc21608213 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts @@ -68,7 +68,7 @@ &cru { assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>, <&pmucru PLL_PPLL>, <&cru PLL_VPLL>; assigned-clock-rates = <32768>, <1200000000>, - <200000000>, <108000000>; + <200000000>, <292500000>; }; &gpio_keys_control { From patchwork Wed Oct 18 15:33:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Morgan X-Patchwork-Id: 13427250 Return-Path: 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 28510C41513 for ; Wed, 18 Oct 2023 15:34:35 +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=KkZXT2FgLvoe8BGwz3y8XT+JvrgRtSFcS4k7Qrr4I9w=; b=FBgNBEPuGH8ByX A/TtKoYls9+LMpC2whLUs+3LVyCLW/jBhnQf2lTF71ccDjhRIHZ2IU8uqFbQCskJvvxNGuBE4nEcz yuyFGz1bzAEESMBeJ6MLFya41xVLUWHhBSTw+1zCw90PJGIcLed/k6ew2MO22+NJ1msEvYAyANn5x NLBI4Kx9p9Sth7GtR1eet84rS3vli16r0x1padXCcYiULsShOe3Luh3tGb4sRi6GmGyEhtXUQnF7v C3RYNjqlVTlM0C4EvAzNJxtgZNg6vMijVR85YnzQavGZ2zt+0o9KCUBsycM/WeJZjoC5OCFydL6ab sFRvD34t4KcVqpPHhJDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qt8Z1-00F3i1-0G; Wed, 18 Oct 2023 15:34:27 +0000 Received: from mail-oo1-xc2f.google.com ([2607:f8b0:4864:20::c2f]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qt8Yy-00F3gq-2n for linux-rockchip@lists.infradead.org; Wed, 18 Oct 2023 15:34:26 +0000 Received: by mail-oo1-xc2f.google.com with SMTP id 006d021491bc7-57b5f0d658dso4061832eaf.0 for ; Wed, 18 Oct 2023 08:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697643263; x=1698248063; 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=jIiKTx5IOMw+xS6ILlA9ImHqJslhy4Q4M/1NT+5NQHI=; b=mHHMIyoWWDWw81Nx8X31Cz/DVCOW2TZe/uze+GM+NHPDfAB/z8EU3i/+2+CSJZKp89 gxsm9JSYMuQi5BW+hWgFjH5Qb3v7Te9kXyYD0u5aJMjqkBGsgs5hQiJYyqvTbkFr1/qJ fvcU+jGa/88UR9dgA9w4beZxdV9TTwxeZzzFCI6rMZMp4C7IkftVNmYebvPp3fNUhrMD pnReVc+jGBno111h9trIq9tb7iZHgYRsvJtr1zxYqk8wgIrf/jSJoOAgcVSEcCy+/MmN DefETHqD7pQT6QBL571wbIwWpud5rHZ2GIjjKyPMS+4YdC2hg4yZ81kzfcisDaau7aLe JMZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697643263; x=1698248063; 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=jIiKTx5IOMw+xS6ILlA9ImHqJslhy4Q4M/1NT+5NQHI=; b=W8WvZSlkBS4obVgGbqVyDMyeB07x/LWzbKfeJYSb7wcJLS3JyhgSMJyPw9X59cYn7y UnrhaAe7w5CRAF8ov84I4VZfZY79seoPx1yz93uwn7zQvXRXgBXG/PIt+rSuarfzO2/Z F+VxdtCBOM/PVEPof1Dav2bOrhLvtByj8A++8GSQ1JWiLsiYAuBDtsGOXHEqKK2t2d6E HMfosQlI/WLTSRMhmWahNuWTj0fM7RlOw1WhNrb0u8CZzBYV/IURLqbt6ty5H03s0aj5 ieEV/wL5+6HKwJus+Jg7QI5UrxpnEA5doeHb9P0dXY1NA7rWp+/ryZRp96XpS/NMhue2 wyoQ== X-Gm-Message-State: AOJu0Yyomwrdxlhl4LZ7lFp9KhVH+UbT7DHME7dG8zYVErkAnPDHvFPv iarbnVUruwEqySvx12QPHLbkJmULVss= X-Google-Smtp-Source: AGHT+IFN49iYKj94sO+Ii7NyZhe0uPOWsh2AzoBd1cwspGvFw5CSngytJLUvZOSbCwldCkXh2Jbjpw== X-Received: by 2002:a4a:bf0b:0:b0:581:ed12:98c6 with SMTP id r11-20020a4abf0b000000b00581ed1298c6mr3410894oop.4.1697643263134; Wed, 18 Oct 2023 08:34:23 -0700 (PDT) Received: from localhost.localdomain ([75.28.21.198]) by smtp.gmail.com with ESMTPSA id h16-20020a4ad750000000b00581e090fd1fsm523782oot.8.2023.10.18.08.34.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 08:34:21 -0700 (PDT) From: Chris Morgan To: linux-rockchip@lists.infradead.org Cc: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, sboyd@kernel.org, mturquette@baylibre.com, heiko@sntech.de, conor+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, Chris Morgan Subject: [PATCH 3/3] arm64: dts: rockchip: Remove UART2 from RGB30 Date: Wed, 18 Oct 2023 10:33:57 -0500 Message-Id: <20231018153357.343142-4-macroalpha82@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231018153357.343142-1-macroalpha82@gmail.com> References: <20231018153357.343142-1-macroalpha82@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231018_083424_903111_8007395B X-CRM114-Status: GOOD ( 10.15 ) X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+linux-rockchip=archiver.kernel.org@lists.infradead.org From: Chris Morgan The Powkiddy RGB30 has no onboard UART header, so remove the reference to it in the device tree. This was left on by mistake in the initial commit. Signed-off-by: Chris Morgan --- arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts index 3ebc21608213..1ead3c5c24b3 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-powkiddy-rgb30.dts @@ -64,6 +64,10 @@ simple-audio-card,cpu { /delete-node/ &adc_keys; +&chosen { + /delete-property/ stdout-path; +}; + &cru { assigned-clocks = <&pmucru CLK_RTC_32K>, <&cru PLL_GPLL>, <&pmucru PLL_PPLL>, <&cru PLL_VPLL>; @@ -149,4 +153,9 @@ rk817_charger: charger { }; }; +/* There is no UART header visible on the board for this device. */ +&uart2 { + status = "disabled"; +}; + /delete-node/ &vibrator;