Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp4216086ybi; Tue, 11 Jun 2019 02:58:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqyeYvjDZfPszJsR250ZdS/wL49evIfv/hB1oH0Soh7dHSOLQPUJuVt43qXwps08dblu00Ne X-Received: by 2002:a65:5308:: with SMTP id m8mr19555898pgq.54.1560247123420; Tue, 11 Jun 2019 02:58:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560247123; cv=none; d=google.com; s=arc-20160816; b=QudSlQSqcmdB0EFNjtpwvk5YD8snC7FUcWF1lFa7+V2HjR1IuBhePi8HovgZjyA4em krzC8w0KF8thiDeK4sjZKyMKknN36D7Fc4aIBUI/ibJlkzOCAVWEb+sMx0EMW4MSm+UR cUO+ZvXGbchl27QqXNAGW4OMWNn8Dbajj3iR1+L/91gO/OiR8ESGZld1TjDLLJy0Bifz BOSnhOYg4o+BPorr+1tOZeuVTIcd4Ci4u3n//uxfnopVFkd3zfDaYLlA7BQrkhBsZsX3 zdeDRBDuaCyQA+Oh0tvN2K51vRdasvwJrQr1twIcGa5JwaGnC6aPAap12GYbbBWfGBBt hyMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=hTtUvLgezBpncvgmNvvhZ2jDIxEUisBdVexeKQCK5No=; b=AGYU+hl85tfCFIeND+QqWeCCyXgJwFEJaGCk19RZjqcqCwE6UnWeRymkctx4709CWQ 7i0N2u/QAQte1PF0Pth5zkTxIsZyy5ePfhNKT9klCobCGmuq/BjJhcVBy3qxSp4jdlaW Huw7jtxJ34v50xl+pcjyVuh2B++z70ZHuEqm1jXmoOQkHrZu0PDJQd3c/9kZ3N//VZNr K2gHpr4kdIkUgQEBKDqoAn0Ih/67Ww1elZyC1ItEbKpODmLIkXk5lHJt07pxg4vOl124 tbSX4RqiZtalraqOKEhAiPNw3ltCMtusMJtGnCxQtP5QUkiRKx++IeOtljM3hfKRPiiZ rOPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@xilinx.onmicrosoft.com header.s=selector1-xilinx-onmicrosoft-com header.b=qMxBGmBM; 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 k13si11559281pll.64.2019.06.11.02.58.28; Tue, 11 Jun 2019 02:58:43 -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=@xilinx.onmicrosoft.com header.s=selector1-xilinx-onmicrosoft-com header.b=qMxBGmBM; 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 S2405002AbfFKJ51 (ORCPT + 99 others); Tue, 11 Jun 2019 05:57:27 -0400 Received: from mail-eopbgr750042.outbound.protection.outlook.com ([40.107.75.42]:4256 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728937AbfFKJ5U (ORCPT ); Tue, 11 Jun 2019 05:57:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=xilinx.onmicrosoft.com; s=selector1-xilinx-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hTtUvLgezBpncvgmNvvhZ2jDIxEUisBdVexeKQCK5No=; b=qMxBGmBMuQYlVDpzpecIU7Io0nXT7J3qaayarEI7ZZVAXmIjnntrfoPSHIpo//x37Qjr+5EiHYTpd2Yl2iHwR+hJf5PQk3sKvoPEIAIqGShy6PSvw2WKNN/CYKywlddrjdB4aYF1JujY3JdzQWCumtrv4m3DdFd3E4tfPjKX+D0= Received: from MWHPR02CA0015.namprd02.prod.outlook.com (2603:10b6:300:4b::25) by DM6PR02MB4939.namprd02.prod.outlook.com (2603:10b6:5:11::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1965.15; Tue, 11 Jun 2019 09:57:15 +0000 Received: from SN1NAM02FT031.eop-nam02.prod.protection.outlook.com (2a01:111:f400:7e44::208) by MWHPR02CA0015.outlook.office365.com (2603:10b6:300:4b::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.1965.17 via Frontend Transport; Tue, 11 Jun 2019 09:57:15 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.100) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.100 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.100; helo=xsj-pvapsmtpgw02; Received: from xsj-pvapsmtpgw02 (149.199.60.100) by SN1NAM02FT031.mail.protection.outlook.com (10.152.72.116) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.1965.12 via Frontend Transport; Tue, 11 Jun 2019 09:57:14 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66]:46271 helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw02 with esmtp (Exim 4.63) (envelope-from ) id 1hadWk-0006st-7C; Tue, 11 Jun 2019 02:57:14 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from ) id 1hadWf-0002WX-3U; Tue, 11 Jun 2019 02:57:09 -0700 Received: from xsj-pvapsmtp01 (xsj-mail.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id x5B9v1NO016659; Tue, 11 Jun 2019 02:57:01 -0700 Received: from [172.23.64.106] (helo=xhdvnc125.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from ) id 1hadWX-0002S9-3R; Tue, 11 Jun 2019 02:57:01 -0700 Received: by xhdvnc125.xilinx.com (Postfix, from userid 16987) id 49D08121745; Tue, 11 Jun 2019 15:27:00 +0530 (IST) From: Manish Narani To: ulf.hansson@linaro.org, robh+dt@kernel.org, mark.rutland@arm.com, michal.simek@xilinx.com, adrian.hunter@intel.com, rajan.vaja@xilinx.com, jolly.shah@xilinx.com, nava.manne@xilinx.com, manish.narani@xilinx.com, olof@lixom.net Cc: linux-mmc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/3] dt-bindings: mmc: arasan: Document 'xlnx,zynqmp-8.9a' controller Date: Tue, 11 Jun 2019 15:26:50 +0530 Message-Id: <1560247011-26369-3-git-send-email-manish.narani@xilinx.com> X-Mailer: git-send-email 2.1.1 In-Reply-To: <1560247011-26369-1-git-send-email-manish.narani@xilinx.com> References: <1560247011-26369-1-git-send-email-manish.narani@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.2.0.1013-23620.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:149.199.60.100;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(396003)(346002)(376002)(136003)(39860400002)(2980300002)(199004)(189003)(36756003)(70206006)(36386004)(70586007)(5660300002)(16586007)(48376002)(52956003)(106002)(47776003)(316002)(42186006)(51416003)(76176011)(103686004)(2616005)(26005)(486006)(44832011)(336012)(305945005)(476003)(72206003)(11346002)(478600001)(426003)(446003)(4326008)(6266002)(186003)(126002)(50226002)(8936002)(8676002)(81156014)(50466002)(81166006)(6666004)(356004)(63266004)(2906002)(921003)(142933001)(1121003)(5001870100001);DIR:OUT;SFP:1101;SCL:1;SRVR:DM6PR02MB4939;H:xsj-pvapsmtpgw02;FPR:;SPF:Pass;LANG:en;PTR:unknown-60-100.xilinx.com,xapps1.xilinx.com;A:1;MX:1; MIME-Version: 1.0 Content-Type: text/plain X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 17256e5a-5034-494a-4019-08d6ee532e86 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(4709080)(1401327)(2017052603328);SRVR:DM6PR02MB4939; X-MS-TrafficTypeDiagnostic: DM6PR02MB4939: X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-Forefront-PRVS: 006546F32A X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: ogOQk/sUKxGCf/AKlHOMQ450wroaWtKCP2ysr/SdG8HYDNFkEei0wB1Qa4uehsw27fN7mJuNEE+RpCPqfLGy/VKYWm2GVLDibw7GtrDaC3geaVLoWqwOaxQqjGcV5rahSZeXJaiEEVmcoFQpfQvlH2j7bc0Lfm+USUFt825XDGl/Cg/HrySrhYMcsnB5HdQtG2SdiyiBWL0Kc2lacfbu8EgKmBW7lgOuQFR0K69diaJxKDtDV4L7uXX0XcpzHTL8Ww7OIREO7Q+QH9hsPNWuidHwnQVjxuPEnEHes2nHWGx+QVSxDrJY4WhktoQdmRpvrC6s0Cx3pXZ06PfJoGEWwfLHol1MC5WN9BvraeK7pTd0gPH+RF6GBJoJpEWbuXXCQBgFMR4zTIY+3TkeBkpjCPES9u2A9zrvOEhchOoNAww= X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jun 2019 09:57:14.6167 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 17256e5a-5034-494a-4019-08d6ee532e86 X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c;Ip=[149.199.60.100];Helo=[xsj-pvapsmtpgw02] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR02MB4939 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add documentation for 'xlnx,zynqmp-8.9a' SDHCI controller and optional properties followed by example. Signed-off-by: Manish Narani --- .../devicetree/bindings/mmc/arasan,sdhci.txt | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt b/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt index 1edbb04..6945b3b 100644 --- a/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt +++ b/Documentation/devicetree/bindings/mmc/arasan,sdhci.txt @@ -15,6 +15,9 @@ Required Properties: - "arasan,sdhci-5.1": generic Arasan SDHCI 5.1 PHY - "rockchip,rk3399-sdhci-5.1", "arasan,sdhci-5.1": rk3399 eMMC PHY For this device it is strongly suggested to include arasan,soc-ctl-syscon. + - "xlnx,zynqmp-8.9a": ZynqMP SDHCI 8.9a PHY + For this device it is strongly suggested to include clock-output-names and + #clock-cells. - "ti,am654-sdhci-5.1", "arasan,sdhci-5.1": TI AM654 MMC PHY Note: This binding has been deprecated and moved to [5]. @@ -45,6 +48,24 @@ Optional Properties: - xlnx,int-clock-stable-broken: when present, the controller always reports that the internal clock is stable even when it is not. +Optional Properties for "xlnx,zynqmp-8.9a": + - xlnx,tap-delay-mmc-hsd: Input/Output Tap Delays in degrees for MMC HS. + - xlnx,tap-delay-sd-hsd: Input/Output Tap Delays in degrees for SD HS. + - xlnx,tap-delay-sdr25: Input/Output Tap Delays in degrees for SDR25. + - xlnx,tap-delay-sdr50: Input/Output Tap Delays in degrees for SDR50. + - xlnx,tap-delay-sdr104: Input/Output Tap Delays in degrees for SDR104. + - xlnx,tap-delay-sd-ddr50: Input/Output Tap Delays in degrees for SD DDR50. + - xlnx,tap-delay-mmc-ddr52: Input/Output Tap Delays in degrees for MMC DDR52. + - xlnx,tap-delay-mmc-hs200: Input/Output Tap Delays in degrees for MMC HS200. + + Above mentioned are the clock (phase) delays which are to be configured in the + controller while switching to particular speed mode. If not specified, driver + will configure the default value defined for particular mode in it. + + - xlnx,mio-bank: When specified, this will indicate the MIO bank number in + which the command and data lines are configured. If not specified, driver + will assume this as 0. + Example: sdhci@e0100000 { compatible = "arasan,sdhci-8.9a"; @@ -80,3 +101,14 @@ Example: phy-names = "phy_arasan"; #clock-cells = <0>; }; + + sdhci: mmc@ff160000 { + compatible = "xlnx,zynqmp-8.9a", "arasan,sdhci-8.9a"; + interrupt-parent = <&gic>; + interrupts = <0 48 4>; + reg = <0x0 0xff160000 0x0 0x1000>; + clock-names = "clk_xin", "clk_ahb"; + clock-output-names = "clk_sd0"; + #clock-cells = <0>; + xlnx,tap-delay-sd-hsd = <21>, <6>; + }; -- 2.1.1