Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8301330ybn; Tue, 1 Oct 2019 06:18:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqyZ8XKnehrOus+bviU3TVtHfmsxCehvYVIvqq+4tDMpw9Tbkh5eJyCsWxu2ic0rJbZCJYvQ X-Received: by 2002:a05:6402:74c:: with SMTP id p12mr25218266edy.135.1569935939601; Tue, 01 Oct 2019 06:18:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569935939; cv=none; d=google.com; s=arc-20160816; b=GRxhmxbYkw68NtQx7AJ3X5tM/f4zXNgb6/J3E9UApLdic4uXHBDIDwuVHizqNdqT2R cbjprysqYDCnFXiGca6MRcwlsQcRTlf0ONhLh4RMCrtYFkXdr4gdYOQmkqzDcKRdutTS Q+1lVIBKuOfln94ZqsDHP+C6GMgAuCnWopeiHGN+DvH4pcMdrggBPrvorfQI5QIWsO9B QyZzFav8ljtaa9WungPebh/7tgafLh/O9VOQbqPN/nY7derr++V2NzvMvloxetscnCv7 /zIhsgfpLqOXcyypib90noQ1U6dkzOJ5XaUt0Uuma68YNzHjYjAfFqCa+oksBCU8FXp4 CaaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references:dkim-signature; bh=DGm+jAKzcyF9jL/nAhZEw01gpHilyJv1iBgg1UwcO5I=; b=l4IftJ68K2s6cre8krplB29YfynscawfskUbDKIsyH0aLkB5Wn1pLZrd092XBZBJHj kQR6mwv3doMU/oIwl6hoZ4VWyNoZGU04iq4kYm5BNUWMzgblKgxiwEoQdL2S5I2I/kV1 Y2/+9oD5L/Ko4U0R3NQ5E4Q2PaFBvcPYb7kcb473Xj0PCA10KsQzcIxlgGWekMgKc74C G0JAus45pefFTymH7dE774qqApWkkjxCaxlWrUuN8sr0y8Uum0u6J9tYZEqebtabPjtg hXqWS84LqcJxf72uf0G3HxlzB5JGCa6Iretn7yuQqA9H6a+7hXBWGTmn2dC2YtwxT/xO fFmw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=rTsyBF4v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i19si8359999ejf.247.2019.10.01.06.18.34; Tue, 01 Oct 2019 06:18:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=rTsyBF4v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388258AbfJANPP (ORCPT + 99 others); Tue, 1 Oct 2019 09:15:15 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:35269 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388241AbfJANPP (ORCPT ); Tue, 1 Oct 2019 09:15:15 -0400 Received: by mail-wm1-f65.google.com with SMTP id y21so3217405wmi.0 for ; Tue, 01 Oct 2019 06:15:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=DGm+jAKzcyF9jL/nAhZEw01gpHilyJv1iBgg1UwcO5I=; b=rTsyBF4vLm99v9d1KGwh8d1rbKgIWDAaHB6/bpo+pUKuKNfi/Hkwd2ektAhOZAG9h8 i1pJgrjhTedbVbq9/Rdz07hnxeVdepDGKcfpLSPBTGLR31jsL21Ptrtab6OSTLuFUFTX 1QK+WmbtXbF2rCTbs606Z8SBkuF12Qy0ikh3cdpi6DONpUfuMWyeGaRf5KXWVLgY3JIl TUG2EGpzQrzKvxohcBNO8bAQHC4ELBFciyoeOhjnmQ9kvmj8iGinr0lBUZCYWbv/s3Jc eZqzaTM1o90YA6e5QOy3RcBybGGAin5YjmQFT00wQyK9t+k2XYKXr8zBqCG5E1Q1kjEz e7pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=DGm+jAKzcyF9jL/nAhZEw01gpHilyJv1iBgg1UwcO5I=; b=OrvUeiJbUTzfBQoVmc+MXJXdP1XjNL5nS121ubVpGZNk/DCzsJj9DIaKPf7M1EvDou IVcj59OxRVFVt6iyjGis+xEg3uJIEIVl3NbOIvFDdWL4D13yiAwrpg4j/5aqIqAjRcFx 1uBWX5XzK+kAZfXIzbJwO5UFI4NXFyPDWNVf/hrRjIRLkdWZGV80AlmZSwhaSxnI4IuN PWkGfhMMQGoVEkCQd/VZoNbFmiaRxHbWmMlcNTeSinxNP3IShVMwmOi/iRq6X9ubVJwT KB8V6tqYwy8uX6Cya5Kiq6uOikwPXQpTiALjrIvYriy4gNhssXEfrurQ3hMnXGDHrP66 tf1A== X-Gm-Message-State: APjAAAXWrK0vQqgVaSpFsZgD0V5ofcs2znu944P9t45OX91vOfpnc1et 9mmbs8vsHEp+Zf1tonoGeY04AQ== X-Received: by 2002:a7b:cb91:: with SMTP id m17mr3681665wmi.151.1569935712186; Tue, 01 Oct 2019 06:15:12 -0700 (PDT) Received: from localhost (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id y186sm5172875wmd.26.2019.10.01.06.15.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Oct 2019 06:15:11 -0700 (PDT) References: <20190921150411.767290-1-martin.blumenstingl@googlemail.com> User-agent: mu4e 1.3.3; emacs 26.2 From: Jerome Brunet To: Martin Blumenstingl Cc: narmstrong@baylibre.com, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org Subject: Re: [PATCH 1/1] clk: meson: gxbb: let sar_adc_clk_div set the parent clock rate In-reply-to: <20190921150411.767290-1-martin.blumenstingl@googlemail.com> Date: Tue, 01 Oct 2019 15:15:10 +0200 Message-ID: <1jimp8r4ip.fsf@starbuckisacylon.baylibre.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat 21 Sep 2019 at 17:04, Martin Blumenstingl wrote: > The meson-saradc driver manually sets the input clock for > sar_adc_clk_sel. Update the GXBB clock driver (which is used on GXBB, > GXL and GXM) so the rate settings on sar_adc_clk_div are propagated up > to sar_adc_clk_sel which will let the common clock framework select the > best matching parent clock if we want that. > > This makes sar_adc_clk_div consistent with the axg-aoclk and g12a-aoclk > drivers, which both also specify CLK_SET_RATE_PARENT. > > Fixes: 33d0fcdfe0e870 ("clk: gxbb: add the SAR ADC clocks and expose them") > Signed-off-by: Martin Blumenstingl Applied, Thx