From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@baylibre.com (Kevin Hilman) Date: Fri, 20 Jan 2017 07:46:00 -0800 Subject: [PATCH v3 2/4] clk: gxbb: add the SAR ADC clocks and expose them In-Reply-To: <20170119191332.GA7829@codeaurora.org> (Stephen Boyd's message of "Thu, 19 Jan 2017 11:13:32 -0800") References: <20170115224221.15510-1-martin.blumenstingl@googlemail.com> <20170119145822.26239-1-martin.blumenstingl@googlemail.com> <20170119145822.26239-3-martin.blumenstingl@googlemail.com> <20170119191332.GA7829@codeaurora.org> Message-ID: To: linus-amlogic@lists.infradead.org List-Id: linus-amlogic.lists.infradead.org Stephen Boyd writes: > On 01/19, Martin Blumenstingl wrote: >> The HHI_SAR_CLK_CNTL contains three SAR ADC specific clocks: >> - a mux clock to choose between different ADC reference clocks (this is >> 2-bit wide, but the datasheet only lists the parents for the first >> bit) >> - a divider for the input/reference clock >> - a gate which enables the ADC clock >> >> Additionally this exposes the ADC core clock (CLKID_SAR_ADC) and >> CLKID_SANA (which seems to enable the analog inputs, but unfortunately >> there is no documentation for this - we just mimic what the vendor >> driver does). >> >> Signed-off-by: Martin Blumenstingl >> Tested-by: Neil Armstrong >> --- > > Acked-by: Stephen Boyd > > This should go through arm-soc along with the other patch to dts. Applied to v4.11/dt64 of the amlogic tree. Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Return-Path: From: Kevin Hilman To: Stephen Boyd Cc: Martin Blumenstingl , jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org, mark.rutland@arm.com, linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-clk@vger.kernel.org, carlo@caione.org, catalin.marinas@arm.com, will.deacon@arm.com, mturquette@baylibre.com, narmstrong@baylibre.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 2/4] clk: gxbb: add the SAR ADC clocks and expose them References: <20170115224221.15510-1-martin.blumenstingl@googlemail.com> <20170119145822.26239-1-martin.blumenstingl@googlemail.com> <20170119145822.26239-3-martin.blumenstingl@googlemail.com> <20170119191332.GA7829@codeaurora.org> Date: Fri, 20 Jan 2017 07:46:00 -0800 In-Reply-To: <20170119191332.GA7829@codeaurora.org> (Stephen Boyd's message of "Thu, 19 Jan 2017 11:13:32 -0800") Message-ID: MIME-Version: 1.0 Content-Type: text/plain List-ID: Stephen Boyd writes: > On 01/19, Martin Blumenstingl wrote: >> The HHI_SAR_CLK_CNTL contains three SAR ADC specific clocks: >> - a mux clock to choose between different ADC reference clocks (this is >> 2-bit wide, but the datasheet only lists the parents for the first >> bit) >> - a divider for the input/reference clock >> - a gate which enables the ADC clock >> >> Additionally this exposes the ADC core clock (CLKID_SAR_ADC) and >> CLKID_SANA (which seems to enable the analog inputs, but unfortunately >> there is no documentation for this - we just mimic what the vendor >> driver does). >> >> Signed-off-by: Martin Blumenstingl >> Tested-by: Neil Armstrong >> --- > > Acked-by: Stephen Boyd > > This should go through arm-soc along with the other patch to dts. Applied to v4.11/dt64 of the amlogic tree. Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@baylibre.com (Kevin Hilman) Date: Fri, 20 Jan 2017 07:46:00 -0800 Subject: [PATCH v3 2/4] clk: gxbb: add the SAR ADC clocks and expose them In-Reply-To: <20170119191332.GA7829@codeaurora.org> (Stephen Boyd's message of "Thu, 19 Jan 2017 11:13:32 -0800") References: <20170115224221.15510-1-martin.blumenstingl@googlemail.com> <20170119145822.26239-1-martin.blumenstingl@googlemail.com> <20170119145822.26239-3-martin.blumenstingl@googlemail.com> <20170119191332.GA7829@codeaurora.org> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Stephen Boyd writes: > On 01/19, Martin Blumenstingl wrote: >> The HHI_SAR_CLK_CNTL contains three SAR ADC specific clocks: >> - a mux clock to choose between different ADC reference clocks (this is >> 2-bit wide, but the datasheet only lists the parents for the first >> bit) >> - a divider for the input/reference clock >> - a gate which enables the ADC clock >> >> Additionally this exposes the ADC core clock (CLKID_SAR_ADC) and >> CLKID_SANA (which seems to enable the analog inputs, but unfortunately >> there is no documentation for this - we just mimic what the vendor >> driver does). >> >> Signed-off-by: Martin Blumenstingl >> Tested-by: Neil Armstrong >> --- > > Acked-by: Stephen Boyd > > This should go through arm-soc along with the other patch to dts. Applied to v4.11/dt64 of the amlogic tree. Kevin