From patchwork Wed Oct 21 16:38:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 11849441 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id CAE9E15E6 for ; Wed, 21 Oct 2020 16:39:10 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5F06D2177B for ; Wed, 21 Oct 2020 16:39:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="XDad990G"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="cusYKGkT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5F06D2177B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=vxmvMEWeAVnWExCdW774HwxC8Li2Cd/yVsKK5IEkUKI=; b=XDad990GCTyrQ6EHk/ueOC7fgD XEVIjNJdQFBxwkiaoOFBi7zgnb6S6tS767eML3ZDAqy6Hyf9k4N62f6AxRU2JZliZmTgx2EBOdQ05 Fsk6C5usOWCLLcFl+Tb4mL7Br/gAHoDHSCy4baQHKfA02DpP0ikayI2QH7guMBt1mB5dXsv4xo49x VdP/2WNnCd0p8i5FgV1w7k9FY3I2TCqvmAa3C5quNihJ6VlflbOAo0Om4fcy7tdzRxHE6yAlZbrEf uyjtNXaKjPFlVDVf2iP6exNcybu41JsZunrc98mvdpaI1RytlZ94JHH0wanr6tnnktjsIJbNng1bU TIslEWUg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVH8a-0005tC-DO; Wed, 21 Oct 2020 16:38:56 +0000 Received: from mail-ej1-x641.google.com ([2a00:1450:4864:20::641]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVH8X-0005rj-GE for linux-amlogic@lists.infradead.org; Wed, 21 Oct 2020 16:38:55 +0000 Received: by mail-ej1-x641.google.com with SMTP id p5so4195839ejj.2 for ; Wed, 21 Oct 2020 09:38:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uEj2dtHf+HnkoupGy9xjTu6l00O4rrG2/m0FBk6LmZo=; b=cusYKGkTIwI9uDRArPoxsPYgtC0mWm56iG0865ZA3IhoHDIqFs/EAzX+zyGG/z3e/T RMVISkIpP2NTz/McTpiWynxFhelUGwWaDwRppi0BOqJRx/Gx+yJ1x146SW/k4JfdftKk lJ+Ri94ZaPq8sAmSrnw8tiBwf/Sk7l0piWFlMFR4pS+FG+woZoYuq62thqe2jSCkrRtv aM7GVbuERHoHFyn0DFlTGlv+RPVF2YZM+WrxZf0aScigWLVkUUtCVj94HpF6nQUzni2c g0h2wevwOQD2LIZsDhQmz9nOmuXYxJgEIuEeDA3QMeJbmAAHGDZH877TMYYLEQll1Of1 U14A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=uEj2dtHf+HnkoupGy9xjTu6l00O4rrG2/m0FBk6LmZo=; b=SmyS2Lx7+20fG7nO2RZT7ngFkHC7PHyolA5NyOjv1UghU+gy+VAXqMospxW5zm4kc4 9vzEu0VXpSg6GRn1nfkAwwLIrTXsZZch28RoHhOkZpCVf8/rht9jmdFjRjvqrR6wFrlV tELNnKPaMnW7W4qvZlivao0yvEdANTyGKA64UPHNB8AVTPghhcv/qp0NpY5er0s3ovEj 4cFFJiheGtdM89NUKfcO841gxWdSvowH48nkRVnV8+nbqOo38GImUArcIzwE+f5ZvDvK uThpzTkXDhYbzZJUyllvdMQVNazTylY/XGT4LwGFy7aIhhvhvacd7kgfzxOmSMKRfdhs ePrg== X-Gm-Message-State: AOAM531keGjycvmMZilsh7Q+epmRcXaomr6XE8dx/dEZAixrjc2TBsXo AkiMRDbawzFxKdRT+qJyi4B7vA== X-Google-Smtp-Source: ABdhPJzxYoh8vi5BHrv2k+io/DSMYqitDUc10vHXq6uKSsyqTQW320C8E0qpi/qiJaROGdWmub+2lA== X-Received: by 2002:a17:907:20b2:: with SMTP id pw18mr4225896ejb.159.1603298332372; Wed, 21 Oct 2020 09:38:52 -0700 (PDT) Received: from starbuck.lan (82-65-169-74.subs.proxad.net. [82.65.169.74]) by smtp.googlemail.com with ESMTPSA id f26sm2549747ejx.23.2020.10.21.09.38.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Oct 2020 09:38:51 -0700 (PDT) From: Jerome Brunet To: Stephen Boyd Subject: [PATCH 0/2] clk: add devm variant of clk_notifier_register Date: Wed, 21 Oct 2020 18:38:45 +0200 Message-Id: <20201021163847.595189-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201021_123853_553068_E16C9CD4 X-CRM114-Status: UNSURE ( 8.20 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:641 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, Kevin Hilman , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Jerome Brunet Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org This patchset adds memory managed variant of clk_notifier_register and a first usage of it the amlogic clock controller of the g12 SoC family. Jerome Brunet (2): clk: add devm variant of clk_notifier_register clk: meson: g12: use devm variant to register notifiers drivers/clk/clk.c | 36 ++++++++++++++++++++++++++++++++++++ drivers/clk/meson/g12a.c | 34 ++++++++++++++++++++-------------- include/linux/clk.h | 18 ++++++++++++++++++ 3 files changed, 74 insertions(+), 14 deletions(-)