Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753521AbdCFLKk (ORCPT ); Mon, 6 Mar 2017 06:10:40 -0500 Received: from mail-sn1nam01on0063.outbound.protection.outlook.com ([104.47.32.63]:46689 "EHLO NAM01-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753390AbdCFLKP (ORCPT ); Mon, 6 Mar 2017 06:10:15 -0500 Authentication-Results: linaro.org; dkim=none (message not signed) header.d=none;linaro.org; dmarc=none action=none header.from=caviumnetworks.com; Date: Mon, 6 Mar 2017 12:09:59 +0100 From: Jan Glauber To: Ulf Hansson Cc: "linux-mmc@vger.kernel.org" , "linux-kernel@vger.kernel.org" , David Daney , "Steven J . Hill" , Rob Herring , Mark Rutland , "devicetree@vger.kernel.org" , David Daney Subject: Re: [PATCH v11 1/9] dt-bindings: mmc: Add Cavium SOCs MMC bindings Message-ID: <20170306110959.GA5049@hardcore> References: <20170206133953.8390-1-jglauber@cavium.com> <20170206133953.8390-2-jglauber@cavium.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Originating-IP: [46.223.158.200] X-ClientProxiedBy: DB6P192CA0014.EURP192.PROD.OUTLOOK.COM (10.171.111.24) To CO2PR07MB2582.namprd07.prod.outlook.com (10.166.201.21) X-MS-Office365-Filtering-Correlation-Id: b6cada2d-4583-48fd-c2d4-08d464815bb2 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:CO2PR07MB2582; X-Microsoft-Exchange-Diagnostics: 1;CO2PR07MB2582;3:hFjM7Jsk/XqIx5X5UzkkAXXHnwMgqrJVHvAS5wUL5o1eMQ/jskuqOvpwLURfBI1lhswawccBhZVkIKFTWzW6JT3RWfUH5zZrV2aEiQMytSbG0vP9Ylkunc1ghePmb/7+FsE0l2pflPzkc7scZbEpdtzGA5CUkQZTNrR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A03mP4NbD0SYtqjKAP1ycAPSRIkPe50JXezwuWm9kbEjqjsMJO0CoENtP6y/Te+gmwhuSmdTu7k9YAAsrZHZIOmGrAYUwwX45lJ8E3Uh6T67FOGmltBVwKB3kPwIhyLQgfXs+j4b6EYbzZiT+UvZeaSG5nL7fmFW9Ask2LMSu3K2Wx+B1FeLaMgh3YbVrJ9SwULakLGIPypMRvPVPNlv2DmTZznkFS34KRuB6lMQomIwxmRkOxC12zWxpTc9aSzm1ZRnRRGhYawqkcrBhGgAWgDEc/mu7Ou3q3RHlYrUcdmEM8bEdL2hMNGibuwGElecYk1OearyQBf7utHyNhETwj5Db3Pv9VmtDopDSuf2z+CRviPATjSShJ9QBk0+BI= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(180628864354917)(9452136761055); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040375)(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046)(6041248)(20161123562025)(20161123564025)(20161123555025)(20161123558025)(20161123560025)(6072148);SRVR:CO2PR07MB2582;BCL:0;PCL:0;RULEID:;SRVR:CO2PR07MB2582; X-Microsoft-Exchange-Diagnostics: 1;CO2PR07MB2582;4:d46q5ckFCd7Zt7Se5VMGy3JOiTqr2SrBNfYmravZzylezPjh7g8r7V1UFEi2wRbG3wwWssWl1UPNk/70143ILiL9gX7t2HyHD8iidxFQ4/eUhHOx5iFGJMjnWH2m3qf5NaIQXXF07sxaDVvm4jAZW1mmYPujgXrV37efxJKx0+E6YDpIjFSsPXfq3o8JglCdTiZqIpbkPR3A+gWHyw5FjCyDtMtP5Cq5Kjis4OxCbv49qwIbWocKb43PprJxMF+OkxKvWpkuD1L0HOLWocGk8wkF6OWqPUphXJ2TNXwH0YKa1D4xE3JSCukCOItYAHVf7uQ7X8z0jricWUUea4bK3TpQIedRAfxVvrcG4u2jp79JqlHMTaY6uQlGd93dgpALcNBnjryeaxCVv2Gllg07Hq+dUf3ykqnAwyRFraZj170PoqzIYK9jcR65+vzkRYdecGyj21XljRMSRLU4Ab/tIGkgAsMvCwpbykE1hxSN1KqB/EJEyCv2808a54VcWSJBkj2Tlc4SqARHcoVSJjt0iSxZ6aNIPmENyKsjiw7BHUKiDNbz2i+FqgJc35dgfuHwoasdpkD1VNCEnbhQDesXUlQOmEqUGyPdichW4kCdufOEEeeFQWmYx3sm5sXVN5nWjyq4CjLa/vU59l3fEntcSuNWX4L1TDxWCyIUExg3Uy8= X-Forefront-PRVS: 0238AEEDB0 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6009001)(7916002)(39450400003)(24454002)(50986999)(53546006)(33656002)(50466002)(54356999)(76176999)(4001350100001)(8676002)(53936002)(23726003)(4326008)(66066001)(47776003)(7736002)(3846002)(110136004)(38730400002)(6496005)(6246003)(33716001)(6116002)(54906002)(2950100002)(189998001)(305945005)(42186005)(1076002)(5660300001)(83506001)(81166006)(6916009)(9686003)(55016002)(2906002)(6666003)(25786008)(92566002)(42882006)(575784001)(229853002)(18370500001);DIR:OUT;SFP:1101;SCL:1;SRVR:CO2PR07MB2582;H:hardcore;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;CO2PR07MB2582;23:Eno32SCIOhA8sNiliF9n1sVyXeoKaL12mW1IeBh5W?= =?us-ascii?Q?qe2W2s75loxwsbnPxS/uelbNkf4pczFhD2ZZWphH7QULi6uuXIhI/fOChuNJ?= =?us-ascii?Q?Z/BGqyRBG3JMluhywmiRO/F0zEiIqTxqI3ugUIeLWLw4jOBguCAeFYpmOR9X?= =?us-ascii?Q?6svuEGgzTyDbHtdbXx+O1O1I9zghHWnrlLaqog3gbTNJU3WQMpGcIfICbjlQ?= =?us-ascii?Q?LOMqyC1Gj3C4cZpQiR5N0r+yFVGp25tdRUmeIH80OwneELzr7vsslum1WxWr?= =?us-ascii?Q?pLdOKLs067uZb7BVlu++YOvGaOVQSkEdiLcAR8CYMFTHXD9gP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ginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2017 11:10:09.7175 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR07MB2582 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3720 Lines: 101 On Fri, Mar 03, 2017 at 12:47:06PM +0100, Ulf Hansson wrote: > On 6 February 2017 at 14:39, Jan Glauber wrote: > > Add description of Cavium Octeon and ThunderX SOC device tree bindings. > > > > CC: Ulf Hansson > > CC: Rob Herring > > CC: Mark Rutland > > CC: devicetree@vger.kernel.org > > > > Signed-off-by: Jan Glauber > > Signed-off-by: David Daney > > Signed-off-by: Steven J. Hill > > --- > > .../devicetree/bindings/mmc/cavium-mmc.txt | 60 ++++++++++++++++++++++ > > 1 file changed, 60 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/mmc/cavium-mmc.txt > > > > diff --git a/Documentation/devicetree/bindings/mmc/cavium-mmc.txt b/Documentation/devicetree/bindings/mmc/cavium-mmc.txt > > new file mode 100644 > > index 0000000..b79e356 > > --- /dev/null > > +++ b/Documentation/devicetree/bindings/mmc/cavium-mmc.txt > > @@ -0,0 +1,60 @@ > > +* Cavium Octeon & ThunderX MMC controller > > + > > +The highspeed MMC host controller on Caviums SoCs provides an interface > > +for MMC and SD types of memory cards. > > + > > +Supported maximum speeds are the ones of the eMMC standard 4.41 as well > > +as the speed of SD standard 4.0. Only 3.3 Volt is supported. > > + > > +Required properties: > > + - compatible : should be one of: > > + cavium,octeon-6130-mmc > > + cavium,octeon-6130-mmc-slot > > + cavium,octeon-7890-mmc > > + cavium,octeon-7890-mmc-slot > > + cavium,thunder-8190-mmc > > + cavium,thunder-8190-mmc-slot > > + cavium,thunder-8390-mmc > > + cavium,thunder-8390-mmc-slot > > + - reg : mmc controller base registers > > + - clocks : phandle > > + > > +Optional properties: > > + - for cd, bus-width and additional generic mmc parameters > > + please refer to mmc.txt within this directory > > + - cavium,cmd-clk-skew : number of coprocessor clocks before sampling command > > + - cavium,dat-clk-skew : number of coprocessor clocks before sampling data > > + > > +Deprecated properties: > > +- spi-max-frequency : use max-frequency instead > > +- cavium,bus-max-width : use bus-width instead > > + > > +Examples: > > + mmc_1_4: mmc@1,4 { > > + compatible = "cavium,thunder-8390-mmc"; > > + reg = <0x0c00 0 0 0 0>; /* DEVFN = 0x0c (1:4) */ > > + #address-cells = <1>; > > + #size-cells = <0>; > > + clocks = <&sclk>; > > + > > + mmc-slot@0 { > > + compatible = "cavium,thunder-8390-mmc-slot"; > > + reg = <0>; > > + voltage-ranges = <3300 3300>; > > + vmmc-supply = <&mmc_supply_3v3>; > > The vmmc supply as a regulator provides you with the voltage range, > thus you don't need the "voltage-ranges" here. Please remove this. OK, I'll drop these. thanks, Jan > > + max-frequency = <42000000>; > > + bus-width = <4>; > > + cap-sd-highspeed; > > + }; > > + > > + mmc-slot@1 { > > + compatible = "cavium,thunder-8390-mmc-slot"; > > + reg = <1>; > > + voltage-ranges = <3300 3300>; > > + vmmc-supply = <&mmc_supply_3v3>; > > Ditto. > > > + max-frequency = <42000000>; > > + bus-width = <8>; > > + cap-mmc-highspeed; > > + non-removable; > > + }; > > + }; > > -- > > 2.9.0.rc0.21.g7777322 > > > > Kind regards > Uffe