Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1157124imu; Wed, 9 Jan 2019 12:41:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN7MhFzIV0YEqbBT23j8HAiqlR3z0MWWfgx4e50f14B7W+1FzP++VrkW5sqWAC8DZIP1Rdol X-Received: by 2002:a17:902:d202:: with SMTP id t2mr7630154ply.193.1547066510821; Wed, 09 Jan 2019 12:41:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547066510; cv=none; d=google.com; s=arc-20160816; b=Ua+gUREUxGtRrMcTfNYjrmhewLHUemNNgmRv3wq+7+sAiDTxWqpK7F3YP4arklyPlS vE+rDC/z09eSRwDsZty2c4JytjyQE+1QnvrqoDGLaPcsZr8L13PWFwV5YDFW9Vuf7u8y Y42JqXjaR7Zp2OWn9sbbxh7HWUEkbdy7Hb9gqANxNa3OsY/hWbQez+UmY7N+y8yq5rUt ztumXLX+eEfqia20TYWRsomV7fo+57l6zp5kM0Fss5nBRuQAC3yZuIImXv6oUZpCIEJr VkPmgjdPEiuJUa6cUqW7c3vT9e516oyhusE+9ntRJsly875ZbbDMqyvNWlTrQNiwj4Vk L3DA== 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=ce/DODD26yFEvlMGuasUOyI+VFOgUCm+7GsCPyVgRv4=; b=xsQAPcvFxTMkz73Cf0v5QpxpiojcrRTNpaqg3zyCpoeaE+0snjTop6AMKbCkMf1cPV 06kRIk7zdr4+/mySxXO6HxkOGcD1OXYCVdy4EXPm1GzpRnfD0gm/1wikCI9DyN1vOZTS Vg2gGD2XtFG7b/H9Kj4Taxr3S2JLW76KyYx0Hz6u5YFRuCK8uh12Qe30Uy3HRuPquBMW 1ofc66V4HGfUeNmlobQgw0hXTpn2Sd4rm6SfPgVR+1DYssiNaS5qbEmO273Wbli4Zq+A +s08lJe0OgfdkqO8L8xDC7trN9fERrRWRNs+iLx6I2LxMXC69vFf67/jU4RlJvYaPDox MDcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IY8xSVKB; 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 g3si71799428pgo.595.2019.01.09.12.41.35; Wed, 09 Jan 2019 12:41:50 -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=@linaro.org header.s=google header.b=IY8xSVKB; 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 S1727714AbfAISbI (ORCPT + 99 others); Wed, 9 Jan 2019 13:31:08 -0500 Received: from mail-lj1-f194.google.com ([209.85.208.194]:45369 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727701AbfAISbH (ORCPT ); Wed, 9 Jan 2019 13:31:07 -0500 Received: by mail-lj1-f194.google.com with SMTP id s5-v6so7328926ljd.12 for ; Wed, 09 Jan 2019 10:31:06 -0800 (PST) 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=ce/DODD26yFEvlMGuasUOyI+VFOgUCm+7GsCPyVgRv4=; b=IY8xSVKBxUihEieMmiVeZWlluuxX+wotnXcvpzcCJW3eo+hdTOHWSsR5o5pDJCjBJk zPf/Mo9wlkwaAk1Pp8GgB91IMTBD1/17RbQ0tNVp/pLSlIEkaN5PAeS0715SXGIaTeNl 1OHEzC1fC1LYVzESSkOwI9KWg09cg9PZa7uH8= 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=ce/DODD26yFEvlMGuasUOyI+VFOgUCm+7GsCPyVgRv4=; b=MMIBA31P0qAjSDuWfg+7Po6PvB+EOUXXEWsqbPMWEYtbbRgSAUun+nNX6oI5lgZssf ijCovcgl6z0MIJWObW6isg1zFO3+EqS8XDRfjEgrqNACVfNYyrvGoB8TEHveXSbC7RcN P5ymvfAe70rLxc78Qt4crmZ8tZRjMMPkwOwZzRUgjMjudrsiTQz/cT3uQrlgCBJUktgo LVKwqGc32ZbYjS+Cl00WU3ccuekhOzwPR6hb0BB+fFfS9nRMdns1aLhQT7tr61JqqcOj M8/DPFTtZNzwZ0g0GxHBjQ29pL+OAEUg+ndNPyunGkxYvN0wkdqzwrRZ5GiwKXUAXgw/ fH2Q== X-Gm-Message-State: AJcUukcEzVY5tJX7SAiicevYVUYLUdTEpgUhDpEh414gDPPFZXUBF7Sd 0+wRa7yzDR3a3PuZpR2rUkSom6mS0L2VQJay1zeu6Q== X-Received: by 2002:a2e:9849:: with SMTP id e9-v6mr4088776ljj.9.1547058665214; Wed, 09 Jan 2019 10:31:05 -0800 (PST) MIME-Version: 1.0 References: <1547042198-17601-1-git-send-email-lollivier@baylibre.com> In-Reply-To: <1547042198-17601-1-git-send-email-lollivier@baylibre.com> From: Linus Walleij Date: Wed, 9 Jan 2019 19:30:52 +0100 Message-ID: Subject: Re: [PATCH v2] arm64: dts: meson: Fix mmc cd-gpio polarity To: Loys Ollivier , Martin Blumenstingl Cc: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Kevin Hilman , "open list:ARM/Amlogic Meson..." , Linux ARM , "linux-kernel@vger.kernel.org" , Jerome Brunet 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 Ollivier! On Wed, Jan 9, 2019 at 2:56 PM Loys Ollivier wrote: > Commit 89a5e15bcba8 ("gpio/mmc/of: Respect polarity in the device tree") > changed the behavior of "cd-inverted" to follow the device tree bindings > specification. > Lines specifying "cd-inverted" are now "acitve high". > > Fix the SD card for meson by setting the cd-gpio as "active low" according > to the boards specifications. > > Fixes: 89a5e15bcba8 ("gpio/mmc/of: Respect polarity in the device tree") > Signed-off-by: Loys Ollivier > > v2: fix more occurences, also in other meson boards. This is a good change in itself since it gets rid of some occasions of the dreaded "cd-inverted" property. I think Martin Blumenstingl already sent patches like these though (I might be confused). But we should keep the old device trees working as well. Can you test if Martins patch: https://marc.info/?l=linux-mmc&m=154637189021211&w=2 Also makes your boards work? Yours, Linus Walleij