Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3672231imm; Mon, 1 Oct 2018 02:32:09 -0700 (PDT) X-Google-Smtp-Source: ACcGV61eF4GljvuoMr5RjQxF+ST8CScAFGH6Am+PY3h2ESXJuR2POpWs/xuXl6K0/9aijlTIud/i X-Received: by 2002:a65:6295:: with SMTP id f21-v6mr9709855pgv.167.1538386329112; Mon, 01 Oct 2018 02:32:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538386329; cv=none; d=google.com; s=arc-20160816; b=GHDTMuH9kVLKs7kQkK2VrWIRSYr0h66DN8619lTIk/zEfG5z4sVIyGTbHWdym2BRnR yBr8caK/LdV3H6LCQS70wGSu/YR0y7IsaVGlzxI9jqnQeG/1UTNtUzsFZvS0zlHJxoxT gptgVTorfS7AE6p4uPsnlMP/4kSZGbdqN+rMS41bFXUzQP/IJBefeSoFq4yGelmEZ6PL YQdcIVPSK8yk1yCtvVMUTyizO6HZcnVJBiG1Xx44BgRv7+3UDFkj8y5NSfhFIXMTnn9t h/gdhGTAXaO7WGDXBJV9mtI4SzqmRh98a56UPYeO2qrVXr9C5RQ3Bd3dJa/ViZFPhffo mnGA== 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 :references:in-reply-to:mime-version:dkim-signature; bh=B2uwAe7owLlekMWJ20nqwBIP27KWq8M/DXVcusnvDq0=; b=w3XRq19dwfwKKqJTUIiRmBNh0PP9wW5e65nS6ZHMKhcrtjSaRtpmXorDKHE1PaMDBn QnOFmaWk6fm9si75NVPPIiCROOue8XrhYVFDi1AoSDeqdTqPIHGqZ7Whi5oJy52e1y6x cuAt9VIC5fBPN/f1yMi7fo4Wz8sjYZJcWMfJHuhvDa/11v9La4pG6xEnrKjoezMQizS8 KoapdislGQ+iC1y0stQ5YTZ0N3ULFnxdbu6ofEfQ5ZG8B/IvgjOjypWAlNQ2B3K+DNim lQIQOuSzNCOsINBAND1A4FZx6z51vE2eXfgWFBcgWGR86O+YtyyyWZEpQTbAhfXU2NdJ CnXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EI9UCWUl; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o3-v6si15409676pfo.342.2018.10.01.02.31.54; Mon, 01 Oct 2018 02:32:09 -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=@linaro.org header.s=google header.b=EI9UCWUl; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729227AbeJAQIb (ORCPT + 99 others); Mon, 1 Oct 2018 12:08:31 -0400 Received: from mail-it1-f195.google.com ([209.85.166.195]:37857 "EHLO mail-it1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729148AbeJAQIa (ORCPT ); Mon, 1 Oct 2018 12:08:30 -0400 Received: by mail-it1-f195.google.com with SMTP id m9-v6so10472433ita.2 for ; Mon, 01 Oct 2018 02:31:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=B2uwAe7owLlekMWJ20nqwBIP27KWq8M/DXVcusnvDq0=; b=EI9UCWUlNg1anm0yx3ePxhk1KSBLOZSDoPXjNCUVZqWnScRr68KpEBh7qK8hZQjuSJ WTj6YspCMbOfzWrtUA5mAzT3OAVJbZEZpgitj/TKAqvD0XYIFYeqIfxIpF+0chQvWslk 95PRtCuYVgtSkITk04nAStL25sZx4DixuXwao= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=B2uwAe7owLlekMWJ20nqwBIP27KWq8M/DXVcusnvDq0=; b=UwLXNNEzBQeA2h68ms1weQ1cpmVM8VXPNJx4eIvg2O3ahS4tUmml/bKkv/+uXmjnvh eAcwv5PDirTAdRVmNVSWg4ZQTTKm7Zc48Zs5Y0SWd9gfxlHTt/lSfTEgP5xg6RAoFnpY 8AWmdDetMZziVSVwFBLP4yPSTqmiSg94A+CY1O8bUQ0ogbEagAkrSqnN7tnJFezEi1W9 rUwQHfMwIwMHE6MhwOb17xCPr9IByisC3S4Vi4EcBXMNHO2vVsbLHqGh4vWR2IyqJWRo 4Ue2E53pSfsBaPp2Ss+7BRsP/Igg280JztHGKtDlMop+tn9Cc+1vfe/73KgwbDW8JpoF 4GMA== X-Gm-Message-State: ABuFfojVvfP6WMSBcYq3golJd6dMyileJYJl6ImL1GUbRZAsUUpDaV8Z IIS5R3NiNhcLY/BKjGXEw2ztUSQdsLIsm5HNRt95aQ== X-Received: by 2002:a24:3fc6:: with SMTP id d189-v6mr9005129ita.64.1538386298554; Mon, 01 Oct 2018 02:31:38 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:3941:0:0:0:0:0 with HTTP; Mon, 1 Oct 2018 02:30:58 -0700 (PDT) In-Reply-To: <1537523181-14578-27-git-send-email-ludovic.Barre@st.com> References: <1537523181-14578-1-git-send-email-ludovic.Barre@st.com> <1537523181-14578-27-git-send-email-ludovic.Barre@st.com> From: Ulf Hansson Date: Mon, 1 Oct 2018 11:30:58 +0200 Message-ID: Subject: Re: [PATCH V2 26/27] mmc: mmci: add DT bindings for STM32 sdmmc To: Ludovic Barre Cc: Rob Herring , Maxime Coquelin , Alexandre Torgue , Benjamin Gaignard , Gerald Baeza , Loic Pallardy , Linux ARM , Linux Kernel Mailing List , DTML , "linux-mmc@vger.kernel.org" , linux-stm32@st-md-mailman.stormreply.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 On 21 September 2018 at 11:46, Ludovic Barre wrote: > From: Ludovic Barre > > STM32 sdmmc variant has support to: > -Indicate signal directions (only one property > for d0dir, d123dir, cmd_dir) > -Select command and data phase relation. > -Select "clock in" from an external driver. > > Signed-off-by: Ludovic Barre > --- > change v3: > -remove space at end of "st,use-ckin " > > Documentation/devicetree/bindings/mmc/mmci.txt | 9 +++++++++ Please split this. DT doc changes should be separate patches. > drivers/mmc/host/mmci.c | 6 ++++++ > drivers/mmc/host/mmci.h | 1 + > 3 files changed, 16 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mmc/mmci.txt b/Documentation/devicetree/bindings/mmc/mmci.txt > index e952707..d678933 100644 > --- a/Documentation/devicetree/bindings/mmc/mmci.txt > +++ b/Documentation/devicetree/bindings/mmc/mmci.txt > @@ -19,6 +19,7 @@ Optional properties: > the ID provided by the HW > - vqmmc-supply : phandle to the regulator device tree node, mentioned > as the VCCQ/VDD_IO supply in the eMMC/SD specs. > +specific for ux500 variant: > - st,sig-dir-dat0 : bus signal direction pin used for DAT[0]. > - st,sig-dir-dat2 : bus signal direction pin used for DAT[2]. > - st,sig-dir-dat31 : bus signal direction pin used for DAT[3] and DAT[1]. > @@ -26,6 +27,14 @@ Optional properties: > - st,sig-dir-cmd : cmd signal direction pin used for CMD. > - st,sig-pin-fbclk : feedback clock signal pin used. > > +specific for sdmmc variant: > +- st,sig-dir : signal direction polarity used for cmd, dat0 dat123. > +- st,neg-edge : data & command phase relation, generated on > + sd clock falling edge. > +- st,use-ckin : use ckin pin from an external driver to sample > + the receive data (example: with voltage > + switch transceiver). [...] Kind regards Uffe