From patchwork Sun Nov 21 23:27:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Protsenko X-Patchwork-Id: 12693250 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 1F926C433FE for ; Sun, 21 Nov 2021 23:29:41 +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: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:In-Reply-To:References: List-Owner; bh=5TnCgq4N4Plhq2Mi0AtiWzd8h1Ktnc2I/CpLrI9JLcI=; b=RIHVMoV5nldda2 Ya/zff6EDCvuyQ6CY0/od+mW6LSCx85jcwbrDB9GNoVFGH1YypopubJkBTW/m1GMMwMQ+rsLrV8cF htvRI3HqpR7OIAAarvrRQZYT01878ocYgmk63/9OxlVPpr1qDDFiMlWh97PUus6o+a4V1+5gvH5Er mU6Ec9nHUsdCLeSfz/vYhS1u+ZcXCkvMZ8i30lsP+sSVcMdTG3jCw2/gh8xpOeu+SvvM/OcnMDb23 2JAzcYzR2/310LrebKwN+S2MV6rfvB8mb9AlIa5uml8pylIeDWRyoRYmh28nbL2A5IzaV72bQojyK +ed9g9JvRvnpCwOtOYYg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mowFQ-00EU6K-Ra; Sun, 21 Nov 2021 23:27:49 +0000 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mowFM-00EU5N-Jq for linux-arm-kernel@lists.infradead.org; Sun, 21 Nov 2021 23:27:46 +0000 Received: by mail-lf1-x12b.google.com with SMTP id l22so71893743lfg.7 for ; Sun, 21 Nov 2021 15:27:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=S/y2Kn8oygwVIw9lHmxg8VDs1DipgumUOS8XzTiyOsU=; b=eV49/GXY3ZioR5KCVbQdQdb0HGYbBDnWGEI7zVz5iAJxaBoHolB7hBvjl/b+xC6xCc EcjjTCKhCfWAzb93zYheTsWA0lt4hPkCLZL9HtQRFZnFcZfYRCoG0ZeNvrM07hwsFoCV mGKXU8qXUOtTin1366adw7r5Km6ZsIjf32NKre6QTokEjz92J3Jd6JW9uwHhgeYIdNn8 Ro7KM34j6ZMdOatdOgzVKAmO8ko6wEGF0+nu2w9wi6dmTudea0kZR0BaNTLxrgGphdJu 6nhHjaDAhH2nUVG4CB7ZLDEZ7YFTc2utNuC3Tira+a3zbVcAWu+NaEjHV+jWI+IfoWJ7 qxZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=S/y2Kn8oygwVIw9lHmxg8VDs1DipgumUOS8XzTiyOsU=; b=v7jRkDD8Ic8JUSKjn/nGeKJM/83MOhVImP7CMRpBe3/IcGzuln2HrAIJSkyHJ9dFKW FT9MeO9BeSA2mqcFW7fXdzr3i4FbJ4eIby75UaMFFZAO5A8uQPzA1W26XVDx+u6fLRgC aST0hhUpkXHZWDWt+oLJvvC+VeA4Oq4F8vRJydk0tPBpcMw+sGTa2AAGS/CGo3ES81Zm q4IFE9tJ4x9d4zLEswvp7pQhhfQJadgroXUt7/X84BksP2pnmIUfWfCabinGK9y3aeN+ r6+LjVBSf0v+NuQhI1qOigxE2jhL8KzL8x47baVCqjfo6drz2m9ZYpL81oV3ydSjWXX9 QfOw== X-Gm-Message-State: AOAM530m1BuTC1RxUisq30vmF941uF3MPpD/b/1dNh3tBoIDp25TEeQ1 JFSb0np/4wyxYFYKZxlMmHH1IQ== X-Google-Smtp-Source: ABdhPJwR3sqr8nwxIXnSTyEMLZqeyhXKmPjaWT8w9k9jEqiYszGxV9YsWV6WDGESVr+GY1ln3aaeiQ== X-Received: by 2002:a05:6512:159d:: with SMTP id bp29mr51450000lfb.257.1637537262579; Sun, 21 Nov 2021 15:27:42 -0800 (PST) Received: from localhost ([31.134.121.151]) by smtp.gmail.com with ESMTPSA id z3sm780779lfh.17.2021.11.21.15.27.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 21 Nov 2021 15:27:42 -0800 (PST) From: Sam Protsenko To: Sylwester Nawrocki , Krzysztof Kozlowski , Chanwoo Choi , Tomasz Figa , Rob Herring , Stephen Boyd , Michael Turquette Cc: David Virag , =?utf-8?q?Pawe=C5=82_Chmiel?= , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org Subject: [PATCH 0/6] clk: samsung: exynos850: Clock driver improvements Date: Mon, 22 Nov 2021 01:27:35 +0200 Message-Id: <20211121232741.6967-1-semen.protsenko@linaro.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211121_152744_705271_49FFE3B9 X-CRM114-Status: UNSURE ( 9.96 ) 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 This cumulative series supersedes next patches/series: 1. CMU_APM domain implementation series [1] 2. CMU_CMGP domain implementation series [2] 3. "Register clocks early" patch [3] with changes as follows: - add "Keep some crucial clocks running" patch [6/6] - enable CMU_PERI parent clock early - move bindings headers changes into bindings doc patches Tested: - CMU_TOP is registered before CMU_PERI - CMU_PERI parent clock is enabled early and successfully, and running before any access to CMU_PERI registers - kernel boots successfully without "clk_ignore_unused" param - MCT timer works fine and doesn't panic during bootup [1] https://lkml.org/lkml/2021/10/22/978 [2] https://lkml.org/lkml/2021/11/9/660 [3] https://lkml.org/lkml/2021/10/25/818 Sam Protsenko (6): dt-bindings: clock: Add bindings for Exynos850 CMU_APM clk: samsung: exynos850: Implement CMU_APM domain dt-bindings: clock: Add bindings for Exynos850 CMU_CMGP clk: samsung: exynos850: Implement CMU_CMGP domain clk: samsung: exynos850: Register clocks early clk: samsung: exynos850: Keep some crucial clocks running .../clock/samsung,exynos850-clock.yaml | 38 ++ drivers/clk/samsung/clk-exynos850.c | 327 ++++++++++++++++-- include/dt-bindings/clock/exynos850.h | 46 ++- 3 files changed, 387 insertions(+), 24 deletions(-)