From patchwork Wed Sep 15 07:48:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 12495655 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-17.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68ACDC43217 for ; Wed, 15 Sep 2021 07:51:13 +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 39BA361185 for ; Wed, 15 Sep 2021 07:51:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 39BA361185 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3m/asVpkyDfToXtc5gD1353UkFVpSGgHKybTdkYSshM=; b=ey6SLc7SC6hGTF +DzXx6vWXxcqL7EB5GGK1qZaoO0Z7YI3HptNAUkFoT4Oj9st2OF7PDkvtBsjSKqw4feBqUoXsL8eM EyQTDEOo/Uyn6h8qLU6f3usI5Ocva331nBFhjpnsRiteUQsomYjtnjWZK5pjaacCp9fdbMoZNqDsr wkpta9pX7NyrDDQ2wW96ktsPEZZ3OZA+bo0tkLQ5sCnTjqEh1oYsi+rmac2IXtmt/cExXnmqGe2ET io3/jkL1kfngGXu3CAeAqreNcSH3wb0J4etwGCZtTNTGUgVE0H7Qblnxsy5a668r53exySOBXvyz5 o11Gbs/LHkkxYosfuzlQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQPfV-008LJa-K2; Wed, 15 Sep 2021 07:49:21 +0000 Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mQPf5-008LBM-UF for linux-arm-kernel@lists.infradead.org; Wed, 15 Sep 2021 07:48:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1631692135; x=1663228135; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=kPCGV8DIG1G0UlXqDVvdKWo8Ofqa09/5ZQfY3r2xBcM=; b=OXTyYSlAFiE5qM4DRjlYtk5MZucNzHj0ToFbaz5PxkFkmVDMhtE9CKqZ GoGIu9u7woBM13an1t4AbbIzeBskhHnuvXjyOOcn/GXXIelA75GQfaPXS PQYujzwiHywwKDvrU8PXroNQvaAK49ZsJizu8cJmH3WzoSvDXPbd+XNjC UpfBdi0273ugnwHquTN/rIURPJp2hHYQ8m3+9vvHzmUwtD/Xg40m14TjF 9yN3viyKYZAyGUR4OBJJX1Y3wPjzVe4Op457K5FTB6+JPxJ5MUlUqZps8 QszUBQHFGVkfueht/aSj3FFjbCuuSxh1PTitR6uF2oYLIy64J/enB5EO3 g==; IronPort-SDR: 1BpRbL4QaNW4NAHdpfeyOpWDhIBjBEO0tem4jpljT2iaHgPsfBsBa9VZ8zQcSlgBpsHBTypOa+ PTjTFVn5QX9QckV9SRNrogiQtDFa937XzP88cOPOjZfxZ/JT0qbyAlu2cpqs+oSaTbEZBAl4P9 awOOpx0nye2SZOWGoJiiAI5SgDrlg8sn7AEa8mds0smW6AtSwFYpPsO+kp5dnKUxyPds5LHzY6 4KeYjvx8wVzI23gPeRfDgV+WGZqWD2xRxvLYDhx3SofdLLjiWqguBiI9wldK+Ds/yJoe4027cD MEYtZtZgJ9gA559sTO/4YKn2 X-IronPort-AV: E=Sophos;i="5.85,294,1624345200"; d="scan'208";a="136600228" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Sep 2021 00:48:54 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Wed, 15 Sep 2021 00:48:54 -0700 Received: from rob-dk-mpu01.microchip.com (10.10.115.15) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Wed, 15 Sep 2021 00:48:52 -0700 From: Claudiu Beznea To: , , , CC: , , , Claudiu Beznea Subject: [PATCH 2/2] ARM: dts: at91: sama7g5ek: to not touch slew-rate for SDMMC pins Date: Wed, 15 Sep 2021 10:48:36 +0300 Message-ID: <20210915074836.6574-3-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20210915074836.6574-1-claudiu.beznea@microchip.com> References: <20210915074836.6574-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210915_004856_009943_525ABABB X-CRM114-Status: GOOD ( 10.52 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org With commit c709135e576b ("pinctrl: at91-pio4: add support for slew-rate") and commit cbde6c823bfa ("pinctrl: at91-pio4: Fix slew rate disablement") the slew-rate is enabled by default for each configured pin. The datasheet specifies at chapter "Output Driver AC Characteristics" that HSIO drivers (use in SDMMCx and QSPI0 peripherals), don't have a slewrate setting but are rather calibrated against an external 1% resistor mounted on the SDMMCx_CAL or QSPI0_CAL pins. Depending on the target signal frequency and the external load, it is possible to adjust their target output impedance. Thus set slew-rate = <0> for SDMMC (QSPI is not enabled at the moment in device tree). Fixes: 7540629e2fc7 ("ARM: dts: at91: add sama7g5 SoC DT and sama7g5-ek") Signed-off-by: Claudiu Beznea --- arch/arm/boot/dts/at91-sama7g5ek.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/at91-sama7g5ek.dts b/arch/arm/boot/dts/at91-sama7g5ek.dts index 0bed8207d498..624162fec223 100644 --- a/arch/arm/boot/dts/at91-sama7g5ek.dts +++ b/arch/arm/boot/dts/at91-sama7g5ek.dts @@ -556,6 +556,7 @@ cmd_data { , , ; + slew-rate = <0>; bias-pull-up; }; @@ -563,6 +564,7 @@ ck_cd_rstn_vddsel { pinmux = , , ; + slew-rate = <0>; bias-pull-up; }; }; @@ -574,6 +576,7 @@ cmd_data { , , ; + slew-rate = <0>; bias-pull-up; }; @@ -582,6 +585,7 @@ ck_cd_rstn_vddsel { , , ; + slew-rate = <0>; bias-pull-up; }; }; @@ -593,11 +597,13 @@ cmd_data { , , ; + slew-rate = <0>; bias-pull-up; }; ck { pinmux = ; + slew-rate = <0>; bias-pull-up; }; };