From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964929AbcIHI3z (ORCPT ); Thu, 8 Sep 2016 04:29:55 -0400 Received: from down.free-electrons.com ([37.187.137.238]:40483 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1758395AbcIHI3w (ORCPT ); Thu, 8 Sep 2016 04:29:52 -0400 Date: Thu, 8 Sep 2016 10:29:39 +0200 From: Maxime Ripard To: Chen-Yu Tsai Cc: Mike Turquette , Stephen Boyd , Hans de Goede , Mylene Josserand , linux-clk , devicetree , linux-arm-kernel , linux-kernel , Thomas Petazzoni Subject: Re: [PATCH v2 6/7] clk: sunxi-ng: Add A23 CCU Message-ID: <20160908082939.GJ8913@lukather> References: <20160906121837.7517-1-maxime.ripard@free-electrons.com> <20160906121837.7517-7-maxime.ripard@free-electrons.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJFRpmOek+ZRSQoz" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --IJFRpmOek+ZRSQoz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 07, 2016 at 03:24:11PM +0800, Chen-Yu Tsai wrote: > > + [CLK_BUS_MSGBOX] =3D &bus_msgbox_clk.common.hw, >=20 > A23 manual and Allwinner sources say there is a bus gate for SPINLOCK. > Tested it myself, and it indeed exists. Yes, sorry. It was supposed to be spinlock instead of msgbox. > > + [RST_BUS_SPINLOCK] =3D { 0x2c4, BIT(22) }, >=20 > Allwinner sources say there is a reset control for MSGBOX. > Tested it myself, and it indeed exists. However, the msgbox is mentionned nowhere in the datasheet. I'd prefer to be able to test that it actually works before adding it to the clock driver. Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --IJFRpmOek+ZRSQoz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJX0SFzAAoJEBx+YmzsjxAglxgQAJpW5yqCk7jzPIlDLtkHOATG 0gz6F25GjQYSwW5b96KNbaa/crd8V0OphN/FijwO3frPqV+kzTxk0GHPt83SEqMG rlVr0Dq7eBtyMhc3xySX3Irk//2kyGerbpLB6+j+byWbDryuvzWqx7j3TUBBYyq6 dd3yhp2zT6dDGpo6xzwSAe7KVPx28rh7LGYSwleKs19T451mxXk1huwlb3nSnYrT vBoKXsGVALG9MHMsxFT9Liawbt9nGDhm/63MAmeCHyv02GuStZwKqNt1lFjBFekd GbD1xpzv9kvy2f9+Vrditpe9RXIasa26w13ZKgiL8gnMUIMwufasnjr/r190Nw35 2cX5icBaUrjT9wBnSn6YA3s49tCB18j7I4O4jfAQ79i5HCYBrpZpDEwlmtv24JWP 84nvhzxSdu9M0GHYFAhFiFUr0n3sRe4GOCpsPDZI1Hz9dbwO6aSa5V+P0092K0SX mZdxBnQK89E5S5LYU20pupyui/8gkTNXCAJvEgX/vKrrRLyL5jGc2VElIaCpmF1L dRv96KKknZRK0Px6YmjMMfYYTbJ0MMDOwknfFt83UPlFUxjFA32T4gd9qKdrtqF3 xF7wkpMRxzzvsLrJ6pJOakMT9wbRI+v/hPo5CccDG86B54X8RQPpeWB9F2FCaSf5 6RkKtiX/9ZmEseykJoDN =6JMo -----END PGP SIGNATURE----- --IJFRpmOek+ZRSQoz-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH v2 6/7] clk: sunxi-ng: Add A23 CCU Date: Thu, 8 Sep 2016 10:29:39 +0200 Message-ID: <20160908082939.GJ8913@lukather> References: <20160906121837.7517-1-maxime.ripard@free-electrons.com> <20160906121837.7517-7-maxime.ripard@free-electrons.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7591381871276344866==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Chen-Yu Tsai Cc: Thomas Petazzoni , devicetree , Mike Turquette , Stephen Boyd , linux-kernel , Hans de Goede , Mylene Josserand , linux-clk , linux-arm-kernel List-Id: devicetree@vger.kernel.org --===============7591381871276344866== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJFRpmOek+ZRSQoz" Content-Disposition: inline --IJFRpmOek+ZRSQoz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 07, 2016 at 03:24:11PM +0800, Chen-Yu Tsai wrote: > > + [CLK_BUS_MSGBOX] =3D &bus_msgbox_clk.common.hw, >=20 > A23 manual and Allwinner sources say there is a bus gate for SPINLOCK. > Tested it myself, and it indeed exists. Yes, sorry. It was supposed to be spinlock instead of msgbox. > > + [RST_BUS_SPINLOCK] =3D { 0x2c4, BIT(22) }, >=20 > Allwinner sources say there is a reset control for MSGBOX. > Tested it myself, and it indeed exists. However, the msgbox is mentionned nowhere in the datasheet. I'd prefer to be able to test that it actually works before adding it to the clock driver. Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --IJFRpmOek+ZRSQoz Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJX0SFzAAoJEBx+YmzsjxAglxgQAJpW5yqCk7jzPIlDLtkHOATG 0gz6F25GjQYSwW5b96KNbaa/crd8V0OphN/FijwO3frPqV+kzTxk0GHPt83SEqMG rlVr0Dq7eBtyMhc3xySX3Irk//2kyGerbpLB6+j+byWbDryuvzWqx7j3TUBBYyq6 dd3yhp2zT6dDGpo6xzwSAe7KVPx28rh7LGYSwleKs19T451mxXk1huwlb3nSnYrT vBoKXsGVALG9MHMsxFT9Liawbt9nGDhm/63MAmeCHyv02GuStZwKqNt1lFjBFekd GbD1xpzv9kvy2f9+Vrditpe9RXIasa26w13ZKgiL8gnMUIMwufasnjr/r190Nw35 2cX5icBaUrjT9wBnSn6YA3s49tCB18j7I4O4jfAQ79i5HCYBrpZpDEwlmtv24JWP 84nvhzxSdu9M0GHYFAhFiFUr0n3sRe4GOCpsPDZI1Hz9dbwO6aSa5V+P0092K0SX mZdxBnQK89E5S5LYU20pupyui/8gkTNXCAJvEgX/vKrrRLyL5jGc2VElIaCpmF1L dRv96KKknZRK0Px6YmjMMfYYTbJ0MMDOwknfFt83UPlFUxjFA32T4gd9qKdrtqF3 xF7wkpMRxzzvsLrJ6pJOakMT9wbRI+v/hPo5CccDG86B54X8RQPpeWB9F2FCaSf5 6RkKtiX/9ZmEseykJoDN =6JMo -----END PGP SIGNATURE----- --IJFRpmOek+ZRSQoz-- --===============7591381871276344866== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel --===============7591381871276344866==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: maxime.ripard@free-electrons.com (Maxime Ripard) Date: Thu, 8 Sep 2016 10:29:39 +0200 Subject: [PATCH v2 6/7] clk: sunxi-ng: Add A23 CCU In-Reply-To: References: <20160906121837.7517-1-maxime.ripard@free-electrons.com> <20160906121837.7517-7-maxime.ripard@free-electrons.com> Message-ID: <20160908082939.GJ8913@lukather> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Sep 07, 2016 at 03:24:11PM +0800, Chen-Yu Tsai wrote: > > + [CLK_BUS_MSGBOX] = &bus_msgbox_clk.common.hw, > > A23 manual and Allwinner sources say there is a bus gate for SPINLOCK. > Tested it myself, and it indeed exists. Yes, sorry. It was supposed to be spinlock instead of msgbox. > > + [RST_BUS_SPINLOCK] = { 0x2c4, BIT(22) }, > > Allwinner sources say there is a reset control for MSGBOX. > Tested it myself, and it indeed exists. However, the msgbox is mentionned nowhere in the datasheet. I'd prefer to be able to test that it actually works before adding it to the clock driver. Maxime -- Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: