Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4806805ybi; Mon, 15 Jul 2019 15:17:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxdVoZWH1CzoXxLRk7AKAbwdTyOWQOYB4NZn/C3DsZz/e0diy36fNwmo2cKBUZ+KvJbDM2P X-Received: by 2002:a17:90a:9f4a:: with SMTP id q10mr31712777pjv.95.1563229067827; Mon, 15 Jul 2019 15:17:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563229067; cv=none; d=google.com; s=arc-20160816; b=v8cli5EJzCZ2iBVMNhSMv3tdl0XOeYIjurxjz/fwq/FriBmu4EHgXkYmSDVxTeyjTN fkFgiLLYo6NvgzqAGcF6/GTowe5+253eDYNqcp6Fs6aYp5DcHZz3Ktt+VqwmTJNxcAkU CaMh1XAWEGmHECeqIX1dY6FB563mO7ws4DWGM6bcoWwbtB4g7ssfYRXxCHO8Xwnbsnrw 6O855NEewGGhPJtjcP1PyD2OTuUaravGIcpj1oeIK7nTozRkRgp2H/KNuFd4Jt1Unle5 C+u/CmeateTxGR1YqGglFb3JaAvMI+anPCLWF+Y373pfDCkM4rCMZ9KrUzJxvxUWTpC0 7UNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=e3Y0l87wXe+R9CqcGJNUgbnUSFHfTbq3FRTtcQDd73c=; b=ok9YgSpMKXJXrlsMeHbenNtg1VLwe0b76adIrqsF+0lnbCHSwoR9Iz/+e/QTOQGSJe HXDusQlujqPtDf1dX4tK1bRTBD9BcFsYlP8byIlPml8ezdReYxEXTwv6UofYegBnz10P SvOFUMxi73ucT0mUVwwbFej3Te88sVX/9wpaL/GHjeEouWsDnejwdajJMAnXDwgPQeZe 0UNisb7bfB9lWOvP4FIVnQOL0dfVFlfVmBcDzJebTgM37nE1QmyNqChTF1piBxh9qtYY KWEExKyDL0gfWSI49l6NBpP/0zb2wdOy//H9nsUBt4kbaYcE72zivloyFUs0EqugxFZ5 c3hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=qCV88PL5; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y186si17457296pgd.440.2019.07.15.15.17.31; Mon, 15 Jul 2019 15:17:47 -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=@kernel.org header.s=default header.b=qCV88PL5; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732986AbfGOWRI (ORCPT + 99 others); Mon, 15 Jul 2019 18:17:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:36294 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727862AbfGOWRH (ORCPT ); Mon, 15 Jul 2019 18:17:07 -0400 Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4B5182173C; Mon, 15 Jul 2019 22:17:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1563229026; bh=BlwpHGRzUKug6tnX6UBU925svxeIAUzPx9AZvkYOfuc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=qCV88PL5gv6dKBdE4udTyZH0Mew03T4PslZjo7f69A4VS3mujZNQnJukYk1RIBwGe 7gEEL7cR5AVZbNAcq4HXv9KvoXEIpIWNu0wH6aqqbuiMjFPb/RckAWHyqiLCd2TPQZ BCqmABthxE36G96WtYzeEIuNPCaJZmkaYf9CYSaE= Received: by mail-qk1-f169.google.com with SMTP id r6so13001758qkc.0; Mon, 15 Jul 2019 15:17:06 -0700 (PDT) X-Gm-Message-State: APjAAAVbp7twyf09MoD8YrAx7yFJz46WIdH7kzoFLLZIX4wrTRlbVOLK AWKpzAMPxcWzTVxfauS2SPhv9iaefQuGfqLfGA== X-Received: by 2002:a37:a48e:: with SMTP id n136mr19091615qke.223.1563229025489; Mon, 15 Jul 2019 15:17:05 -0700 (PDT) MIME-Version: 1.0 References: <20190712033214.24713-1-andrew@aj.id.au> <20190712033214.24713-2-andrew@aj.id.au> In-Reply-To: <20190712033214.24713-2-andrew@aj.id.au> From: Rob Herring Date: Mon, 15 Jul 2019 16:16:54 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/2] dt-bindings: mmc: Document Aspeed SD controller To: Andrew Jeffery Cc: linux-mmc , Ulf Hansson , Mark Rutland , Joel Stanley , Adrian Hunter , devicetree@vger.kernel.org, "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-aspeed@lists.ozlabs.org, "linux-kernel@vger.kernel.org" , Ryan Chen Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 11, 2019 at 9:32 PM Andrew Jeffery wrote: > > The ASPEED SD/SDIO/eMMC controller exposes two slots implementing the > SDIO Host Specification v2.00, with 1 or 4 bit data buses, or an 8 bit > data bus if only a single slot is enabled. > > Signed-off-by: Andrew Jeffery > --- > In v2: > > * Rename to aspeed,sdhci.yaml > * Rename sd-controller compatible > * Add `maxItems: 1` for reg properties > * Move sdhci subnode description to patternProperties > * Drop sdhci compatible requirement > * #address-cells and #size-cells are required > * Prevent additional properties > * Implement explicit ranges in example > * Remove slot property > > .../devicetree/bindings/mmc/aspeed,sdhci.yaml | 90 +++++++++++++++++++ > 1 file changed, 90 insertions(+) > create mode 100644 Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml > > diff --git a/Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml b/Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml > new file mode 100644 > index 000000000000..67a691c3348c > --- /dev/null > +++ b/Documentation/devicetree/bindings/mmc/aspeed,sdhci.yaml > @@ -0,0 +1,90 @@ > +# SPDX-License-Identifier: GPL-2.0-or-later > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/mmc/aspeed,sdhci.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: ASPEED SD/SDIO/eMMC Controller > + > +maintainers: > + - Andrew Jeffery > + - Ryan Chen > + > +description: |+ > + The ASPEED SD/SDIO/eMMC controller exposes two slots implementing the SDIO > + Host Specification v2.00, with 1 or 4 bit data buses, or an 8 bit data bus if > + only a single slot is enabled. > + > + The two slots are supported by a common configuration area. As the SDHCIs for > + the slots are dependent on the common configuration area, they are described > + as child nodes. > + > +properties: > + compatible: > + enum: [ aspeed,ast2400-sd-controller, aspeed,ast2500-sd-controller ] This is actually a list of 4 strings. Please reformat to 1 per line. Rob