From patchwork Thu Nov 14 12:54:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivan Mikhaylov X-Patchwork-Id: 11243673 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 244FC17E0 for ; Thu, 14 Nov 2019 12:55:03 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C8C5D20709 for ; Thu, 14 Nov 2019 12:55:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="gyrZUH6C"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=yadro.com header.i=@yadro.com header.b="gsYR//M5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C8C5D20709 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=yadro.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=HDkh0Zp9YqoS6Erhz0xNQTMTB1774C+h28+qVZ+pyI8=; b=gyrZUH6C2IjHhP +zbWclmCom0JSxjKJqFyvZoiY2Kw4Z7sR4i5Zs7ClSsceDyXuWf+yPYvsEt+fnQmBIUEXQihNi04J tGznf0XwkklTSVNmm9bzYjiEn95uo60tFDtqwgdZqwEKpopNPCVecIuR8BjVqmUmmaSpaE3e9lPac 6Pwi5GM0+0c107kv3sVUqbKY1sdIKPjnTG8cf+sCiCVnk9pkPugQ0Uk6Jy6GpXwg6kQEI+S2GUa9x YOFEL/IvdUso/aUVEoVH+CkriXWwmYQNE/kgZNK3pk5M3hGnTNXSHIySdAQSwMMulf1tUar/iA/Fe z8NL+5nI1v9XCTdiEZIg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iVEeK-0002Xz-K6; Thu, 14 Nov 2019 12:55:00 +0000 Received: from mta-02.yadro.com ([89.207.88.252] helo=mta-01.yadro.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iVEeI-0002Wz-HA for linux-arm-kernel@lists.infradead.org; Thu, 14 Nov 2019 12:54:59 +0000 Received: from localhost (unknown [127.0.0.1]) by mta-01.yadro.com (Postfix) with ESMTP id 5E4AE42F10; Thu, 14 Nov 2019 12:54:56 +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=1573736095; x= 1575550496; bh=1/0Qq+Pqgb4cXnVt9/BiuEK56501fDFv5qyLnmzGrmI=; b=g sYR//M5dLQ50dw7ob/6JBxGwYq8Snd8dY/OhCsorE8P7T/Gp9hp780lNehGiEO6n GXqgeaZjOY9u3S4jsuHE3UEIhJz9qCS7GlHvsbyq64vnURwthcpq0621saCIFepu rXLtOnt3lFYyMDAwGzM7HQstnkYODcgYO79nvE4dcQ= 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 jq82iZ7X5c2u; Thu, 14 Nov 2019 15:54:55 +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 085C3411D9; Thu, 14 Nov 2019 15:54: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; Thu, 14 Nov 2019 15:54:53 +0300 From: Ivan Mikhaylov To: Subject: [PATCH v2 0/2] add inversion signal presence support Date: Thu, 14 Nov 2019 15:54:33 +0300 Message-ID: <20191114125435.27756-1-i.mikhaylov@yadro.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 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) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191114_045458_756756_5788FF20 X-CRM114-Status: UNSURE ( 7.42 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Ulf Hansson , linux-aspeed@lists.ozlabs.org, Andrew Jeffery , openbmc@lists.ozlabs.org, linux-mmc@vger.kernel.org, Adrian Hunter , linux-kernel@vger.kernel.org, Rob Herring , Joel Stanley , Ivan Mikhaylov , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.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 | 17 +++++++++++++++++ 2 files changed, 30 insertions(+)