From patchwork Thu Dec 28 12:58:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13505989 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 BD728C47073 for ; Thu, 28 Dec 2023 12:58:54 +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=UhoB1rG3wjEgEl+G3/bZaHg3RX7HBQaV9QYxJ4SDmZs=; b=PNp4fI4Q8TKSIV wIPk6ajgy0oSffNSuaA+qPGe8LgQRNI9B7oXZ8ZmErVBuWl4d+sbRW+R/Fza0bHbMUPR3B6EM2n/m 1MBzOxXRoE2IFYwighS2fSfunbwSCTuZ94q/aWEfvI7q+kcgdPaDOOIZoMkWFjWC5vsqQKWQt2Z+t Z4wUuRIcu5bOpZ8o+5dnO9eX27RsRmAlnjIuHvHSzxcuxaiccjUKeHd7XRmlUBawQZpXy0Jk4T5WC v91zpfiyDsqg5QZCl27cH7OFl0CrwQbY5TrSFFVWnO4JpnzkDXbvvqDBXvl4SpJdGROt8oK6QPkm1 8wvDrtwBA7mMKzHpvbeg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rIpy2-00Gr5h-0T; Thu, 28 Dec 2023 12:58:30 +0000 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rIpxs-00Gr1E-2t for linux-arm-kernel@lists.infradead.org; Thu, 28 Dec 2023 12:58:22 +0000 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40d5a41143fso20861145e9.3 for ; Thu, 28 Dec 2023 04:58:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703768299; x=1704373099; 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=9P18XFXxLojrY56K1R6dgW5XgUJGd1RI2KgrEMEdbt0=; b=GVDc//7b0PR9IJd24TJqqGWEiQsO6leDs1Ms50pdng7VXa/wXal7C390eJS/NU6nbg MWBIpvFjQJTAaHUJVNFIPP/PYvZgg6b925C36B9NswX4wiJXEGrfJfyCHbPEVOMZ8Rrd SX/HktfJTxVhjLtiEPp2ydFOqLH6FEO+ALFWTajAvY2XfdU648FoGgsMMSUsOYvg6qbv 5LhVjUsjqe/lG/O9J3v4F878C12gRg1sXKYJCIrjzRs6adR6EwHPpxdbZOeEB7A9Aaz1 xE9HxnsbMyrBd1EC3SnXWZMqd1LlR/KwNnEfwXFrXxLY7pbzWcOxgWDqVESbRSJXR+dy KYwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703768299; x=1704373099; 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=9P18XFXxLojrY56K1R6dgW5XgUJGd1RI2KgrEMEdbt0=; b=d2XO19h3HL/S1qOFwTaQEEkpvIQbgdzkWWFrR1CZjEtYoSOIZfjmq/TxWRqq39pMUw g/mdWW/x7m5nkr4UZn0gO+qCxiC+8U+NHehC4X5rSeDhabvtVGSzjL+UVrZ6lbPwgvsg sAu9PrqHSqGIC4LLUEJsH96lxmka1IpZMBPDDGQSWm2AZ1EnHmfdZY8+euetVASwbA6j 7L5ogryfWHZ15suMXSJ50tJCWymRaTSSeNmFs1RnJoXExoeS6MVoSlWcMhtdErhz1NmT wta1ugzOUR+//Klt4fdLlBiICEoLyemYxZPHJNTHg8KXUHFt2YDtuSGYYZDe/eVafUCR AOfg== X-Gm-Message-State: AOJu0Yw33FJGIe3c8KLXpe2ajfwmjz9uByvCN+IBvK8shXtQIyDESkbl 2alO/gGQSnjJmRi0FQRBFeCJlbZyEJay2g== X-Google-Smtp-Source: AGHT+IEhfhBO50ykAwRsA55Z5OQSVWgKhNvX6SqkmYB+7qQHPv4Eq18tKnXzQa7B/fCe5uM8d1mYAg== X-Received: by 2002:a7b:ce98:0:b0:40d:5c58:fd7a with SMTP id q24-20020a7bce98000000b0040d5c58fd7amr1705829wmj.156.1703768299747; Thu, 28 Dec 2023 04:58:19 -0800 (PST) Received: from ta2.c.googlers.com.com (216.131.76.34.bc.googleusercontent.com. [34.76.131.216]) by smtp.gmail.com with ESMTPSA id h9-20020a05600c350900b0040d5aca25f1sm8615807wmq.17.2023.12.28.04.58.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 04:58:19 -0800 (PST) From: Tudor Ambarus To: peter.griffin@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, conor+dt@kernel.org, andi.shyti@kernel.org, alim.akhtar@samsung.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, arnd@arndb.de, semen.protsenko@linaro.org Cc: andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-serial@vger.kernel.org, kernel-team@android.com, Tudor Ambarus Subject: [PATCH v2 09/12] arm64: dts: exynos: gs101: enable cmu-peric0 clock controller Date: Thu, 28 Dec 2023 12:58:02 +0000 Message-ID: <20231228125805.661725-10-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231228125805.661725-1-tudor.ambarus@linaro.org> References: <20231228125805.661725-1-tudor.ambarus@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231228_045820_941721_0322A6F7 X-CRM114-Status: UNSURE ( 8.26 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Enable the cmu-peric0 clock controller. It feeds USI and I3c. Reviewed-by: Sam Protsenko Signed-off-by: Tudor Ambarus Reviewed-by: Peter Griffin --- v2: collect R-b arch/arm64/boot/dts/exynos/google/gs101.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/google/gs101.dtsi b/arch/arm64/boot/dts/exynos/google/gs101.dtsi index 2c27c3cb9237..c693791ae584 100644 --- a/arch/arm64/boot/dts/exynos/google/gs101.dtsi +++ b/arch/arm64/boot/dts/exynos/google/gs101.dtsi @@ -339,6 +339,18 @@ ppi_cluster2: interrupt-partition-2 { }; }; + cmu_peric0: clock-controller@10800000 { + compatible = "google,gs101-cmu-peric0"; + reg = <0x10800000 0x4000>; + #clock-cells = <1>; + clocks = <&ext_24_5m>, + <&cmu_top CLK_DOUT_CMU_PERIC0_BUS>, + <&cmu_top CLK_DOUT_CMU_PERIC0_IP>; + clock-names = "oscclk", + "dout_cmu_peric0_bus", + "dout_cmu_peric0_ip"; + }; + sysreg_peric0: syscon@10820000 { compatible = "google,gs101-peric0-sysreg", "syscon"; reg = <0x10820000 0x10000>;