Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp469826yba; Wed, 15 May 2019 04:41:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqzpy+clqzdK0kLhMf5BkLM47lppxR4xypjMfMiyR09rbXjqDD8YYTmUTJ/jFok1na8rUhkx X-Received: by 2002:a63:3182:: with SMTP id x124mr42631785pgx.364.1557920483571; Wed, 15 May 2019 04:41:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557920483; cv=none; d=google.com; s=arc-20160816; b=zkGf0N2pX/WRNxY8kN57tvyYOULjxcC2bKhk/DE1j+tpTBSRcyGL+d63DlN7HE9JxH lxho6KFheOhEf2J+R1bvnv5qwgnd8v3ae/hSLOpGDfWIk7mwBw98uQGM7m7Vqmyz1bZd xBmSKaR5VffG15bkkgH3wkuYvmJ4bFhBFaS4rxRVhaVxuH16dAlksdRhL8n0U1wTr0Pn qnMYku+sUB/MMtKBFxFls45oJZ8XbVbZCrRVUN3nvkPfHTo8CGHzu0+RMYw+5dcR6Iyy RHFHrXywuaqbNhY4/4A7+bPkglhfUbSpS87HMpEvHDTc/3dLER66a4WAU01DKKSQc5lo hLYw== 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=qhei19leC0v0ZA7DjLdtqOfvCqcIJBYFgz9DlYcngkI=; b=FTpO1hRiVr2IAAYIP3Bw6eHcUwAnweyP8wYxy7QBCBl+0fNW8hIY+zbepYaa4JApeF EtGdZXaAmdO3bLlvmPiMJ8gfrU/5Y8Rd2tfekKJWEvZFYrsRaVtf9/kH0uSKaXbgiP5j cv6as6Z7I8xFGBquJqWynhfV8v0FHHKRUIs/5REOadTqcev6ftt9l5K5uyiEVxUvill3 Zp+m+onfQ5n1yfi19CpCnoXqO4Qbo7Rq/jFKiFaqtxb/to5fRfld36o10aB+eFsCHpVA n8SJes1lfyXpqhh4l766q4iwAExMSZVrSeeg4u0hppcZTeNOZpFhMdHdVDUn+/crIn8j vJUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oaroJl5N; 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 l9si1832515pff.51.2019.05.15.04.41.09; Wed, 15 May 2019 04:41:23 -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=oaroJl5N; 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 S1731467AbfEOLiI (ORCPT + 99 others); Wed, 15 May 2019 07:38:08 -0400 Received: from mail-ua1-f68.google.com ([209.85.222.68]:40437 "EHLO mail-ua1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727962AbfEOLiG (ORCPT ); Wed, 15 May 2019 07:38:06 -0400 Received: by mail-ua1-f68.google.com with SMTP id d4so891193uaj.7 for ; Wed, 15 May 2019 04:38:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qhei19leC0v0ZA7DjLdtqOfvCqcIJBYFgz9DlYcngkI=; b=oaroJl5NO9j75iHIVOTNAlnBr/aL4E1ohUkTQsEeea3XZJ4vkAJGhQEDeBrR6d9ESr zglYQaxjZnMOHQ3PUAzn9NB1Y1VnE6M/XP5FhlAis8HoPvrB2vebngrgqVa63OIQlFjj 3QJBzbCLyw2i4gU1XWgA1ofiQgv26zC0eaoEgMsgG+D/RcTaw4TZ64Sk8h/VEN093i2D VBSUyrGXyWK7qYJQizQPcwPjf6UcDtZ0n8pIPGoRQfW3jieIYYVPlhywkXl3NSklXSgi blezqhaxahIUTuQ1COcVUiDME7s0xvpY2+3SXnOQNVSUFpIJH4Fs8c0pf+ZNxGB28k6K xqKQ== 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=qhei19leC0v0ZA7DjLdtqOfvCqcIJBYFgz9DlYcngkI=; b=Lr41/RsCPCrwbC5CASDtnfO0R6aVyNcPQpXLjj4QJPRkQsTZuqy4Ye3Ki+qxkQKkNt v4ITTa1jTmB8sZl8pvlAsa7/XrNwgyHOLDW1yFCALXp7hcA5kGQO+d5G/yzpV+1qX8Xr Xwa/B+WtUzJGNSqJ71DOo27yWP8+saga7PjF2IZGEGThebLxcTRxsQIhJRlpq6seG8gC WRW6PgAVSBqSYdjgy1J9HUNZ3EKDYNjiOw8YS79hVND2vnZEFjk4fsTvEiPTD1iLWrXl KB8E1f+aEKUb1DqTbaI6Xjd1BkO0vh+2SQswTVfbUuLQTvhP3EBnFcCqTlZOifxvHyda 8PSw== X-Gm-Message-State: APjAAAWhMlG/s0Z7LxUOovbu/Wkkhvq9RVACKBOM+dX6XCdicOtWZxe6 OT7G5nm5pSkF91sVi5n4+jCJ08rxUFE1GpCvprIT+g== X-Received: by 2002:ab0:2399:: with SMTP id b25mr300951uan.129.1557920285743; Wed, 15 May 2019 04:38:05 -0700 (PDT) MIME-Version: 1.0 References: <20190513091548.16674-1-narmstrong@baylibre.com> <20190513091548.16674-2-narmstrong@baylibre.com> In-Reply-To: <20190513091548.16674-2-narmstrong@baylibre.com> From: Ulf Hansson Date: Wed, 15 May 2019 13:37:29 +0200 Message-ID: Subject: Re: [PATCH 1/3] dt-bindings: mmc: meson-gx: add ddr-access-quirk property To: Neil Armstrong Cc: Kevin Hilman , DTML , baylibre-upstreaming@groups.io, "linux-mmc@vger.kernel.org" , "open list:ARM/Amlogic Meson..." , Linux ARM , Linux Kernel Mailing List 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 Mon, 13 May 2019 at 11:16, Neil Armstrong wrote: > > On the Amlogic G12A SoC family, (only) the SDIO controller has a bug which > makes any DDR access from the MMC controller fail. > > Add the amlogic,ddr-access-quirk property so signal this particular > controller has this bug and needs a quirk to work properly. > > Signed-off-by: Neil Armstrong > --- > Documentation/devicetree/bindings/mmc/amlogic,meson-gx.txt | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/mmc/amlogic,meson-gx.txt b/Documentation/devicetree/bindings/mmc/amlogic,meson-gx.txt > index 13e70409e8ac..f8914dab06c6 100644 > --- a/Documentation/devicetree/bindings/mmc/amlogic,meson-gx.txt > +++ b/Documentation/devicetree/bindings/mmc/amlogic,meson-gx.txt > @@ -22,6 +22,10 @@ Required properties: > clock rate requested by the MMC core. > - resets : phandle of the internal reset line > > +Optional properties: > +- amlogic,ddr-access-quirk: set when HW cannot access the DDR memory, like on > + the G12A SDIO controller. As stated on the other patch, may I suggest to use DRAM instead of DDR. Moreover, please mention that this is about the internal DMA support of the controller. > + > Example: > > sd_emmc_a: mmc@70000 { > -- > 2.21.0 > Kind regards Uffe