From patchwork Mon Jun 12 18:01:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13277073 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E4920C88CB2 for ; Mon, 12 Jun 2023 18:01:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233507AbjFLSBS (ORCPT ); Mon, 12 Jun 2023 14:01:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236365AbjFLSBN (ORCPT ); Mon, 12 Jun 2023 14:01:13 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DCEE3E4A for ; Mon, 12 Jun 2023 11:01:10 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-977cc662f62so678742166b.3 for ; Mon, 12 Jun 2023 11:01:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686592869; x=1689184869; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=HCGwbCad1AH2eGvAnap/WQX11/HOeuflBKO2IBu5SxQ=; b=pjkD0h+jj27yUXdF8AZb5enQZd3P3E7REc8v6jmRE4qJSFoiHmpHe0G4fR4tRRA4qW tasS4zx8SgBmk4eW3zZPNT6JckKTlFzaCjvD3syajY6TtEn/FqQuyeVUOXfD+WuIbKXy xwGs011tIC89i7WjrfeBaDH4/kIbcPqKeOSmzNC/F/4xYQ5kzquOP6ulbPS2w9R4Z7qI JU2mUTM+xf2/u4wsgBQ8TKy5OkEEn7k6TzLO1kb/85l2OWj9BpA9veK/3h/X4CGXu0Xp KLuVvqamPPNpfwsZ6XvcYJqC8cngIa1GBEQ3IceexyD7xsxgNwA3UsvfVz/ZWo+fulkn rfKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686592869; x=1689184869; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HCGwbCad1AH2eGvAnap/WQX11/HOeuflBKO2IBu5SxQ=; b=GzXuWjLTayQA3gv/t+wO2hWvfgjsxi4f4VSms4icgNhDcilaVgjps9eaaGBjaGP+H4 utfACKmbsXbZMQblCYDVNv4ngrQGS8gD8LEmK3onMPJYuxKrUKHGtfeXaEY8L7YrxVH+ qI4VrvPXRUH8clWR36sOGyDlkdTbbbeOr5bykhsPh7lpPMCmZlE5ypo96OBcCXgMz3dJ kNTi3FuqCphDdTevY2PI8DVCwLee7ZyNTR8k0d9m/1010UpoUfwGZkoKPGk4TxssuUzU 3zfR4V1qv9eIChD2BqL5vglD6jOC4HxuCk2tuN8yn5A/KxC8zcsRaf6krmwHtr72AJiH k4Jg== X-Gm-Message-State: AC+VfDwlpDvS9yeo6S/QlIWiJUJ7jmoAkBX4NvMxjCkK6p5g5pZmvCFY AWkR5CDY9sQ+yRM7ACnjE98Wbw== X-Google-Smtp-Source: ACHHUZ4/mCSxbJC+qLaVY77hKvoJbuJ/qDPXf6Y1hMusTYTf4XRvLJuYdGgg41+7NeQ6B+KnVz53vA== X-Received: by 2002:a17:907:31c6:b0:974:62d1:e942 with SMTP id xf6-20020a17090731c600b0097462d1e942mr10381519ejb.21.1686592869286; Mon, 12 Jun 2023 11:01:09 -0700 (PDT) Received: from krzk-bin.. ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id j22-20020a170906411600b00965cfc209d5sm5556907ejk.8.2023.06.12.11.01.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jun 2023 11:01:08 -0700 (PDT) From: Krzysztof Kozlowski To: Olof Johansson , Arnd Bergmann , arm@kernel.org, soc@kernel.org Cc: Sam Protsenko , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, Alim Akhtar , Krzysztof Kozlowski Subject: [PATCH PULL] arm64: dts: exynos: Remove clock from Exynos850 pmu_system_controller Date: Mon, 12 Jun 2023 20:01:02 +0200 Message-Id: <20230612180102.289745-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org From: Sam Protsenko As described in the corresponding binding documentation for "samsung,exynos850-pmu", the "clocks" property should be used for specifying CLKOUT mux inputs. Therefore, the clock provided to exynos850 pmu_system_controller is incorrect and should be removed. Instead of making syscon regmap keep that clock running for PMU accesses, it should be made always running in the clock driver, because the kernel is not the only software accessing PMU registers on Exynos850 platform. Signed-off-by: Sam Protsenko Link: https://lore.kernel.org/r/20230308233822.31180-8-semen.protsenko@linaro.org Signed-off-by: Krzysztof Kozlowski --- arch/arm64/boot/dts/exynos/exynos850.dtsi | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm64/boot/dts/exynos/exynos850.dtsi b/arch/arm64/boot/dts/exynos/exynos850.dtsi index d67e98120313..aa077008b3be 100644 --- a/arch/arm64/boot/dts/exynos/exynos850.dtsi +++ b/arch/arm64/boot/dts/exynos/exynos850.dtsi @@ -200,7 +200,6 @@ gic: interrupt-controller@12a01000 { pmu_system_controller: system-controller@11860000 { compatible = "samsung,exynos850-pmu", "syscon"; reg = <0x11860000 0x10000>; - clocks = <&cmu_apm CLK_GOUT_PMU_ALIVE_PCLK>; reboot: syscon-reboot { compatible = "syscon-reboot";