Message ID | 20201021162147.563655-1-jbrunet@baylibre.com (mailing list archive) |
---|---|
Headers | show
Return-Path: <SRS0=1JbN=D4=lists.infradead.org=linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@kernel.org> 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 02F2E15E6 for <patchwork-linux-amlogic@patchwork.kernel.org>; Wed, 21 Oct 2020 16:22:17 +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 7CEB1222C8 for <patchwork-linux-amlogic@patchwork.kernel.org>; Wed, 21 Oct 2020 16:22:16 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="rZQgJcr8"; 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="sGEe0ZSs" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7CEB1222C8 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=MkbSekPJ9/aJJZlCd4dM6E1yOKAH+rox+jtThGGguGE=; b=rZQgJcr8VgFVAB5G+t61n4eJ2F +LVTwsQwcfC+kSBIgPjMpgqPxvxnwm82n4aaF6NR5mm/DFFlXEkGXrwjU5GmUJVDODkE+S64EME9e 9oAC1y2RHqGCYspmcaRyfQsp1FWXsok/z+1ulvmk80EZcHYqtCEYGUqMsU5xTOQQwrl4/bNcuu4V6 z9fG1F7g3VG0+wzXz0cYB/5eK55SrYC5RZBAfx05bAF1/g1k+6ebFYVuO5HYKXizRs8MkkP7ns9Q+ lu+neFL3b1lAof0qktcsnHrjWeDSq+dTggc4OsR5u3ZE5dBHYEAUM+xIUQl1soZOnmTkpoT51hijw aduw3aBg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVGsE-0003pt-01; Wed, 21 Oct 2020 16:22:02 +0000 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kVGs7-0003mH-RF for linux-amlogic@lists.infradead.org; Wed, 21 Oct 2020 16:21:57 +0000 Received: by mail-ej1-x643.google.com with SMTP id w27so180734ejb.3 for <linux-amlogic@lists.infradead.org>; Wed, 21 Oct 2020 09:21: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=UI2P/yyao6EznjeZr1h9V5wwTm/lr2jsyR7CYvPpJn8=; b=sGEe0ZSsBq2hxXtN4AppUO1Zi4qpE8rjaTwX9Wi5YMoUpfkKpWDeC8/ptxqAH7PVfT W2Wm/iYiW8Gy1hphh3YxpoKfkJS4qpIFENQQtiX5j6O5Lu/vCGSyezztx/pWVwrbOR7y FEsYm1MaFmx0ioASrEdPyTgGZ8i49rzkz3JDUnjItBHliozJJrO7da0ibDypAqBVKKik fObm9XdOL1ZOsJRzednQvcOqJw1q34CsvIsayRX3amK+jvKt/S9StRra6V+I0s5WbUcj 9LJORutEbazY+hbuHPmEtbhKBdvVkBNksZgc9QFUMkpkc3O6XisHdQ3W0kl0fKWKi+4M Wp/g== 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=UI2P/yyao6EznjeZr1h9V5wwTm/lr2jsyR7CYvPpJn8=; b=F+P1cxY3YQgDg0CnRN8KjtowqMa9+yiHDeVH+YXN7rpsSreZkfUIyrqS2hBRHnChkF vBgB6PO51klDOPem4PhTimSGUaZCCBQVrp7+DOoKNjrphafT9WqNjKNvqHmN4xK/w6JZ B/m5y08dEFQcT+fo/F7r7m5iPSGhmmHFP5vzXMDz0zuqbYR50wugl2MoNqU842V5eRDL JJ52/6aoqmiX/oHE5u1x/nNq0LDIwOoBIpC3Lzj7IdENY+RtJFeeoEy+/vs8J578jzeJ z/j9+DwgX/CmnKspSS/ePv00W/5tpHTDSYAxym8xcdfkcLtnTbBz3uRGM8V0KdH8/lJa CxMg== X-Gm-Message-State: AOAM533TlbpDZKWgj6R+AwQAJtHV8kxhKfXcTbS6bVM/7tCYM8OGxdos 36Y864adJaOyyfzJNRvP56wMZQ== X-Google-Smtp-Source: ABdhPJz01d9oIMCTPrSm5ZUKeD22XQbYSH9b+dNijavQFdQQWBxIif4CrZRFLBUmfLd4R+zYnk+Azg== X-Received: by 2002:a17:907:2089:: with SMTP id pv9mr4460227ejb.427.1603297312942; Wed, 21 Oct 2020 09:21: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 11sm2566667ejy.19.2020.10.21.09.21.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Oct 2020 09:21:52 -0700 (PDT) From: Jerome Brunet <jbrunet@baylibre.com> To: Stephen Boyd <sboyd@kernel.org>, Martin Blumenstingl <martin.blumenstingl@googlemail.com> Subject: [PATCH v2 0/3] clk: add api to get clk consumer from clk_hw Date: Wed, 21 Oct 2020 18:21:44 +0200 Message-Id: <20201021162147.563655-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_122156_026988_DDB19BB6 X-CRM114-Status: UNSURE ( 9.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:643 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: <linux-amlogic.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-amlogic/> List-Post: <mailto:linux-amlogic@lists.infradead.org> List-Help: <mailto:linux-amlogic-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-amlogic>, <mailto:linux-amlogic-request@lists.infradead.org?subject=subscribe> Cc: linux-amlogic@lists.infradead.org, Kevin Hilman <khilman@baylibre.com>, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Jerome Brunet <jbrunet@baylibre.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" <linux-amlogic-bounces@lists.infradead.org> Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org |
Series |
clk: add api to get clk consumer from clk_hw
|
expand
|
Jerome Brunet <jbrunet@baylibre.com> writes: > This patchset a call in CCF to get "struct clk*" from "struct clk_hw*" > > Changes since v1: [0] > * Add a con_id string to help keep track of the consumer > * Add devm variant: > - Following our discussion on V1, I choose to have the dev as > argument as most devm function do. However, as Stephen pointed out > we don't expect this to differ from the one linked to clk_hw. In > this case a warning is thrown. > * Add a first usage of this in the amlogic clock driver. Tested-by: Kevin Hilman <khilman@baylibre.com> Tested this on a couple g12a based platforms. This series also allows me to build the g12 clock drivers as modules. Kevin