Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2092279ybc; Wed, 13 Nov 2019 08:53:24 -0800 (PST) X-Google-Smtp-Source: APXvYqym7xjZIWy2OMFV5X5M74KfkWlpOV4awCesUi905wpcvs+1UkNpbJOxhF21SVHEUH16TcqF X-Received: by 2002:a17:906:9481:: with SMTP id t1mr3931783ejx.0.1573664004301; Wed, 13 Nov 2019 08:53:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573664004; cv=none; d=google.com; s=arc-20160816; b=M+USVh5vREea9Jxws7m4ojg1f6UXLqglv9uryc/ReKZ870BoTfTIQjXPWjAakPpKbw QHM1WIDVSPFi7Oi0CpgbU/R2CXVijV7sO2wbKJ15HU8PiOsN5yFJMy7WWFlS+Po8PzGy gBbWmJM8AzMJVskBS4RA0UtnQQQCROF3Dr5BeBOoGWYnEmcf7CikyBoqxkjqWfbzQTLM Dq1QlMGDmEQVD+Eqo4S6IWn79QyOncCAuDzAs8sE3X1qI/kuC8uAAXQHi4fljiHq9WKU EdE1/6y1dvK2B4LfYdFO5HlEnez8mvjr0GCa+3rC3clxZimT1oWDZ690SbJY6TNM4MUv ct5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:content-transfer-encoding:mime-version :message-id:date:subject:cc:from:dkim-signature; bh=j05FBiSgDFBQ0LxwU0s05xSQKj/BatFqJ2m2QSCXQT0=; b=aD710IdOlgMw9nf6T71NvV+nf5fXcf0zkTug9KMPBzw15rv/G8gN9mVmuudPIp7qcn 3LCIcKphTAnRi6XnB8HguwmPWmLERTjY0q8cRbwnDIHWd5WprP4f8/kmHLdq+OcAK1Rk n/CkLQfBb7XirF744nYtaUnf0TBLOcw5oCg0j1qPhNyjMq8UMu2XuVFjZNo2/WrZooe9 EnQkN47wShLHimPLkhZ6BvbNpFHiBRH3JwrHlG6iC5Xl1j0SLRLqjM8BO4SY5E32QL23 MLqn1Y2Y0ODo7/uALDH3H0yB66zE1EVILcGWKvY/l9rcMHz7GiQmUSyMBTtEdMoM9N+m tJzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@yadro.com header.s=mta-01 header.b=SkfBtUUT; 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=yadro.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h21si1863729edh.110.2019.11.13.08.52.58; Wed, 13 Nov 2019 08:53:24 -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=@yadro.com header.s=mta-01 header.b=SkfBtUUT; 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=yadro.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728149AbfKMPxB (ORCPT + 99 others); Wed, 13 Nov 2019 10:53:01 -0500 Received: from mta-02.yadro.com ([89.207.88.252]:59880 "EHLO mta-01.yadro.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726074AbfKMPxB (ORCPT ); Wed, 13 Nov 2019 10:53:01 -0500 Received: from localhost (unknown [127.0.0.1]) by mta-01.yadro.com (Postfix) with ESMTP id E4A7042F13; Wed, 13 Nov 2019 15:52:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yadro.com; h= content-type:content-type:content-transfer-encoding:mime-version :x-mailer:message-id:date:date:subject:subject:from:from :received:received:received; s=mta-01; t=1573660379; x= 1575474780; bh=qwaAo++Hxq/xhKzQ+e7L5c5MfPCUE4SJHj8Ci0KK/h0=; b=S kfBtUUTMsrPxsM990AS3KYPEGN4OWIpmmBEpNt7cFQRl74PGvJPQVteXYIRaLuua bkkrkpktHYa5V91c2x/Ou5z7xUis+6GUQI4UGxHvVGfJznmZKiNC7pA9x2d0GdVS CunLu4VvpjqJ8Vw6xR8AEy1q1MY8UpkBkgQUKj1bNA= X-Virus-Scanned: amavisd-new at yadro.com Received: from mta-01.yadro.com ([127.0.0.1]) by localhost (mta-01.yadro.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6Y2Uh-qbzRR3; Wed, 13 Nov 2019 18:52:59 +0300 (MSK) Received: from T-EXCH-02.corp.yadro.com (t-exch-02.corp.yadro.com [172.17.10.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mta-01.yadro.com (Postfix) with ESMTPS id 0D11D411D9; Wed, 13 Nov 2019 18:52:53 +0300 (MSK) Received: from localhost.dev.yadro.com (172.17.15.69) by T-EXCH-02.corp.yadro.com (172.17.10.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.669.32; Wed, 13 Nov 2019 18:52:53 +0300 From: Ivan Mikhaylov CC: Ivan Mikhaylov , Joel Stanley , Andrew Jeffery , Rob Herring , Mark Rutland , Adrian Hunter , Ulf Hansson , , , , , , Subject: [PATCH 0/2] add inversion signal presence support Date: Wed, 13 Nov 2019 18:52:35 +0300 Message-ID: <20191113155237.30646-1-i.mikhaylov@yadro.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [172.17.15.69] X-ClientProxiedBy: T-EXCH-01.corp.yadro.com (172.17.10.101) To T-EXCH-02.corp.yadro.com (172.17.10.102) To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Vesnin BMC uses microSD with card presence signal inversion in the schematics. Change the .get_cd callback to detect 'cd-inverted' option in dts. There is no WP switch, due to this 'disable-wp' also was added into vesnin dts for sdhci. Ivan Mikhaylov (2): aspeed: dts: add sd card for vesnin mmc: sdhci-of-aspeed: add inversion signal presence arch/arm/boot/dts/aspeed-bmc-opp-vesnin.dts | 13 ++++++++++++ drivers/mmc/host/sdhci-of-aspeed.c | 23 +++++++++++++++++++++ 2 files changed, 36 insertions(+) -- 2.20.1