From patchwork Mon Jan 23 19:27:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Piyush Malgujar X-Patchwork-Id: 47348 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1782438wrn; Mon, 23 Jan 2023 11:37:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXvJu4cOW8mJuvVCXtVXxelBUzhXKtpT/MfUGY4LWpoLGbXSeMooKM8Fd5pavcJgcd5uJEFy X-Received: by 2002:a17:90b:1d0c:b0:22b:b46d:ebed with SMTP id on12-20020a17090b1d0c00b0022bb46debedmr13042141pjb.47.1674502655876; Mon, 23 Jan 2023 11:37:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674502655; cv=none; d=google.com; s=arc-20160816; b=hcmYpAoYrL9OU0eiZJlCu8iICp6Yk5jCPm93dwvklinhaX5Cp8Q3PuMGffmQkwaLl+ ZqKc2z7dV1A5ZMRhShVnrm3+9OVEbuW+FsZDn4jf0gXsZMnXGGSAzj0VcYs32i3iaL03 0QfKRwxMJO9gvVdUAfVN7QJHou1uB1JZVphMfmcPI1tY01s2RRCfUHEKMCOyCp9z6Iar kFYPYNohXjdI/0jLrg7aKnSwNeNt2lIlehR47ClCQ54ElxID2jd2WS5M8KkVWUTAAz1N T5x5VQAiYmOPKPr6zN00FFKcvhcYTs+IxGgxN7y2IPWJdU7vvXXrJDGdSLlHteZLU6e4 Q6mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3aqsbrnfl+QRdhz2agmcbwc7fUlVtyLG1eEbAcKd2wA=; b=IoaNo5hwieRitgBK5uIzQ6PMzlY6QMVNTUv8s5aGxPZOimKC2+yuLGh34b9LsVRELI +tmm1NEIC4+1hRo6/4JPJ4gLQ31DA3KUP3B+Fshx8CjHPQQK6liynvmJEY9V1/dH7Wd5 pN3PzDf6QDsJdNbhrbzvUnRd5Sf0sxrKWadtAw6CU238sAYFJJt4J5ZQR6ROIRlDHZ9H T49MCUrztVPjO57FYcEJAkECohYucb7lWTi4zZMBl9CqayldY3iAfHCxNd/GlduJ3B40 962s076tboatc1k8WXlMKqg84vi9exLobPvoom2xfVP6IQD29YpvT3NgDQOAr6JHcLzQ O3uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=A9VXpeD1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n64-20020a632743000000b004d0e6a9776asi18243051pgn.594.2023.01.23.11.37.23; Mon, 23 Jan 2023 11:37:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=A9VXpeD1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232629AbjAWT2w (ORCPT + 99 others); Mon, 23 Jan 2023 14:28:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232046AbjAWT2t (ORCPT ); Mon, 23 Jan 2023 14:28:49 -0500 Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69BC1126C4; Mon, 23 Jan 2023 11:28:47 -0800 (PST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30NG9CmD006264; Mon, 23 Jan 2023 11:28:38 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=3aqsbrnfl+QRdhz2agmcbwc7fUlVtyLG1eEbAcKd2wA=; b=A9VXpeD1q00DEEDvO8MxOf/3LcLG0Qb/DwIdz4yvBOMPhKVp3/vGnr5QszO+4efPr6ra 20l8JxC2b3ovG2f9u05jydc2lUz0vrNL57lHOMfAds9oNdRWrjW2mk3Y+45f33HISpmN 8wRuCkhM4Iz186kTIXwGuCSONJz2pmQ7NyP/HDn4rSLUVa/YIyemNmkisb9fiNXJ5GP0 b7Qob9SwOIVTbd7obLUIa6TvfG1cl9HWKp+RuBhSqrNt6a8vVJlvtSKB8kwCF/kf4FJe 1glgPJa+jp1M4gp4/Bks9F7V7NneUuTd6yViywZ01dS43e/XI5MMwRbnTeeZofLO7ZUH RA== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3n8gerbeqy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 23 Jan 2023 11:28:38 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 23 Jan 2023 11:28:36 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.42 via Frontend Transport; Mon, 23 Jan 2023 11:28:36 -0800 Received: from localhost.localdomain (unknown [10.110.150.250]) by maili.marvell.com (Postfix) with ESMTP id 715133F7050; Mon, 23 Jan 2023 11:28:36 -0800 (PST) From: Piyush Malgujar To: , , , , , , , CC: , , Piyush Malgujar Subject: [PATCH v2 4/5] dt-bindings: mmc: sdhci-cadence: SD6 support Date: Mon, 23 Jan 2023 11:27:34 -0800 Message-ID: <20230123192735.21136-5-pmalgujar@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230123192735.21136-1-pmalgujar@marvell.com> References: <20230123192735.21136-1-pmalgujar@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: N1WxNHQkgDPIgLtu5GNZZw9rIpRHeXSS X-Proofpoint-ORIG-GUID: N1WxNHQkgDPIgLtu5GNZZw9rIpRHeXSS X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-23_12,2023-01-23_01,2022-06-22_01 X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755843296740885862?= X-GMAIL-MSGID: =?utf-8?q?1755843296740885862?= From: Jayanthi Annadurai Add support for SD6 controller support. Signed-off-by: Jayanthi Annadurai Signed-off-by: Piyush Malgujar --- .../devicetree/bindings/mmc/cdns,sdhci.yaml | 34 +++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml index 8b1a0fdcb5e3e2e8b87d8d7678e37f3dad447fc1..26ef2804aa9e17c583adaa906338ec7af8c4990b 100644 --- a/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml +++ b/Documentation/devicetree/bindings/mmc/cdns,sdhci.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/mmc/cdns,sdhci.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Cadence SD/SDIO/eMMC Host Controller (SD4HC) +title: Cadence SD/SDIO/eMMC Host Controller (SD4HC, SD6HC) maintainers: - Masahiro Yamada @@ -18,7 +18,9 @@ properties: - enum: - microchip,mpfs-sd4hc - socionext,uniphier-sd4hc - - const: cdns,sd4hc + - enum: + - cdns,sd4hc + - cdns,sd6hc reg: maxItems: 1 @@ -111,6 +113,34 @@ properties: minimum: 0 maximum: 0x7f + cdns,iocell-input-delay: + description: Delay in ps across the input IO cells + $ref: "/schemas/types.yaml#/definitions/uint32" + + cdns,iocell-output-delay: + description: Delay in ps across the output IO cells + $ref: "/schemas/types.yaml#/definitions/uint32" + + cdns,delay-element: + description: Delay element in ps used for calculating phy timings + $ref: "/schemas/types.yaml#/definitions/uint32" + + cdns,read-dqs-cmd-delay: + description: Command delay used in HS200 tuning + $ref: "/schemas/types.yaml#/definitions/uint32" + + cdns,tune-val-start: + description: Staring value of data delay used in HS200 tuning + $ref: "/schemas/types.yaml#/definitions/uint32" + + cdns,tune-val-step: + description: Incremental value of data delay used in HS200 tuning + $ref: "/schemas/types.yaml#/definitions/uint32" + + cdns,max-tune-iter: + description: Maximum number of iterations to complete the HS200 tuning process + $ref: "/schemas/types.yaml#/definitions/uint32" + required: - compatible - reg