Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1892825imu; Thu, 10 Jan 2019 05:00:10 -0800 (PST) X-Google-Smtp-Source: ALg8bN6eRCdkN02tH9k90mlITR4Tmx7Oq7Ql00dhqxEYvsBLmNAF8ucx37uCt+BpXDR0JGxCml/m X-Received: by 2002:a63:8e43:: with SMTP id k64mr9248111pge.346.1547125210052; Thu, 10 Jan 2019 05:00:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547125210; cv=none; d=google.com; s=arc-20160816; b=fQjA61JnihlfE0UkR/DIumiTWd3gmmsIJ9bpWtjAgmYEahbfcN0IPYVJixbFvOnMdA jzyjuuo+pywFE1XupzHQufsHpK2YCRaPbHC52HgwZUkXtLOG/b9ey+HMOvM4Ge7oV8j/ S3TuNmQPZfdInh2142WZQ6Cx7J6XbomCCcWg7e2wWyecdYtg47617kRx0LLbKqq7aMtG McmyGM9IeM3YiwiiSXulwNG9jq2uMt8jakpK3fZBgrcZ2xc+pkKJQd7/sh6A20V9nvWX WqjD0eoRbUU0pae0LVNvtY43MfxoqfLNO4UG9vUzN/WEn3NlHLT6RIYo8lUk7Pu1KOht WCIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:in-reply-to :subject:cc:to:from:user-agent:references:dkim-signature; bh=Ghyg2fTNZ6AJK2z+KTbcv4WJQiMtAvnC4S83tmSQRP4=; b=AoSlGk36rGTPb9MNKYrntF7TsBPhC0QmKzc5H5/PyzIUVUczDx3bcoHlsF1irey4XL dpYtob0V15UWIYY3+TJzUWPI4ORfm44YlhET+ecSip1hTpZQBtaWI5hSFVCrUetHTq3P CiWX/vuNtkbmilTM0yY8GLAqLqCr82AUph34d3fG9dQWO2qgAv64rEGblCK3KMQWXluv wcAd7cMCgvDTXjpplQ5UxUVZ8AZaP66eP7djTXKKVgBccx/m8XRYHNiPvkktyJ0/8ExD RlQmGlgg41fzK5zHmgBcdO99ogRigfxvxl3aE+YWH9mX6vMMW1hKnHMWDVnpi5hLzjN/ 6HxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=uZkhceZf; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x32si6451056pld.316.2019.01.10.04.59.54; Thu, 10 Jan 2019 05:00:10 -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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=uZkhceZf; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728618AbfAJM6k (ORCPT + 99 others); Thu, 10 Jan 2019 07:58:40 -0500 Received: from mail-wr1-f65.google.com ([209.85.221.65]:35711 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726974AbfAJM6k (ORCPT ); Thu, 10 Jan 2019 07:58:40 -0500 Received: by mail-wr1-f65.google.com with SMTP id 96so11287653wrb.2 for ; Thu, 10 Jan 2019 04:58:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=Ghyg2fTNZ6AJK2z+KTbcv4WJQiMtAvnC4S83tmSQRP4=; b=uZkhceZfR2py7d6JlA3P0T64RdjXetk+fy7ZlrB/rXbQM1ZqBQslgfCLQDudjuyZIQ NzgwTpP32zvzf0WLV4rOKvjxVBOtNL/r90R2A8QMQq92fZCAMeRijpyu+xUh5Qfo4D0m SHtucDgiaiGLhMnmexlAvsHqfmORbsxOMsBu215v575BibZeuIIq8QDzZmZPjQ2XWfbn tvggYsbWc+98qiQ9alJ/h8qhSqxA2+ygUNcqFKYg24mb9BfoVPkkuNKO+KMjvGy5RK4F GK/LDtZozttRlbdiWmhw0swd1IngtGQdbKx/FJw2V9iEBsCwpvxiU9VR86Qc0NcEfDmY ViTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=Ghyg2fTNZ6AJK2z+KTbcv4WJQiMtAvnC4S83tmSQRP4=; b=R9DRnFwIZMUpOn9EHQ1c39Ma51J5qgXCphmJIEYqUkaz2RoyGTeCwAUYGXrd6WEwIN Em0XyPVYnZYSQjXUL1ag4pRT9jwVd5kij8t/9MhhzCi3LPryqDtLoeh1+AcGTQzSHLb4 HBHoxn4BdK732JdE70fL9ZvFRjBymZmX8pYAUIuVCzykuNv0NMDFcXe8QPeB1Lb9UZaN q2n6EWqBhFZ0FHlQkGDAmTwQl/0p2Q1uPidbW7IOq13qahRkpPMwRDDlPGd7haPhZ0+P Mp+T43GnC0jhDMVQpT05sf6Hx72tdDTytTGlFiwvSxPO7W2N12WVrC76I6lTs6YKvKuw 7iGg== X-Gm-Message-State: AJcUukdGyo5g5oextQpRnwHiwu9GoBTnMzzJQmY44ajEUPO8seS45ePk bTToK4PMB4Bo6O+sQuvLphl9Sw== X-Received: by 2002:adf:a58a:: with SMTP id g10mr9030831wrc.3.1547125118267; Thu, 10 Jan 2019 04:58:38 -0800 (PST) Received: from localhost ([2620:10d:c092:180::1:f5ef]) by smtp.gmail.com with ESMTPSA id v16sm49800567wrs.75.2019.01.10.04.58.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Jan 2019 04:58:37 -0800 (PST) References: <1547042198-17601-1-git-send-email-lollivier@baylibre.com> User-agent: mu4e 1.0; emacs 25.3.2 From: Loys Ollivier To: Martin Blumenstingl Cc: Linus Walleij , Loys Ollivier , "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 Subject: Re: [PATCH v2] arm64: dts: meson: Fix mmc cd-gpio polarity In-reply-to: Date: Thu, 10 Jan 2019 13:58:35 +0100 Message-ID: <861s5ku0sk.fsf@baylibre.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed 09 Jan 2019 at 22:14, Martin Blumenstingl wrote: > Hi, > > On Wed, Jan 9, 2019 at 7:31 PM Linus Walleij > wrote: >> >> 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". > there's a typo in the description - it should be "active" > Thanks I'll fix it. >> > >> > 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). > I sent patches for the 32-bit Amlogic SoCs > my TODO-list is now a bit longer, I'll test this series on my Khadas > VIM, VIM2 and Libretech CC during the weekend > I have seen Martin's patch for the arm boards. This adresses arm64 boards. Tested on libretech-cc. >> 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? > feedback on that patch is appreciated > Answered to the patch mail directly. Tested on libretech-cc, it works. Fixing the meson boards DT for future release would still be valid imho. > > Regards > Martin Best, Loys -- -L