Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5631594ybl; Tue, 14 Jan 2020 12:13:31 -0800 (PST) X-Google-Smtp-Source: APXvYqx6s9t4o1UFU4W6srEeI6P349zs5XdW7iny9xf01dxfFhZ9l3P4bk3XhIfU1DUFqzYOx7ht X-Received: by 2002:a05:6808:244:: with SMTP id m4mr18377138oie.125.1579032811452; Tue, 14 Jan 2020 12:13:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579032811; cv=none; d=google.com; s=arc-20160816; b=Au5oI00aEoz5wr7LlY2oOVAXSL3M336bGraWOxkfQ+ld+K19T05eMTEKPiujWzLsxu hC5IOvu0OD49dKxJR2CRxJly5Tadh11TF2kyhGCkDzDuGvNP0s5GRAwd6IKcJa00Fh6y 382Ki5qxuMwMX9VvuTekFgzLCBsM4GPLKlJ6TOMkGz0J2DMFoSEhnR04w3ClwVH/Iu8N ywTIhWQd/wiPg+2dgeXGSnWDaqlPALjUp+7nAyPha4roS1ofn90CZhY2Ft+ECmTC/Lmx 2dbqUwi4kUzOUi5H5CHiXaI5R59a33dRXSLTzV4C6Mqfn5v7ALl4JHvivYEZwUvnahSy uPzg== 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=vV+GJ0x1tGGP4SM4rLH+VCpE9DGndiHHm1uWDluzfFg=; b=OLdADAbavcKMl9siX0XYcRsQdALtgqN90XWw7PVTf9bY4ahDnZ+wXvduA5IY8YQUwi s8FJ6cn5RiXIyVsjBJ/vFo0yyLSiw6ZS5HY90CuALXNAmUNu1NWDzZJpWG9tcLZnRJIh M3EojmzE/rWOuQBIYJajnutOGsLoSNGvcfPjx+Ha8j7/RkjNwIZde2eiv+GXDdRfkE8N 3Y9X0326HNOtmwvqGaaQX/XPyLgLl2CiJe81GroSDAVgmu2LjVAMXIrRwfjMNftY5yBQ sR+EhcYner61vmohHg0e5rxrJuH9TyyRAo/yQQwW/99mxgLBhu8+BolW1QqMapyHdMuE tnAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=RB4FekL2; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j7si8444630otp.323.2020.01.14.12.13.19; Tue, 14 Jan 2020 12:13:31 -0800 (PST) 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=@googlemail.com header.s=20161025 header.b=RB4FekL2; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728779AbgANUMX (ORCPT + 99 others); Tue, 14 Jan 2020 15:12:23 -0500 Received: from mail-ed1-f66.google.com ([209.85.208.66]:41808 "EHLO mail-ed1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726491AbgANUMX (ORCPT ); Tue, 14 Jan 2020 15:12:23 -0500 Received: by mail-ed1-f66.google.com with SMTP id c26so13145643eds.8; Tue, 14 Jan 2020 12:12:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=vV+GJ0x1tGGP4SM4rLH+VCpE9DGndiHHm1uWDluzfFg=; b=RB4FekL2abu4zjxBeac2aIhtA1DQAYxku4TPR9xLduBUYzFIngDIvUVfWQl0NeSFGb foVcKgTtxAdlUNiPHyHsR3TAFANiNEknpe7Z+iwFIPR7H+VR8eBICh8MfO1KvRl9HoeX bT/JUkpT9TXwEW7Gzk+NAOXDtlxespc8KQULYfbJX4iYLAoNlpgMLtKt4cPjVl/td1Lq R18CdZfE713rmYAkkZEdn8xe33CUV55cn78GHb7YCcFeLce7T80FsBmt1lSBs2rMudRE MTDsrkBv7p68mTNKUayOrlvBGI62M7pnQB/x0T8UrOLSyWwa3SIhrlon2dWKpsGCAROq PTqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=vV+GJ0x1tGGP4SM4rLH+VCpE9DGndiHHm1uWDluzfFg=; b=rTiAMVh3GE8JkM9SB8uANx/N0TOn3QrX8437TPTpCztoNXl9hcolbTHIHAkBQuA0kT 2/yGAFf0CMYoxmKKK0KXh3p/7p2YQUegBuOHXPARzWglqmEwaxWNAKekepIuyOLJDdzP Z1JB9pPvyjv6sesjqA+xGpqThYgVLirTm8vAUTgevpou1kqskm7ScXlhscPCnUm0lyXN 8bWoYrB4WhdLwHMPXaRIjLpDHIFiVHH8CqZP5QR61fZ+A7ZKtAKz/jXyhe5z4116FeG1 dPNVqaSqwvHG8EUNCOMOiPQHMb80cmS6W+iJfP1kigJqbUU9aRsYlguRD5Imx3OhUvVB Gjjg== X-Gm-Message-State: APjAAAUiYOPdoqfH4QcZLoKHj/RNOC+rJlUMusKMPSwiPotXzrNv/YpU XDx7PHzS9PYHb+8S6oAQvBzGGBaNYKfURx0PVFI= X-Received: by 2002:a50:875c:: with SMTP id 28mr6886375edv.271.1579032741448; Tue, 14 Jan 2020 12:12:21 -0800 (PST) MIME-Version: 1.0 References: <20200112002459.2124850-1-martin.blumenstingl@googlemail.com> <20200112002459.2124850-2-martin.blumenstingl@googlemail.com> <20200113211020.GA12476@bogus> In-Reply-To: <20200113211020.GA12476@bogus> From: Martin Blumenstingl Date: Tue, 14 Jan 2020 21:12:09 +0100 Message-ID: Subject: Re: [PATCH v4 1/3] dt-bindings: mmc: Document the Amlogic Meson SDHC MMC host controller To: Rob Herring Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-mmc@vger.kernel.org, ulf.hansson@linaro.org, jianxin.pan@amlogic.com, mark.rutland@arm.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, lnykww@gmail.com, yinxin_1989@aliyun.com 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 Hi Rob, On Mon, Jan 13, 2020 at 10:10 PM Rob Herring wrote: > > On Sun, Jan 12, 2020 at 01:24:57AM +0100, Martin Blumenstingl wrote: > > This documents the devicetree bindings for the SDHC MMC host controller > > found in Meson6, Meson8, Meson8b and Meson8m2 SoCs. It can use a > > bus-width of 1/4/8-bit and it supports eMMC spec 4.4x/4.5x including > > HS200 mode (up to 100MHz clock). It embeds an internal clock controller > > which outputs four clocks (mod_clk, sd_clk, tx_clk and rx_clk) and is > > fed by four external input clocks (clkin[0-3]). "pclk" is the module > > register clock, it has to be enabled to access the registers. > > > > Signed-off-by: Martin Blumenstingl > > --- > > .../bindings/mmc/amlogic,meson-mx-sdhc.yaml | 83 +++++++++++++++++++ > > .../dt-bindings/clock/meson-mx-sdhc-clkc.h | 8 ++ > > 2 files changed, 91 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.yaml > > create mode 100644 include/dt-bindings/clock/meson-mx-sdhc-clkc.h > > Fails 'make dt_binding_check': > > Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.example.dts:17:53: > warning: extra tokens at end of #include directive > #include ; > ^ > Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdhc.example.dts:17:10: > fatal error: dt-bindings/clock/meson-mx-sdhc-clkc.yaml: No such file or directory > #include ; > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sorry for that - I'll fix it in v5 [...] > > + clock-names: > > + items: > > + - const: pclk > > + - const: mod_clk > > + - const: sd_clk > > + - const: rx_clk > > + - const: tx_clk > > + - const: clkin0 > > + - const: clkin1 > > + - const: clkin2 > > + - const: clkin3 > > Kind of odd to put the output clocks in the middle of the list. I'll have to re-send this anyways so I'll put clkin[0-3] at the start of the list Martin