Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp815071ybn; Tue, 24 Sep 2019 09:56:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwa2jHMRtORXJyCbY2/LTNIzEVK0bqmxAGzN1CpalTqYslSELe1mYuvr73cJQXVAtRKalpm X-Received: by 2002:a17:906:d8a2:: with SMTP id qc2mr3464038ejb.10.1569344182263; Tue, 24 Sep 2019 09:56:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569344182; cv=none; d=google.com; s=arc-20160816; b=YcCmVrGglSmoHQqqG5TpnnI7i17UGeF1cMU3Yhbwy5gWxwB90cDMU9j/mE7CEnPi2E Ey+oa+uh5wcAsWtSDDuMbwtoF8BZ3vgqKKhucBCGQ2+CntYhxFUaxBEW+bkiL0URYuCb Ep1xxOsJW5docfTw6J4jdW336cRc8HPRqhAqUvFfS8YmAVKZRmHMLTsY1elG0sBsTq7A mMg5IsyqEEp7NzN79oLHAx7nq7xkc5zyyTtmkcnG7tRPowf7BaeKgViKT8vKFyTFyYD8 jQxxACFmW1pwC3S8Q48LqJgQpkmkLifI912FDGS8+SVLdoqwcefmzgcgiISXaSTLAhrK to2g== 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:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=nwiGQiE38HtZcmw6CWeBg4qfY5GYbo0p333nLt6wTfk=; b=lnrKk6d9sBaOXgw5OWVhWNSNvFNisG4GNY450G9zDDnH6vl1GlW692ZUkF6ZMt4euQ oiLZBFph+TnM/oIh0PHpWqOjegFvPOYAcVA7YFMAgoPnbMHhX0+jyFa7HFiEBK3p5/Td oeBYBxa6GvvCbYqaLoNlh208rPmXGUBsRb7OT3BCb3I8aZkL/nV3WzyDeN/6uO6N60qQ Gqp1zKAQfL01W5Uoio+tAiSESuUVbc1/L4Q2+NPxjjGTJNhA/a5mmPeU9OHuLN4sHpXb hLoukHj0pvxliYfPA5hcG5XsbBGLZ4TE0I0y/s51TPB/wjOaCodJBbf5gQSfuZTxzzgO M6vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=IghFe3Y9; 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 i5si1189290ejr.176.2019.09.24.09.55.58; Tue, 24 Sep 2019 09:56:22 -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=IghFe3Y9; 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 S1731051AbfIWIjA (ORCPT + 99 others); Mon, 23 Sep 2019 04:39:00 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42096 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729373AbfIWIi7 (ORCPT ); Mon, 23 Sep 2019 04:38:59 -0400 Received: by mail-wr1-f67.google.com with SMTP id n14so12887610wrw.9 for ; Mon, 23 Sep 2019 01:38:58 -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:in-reply-to:references:date:message-id :mime-version; bh=nwiGQiE38HtZcmw6CWeBg4qfY5GYbo0p333nLt6wTfk=; b=IghFe3Y9bi1OIf+T0BVbUqifsHRXMu4xWRUWvzexMuhJ4MorveaatsE5c2GnCI+84a Bqx0FzIXkolcI77UhylFeOKxmtwpKe9AUMcjHExUAVS+hF6+GX11MENc6c6CKLisbkhU b9Ts9JV5TR8s7v3h7HczUFMlV75yIvoSso+xPxb2dWoJGiNJCOVjR0+SvNXGapK7ocsa HGGW4pVQf7UAT44HCNRvqfwXb1IWJyD1YzR9fLdLsLMHoEzNFWJy5uxlqyzsmbeJ7NPI foBJjIBuJRCnK//2IKw8qaIOokqj5JUovfoGEVLI+AkqSB2yHohlwvIpAIpd4546nJUR Q80Q== 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:in-reply-to:references:date :message-id:mime-version; bh=nwiGQiE38HtZcmw6CWeBg4qfY5GYbo0p333nLt6wTfk=; b=CaDk9clZD1yhzgzXpkq3MpkbDAtS7iXng1oacan8+HZ1ohMzlBdynb+F3G74HBwgQe Mi4RgI+RuwPgglCnOwUd5dKNdhIbJZzLeKqZV24SLge4frkmbnc6GO3muYR2DrZau+te Nol+bnVbfIx9Etnwbkj94mjLKhhvAg43Vw4SNIWnsOXIx4Y1t6c/izl8WsXs+Cgm5H1Y oyt+oWpnc3h/IiXNRFaIBOPrMkbrUvvlzcXTW0LSXnVTNdL2JgxPHFwW4CW9EVtlnlEN b8K/v29dHkzAkEdF4DO4o1qas0qBogAFh1xaHTYAl/3K44J6GlRnlWv9j7Y0Aa83Zd4q uTag== X-Gm-Message-State: APjAAAXUNi1kofNVCMi1IoLywgKFQD27ThR7tys7SA0RCsDQ4DdPGDnY gcA6jI4ASOrR9zTXEODuinqIVw== X-Received: by 2002:a05:6000:45:: with SMTP id k5mr20259104wrx.259.1569227937789; Mon, 23 Sep 2019 01:38:57 -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 n7sm10988940wrt.59.2019.09.23.01.38.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Sep 2019 01:38:57 -0700 (PDT) From: Jerome Brunet To: Martin Blumenstingl , narmstrong@baylibre.com, linux-amlogic@lists.infradead.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Martin Blumenstingl 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> References: <20190921150411.767290-1-martin.blumenstingl@googlemail.com> Date: Mon, 23 Sep 2019 10:38:56 +0200 Message-ID: <1j4l13tnj3.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 Looks good. I'll apply it once rc1 is tagged Thanks