From patchwork Thu Oct 13 10:40:20 2022
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Padmanabhan Rajanbabu
X-Patchwork-Id: 13005872
Return-Path:
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on
aws-us-west-2-korg-lkml-1.web.codeaurora.org
Received: from vger.kernel.org (vger.kernel.org [23.128.96.18])
by smtp.lore.kernel.org (Postfix) with ESMTP id 9CB15C433FE
for ;
Thu, 13 Oct 2022 11:26:09 +0000 (UTC)
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
id S229655AbiJML0I (ORCPT
);
Thu, 13 Oct 2022 07:26:08 -0400
Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59186 "EHLO
lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
with ESMTP id S229490AbiJML0G (ORCPT
);
Thu, 13 Oct 2022 07:26:06 -0400
Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33])
by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81ADC65260
for ;
Thu, 13 Oct 2022 04:26:00 -0700 (PDT)
Received: from epcas5p4.samsung.com (unknown [182.195.41.42])
by mailout3.samsung.com (KnoxPortal) with ESMTP id
20221013112557epoutp03f22a285c7fe11697cf10d91c7a830ca7~dnUVAvkVw1611516115epoutp03x
for ;
Thu, 13 Oct 2022 11:25:57 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com
20221013112557epoutp03f22a285c7fe11697cf10d91c7a830ca7~dnUVAvkVw1611516115epoutp03x
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com;
s=mail20170921; t=1665660358;
bh=bXc6udR61f6XxRHEaIHz9XqnZI3fIMKixi4lLxfME38=;
h=From:To:Cc:Subject:Date:References:From;
b=vUtq0g7ZT0MAYZ1nTCZOVSr+BHDYWfAftFEqhk3HX2pIHDs2ON2LHzklOjIXij7Pj
6llvSXGCp2oMGsE9Js/dYayb6pW1dIf4kseAHsQSOnTtRPXrH772FULip8hBJPp6D5
x8jATpBclTMMfyPjajiSl5onh1+W1algiQ78BWBk=
Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by
epcas5p4.samsung.com (KnoxPortal) with ESMTP id
20221013112557epcas5p473ad8f80b8a683b1536524da1b01ea7e~dnUUkfAMQ0491104911epcas5p4j;
Thu, 13 Oct 2022 11:25:57 +0000 (GMT)
Received: from epsmges5p1new.samsung.com (unknown [182.195.38.178]) by
epsnrtp1.localdomain (Postfix) with ESMTP id 4Mp6dt53NPz4x9Py;
Thu, 13 Oct
2022 11:25:54 +0000 (GMT)
Received: from epcas5p2.samsung.com ( [182.195.41.40]) by
epsmges5p1new.samsung.com (Symantec Messaging Gateway) with SMTP id
FB.8A.26992.2C5F7436; Thu, 13 Oct 2022 20:25:54 +0900 (KST)
Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by
epcas5p3.samsung.com (KnoxPortal) with ESMTPA id
20221013110708epcas5p3c54c22bbc77175eb2a26dc9fd43814d5~dnD5S4HMS0785407854epcas5p3B;
Thu, 13 Oct 2022 11:07:08 +0000 (GMT)
Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by
epsmtrp1.samsung.com (KnoxPortal) with ESMTP id
20221013110708epsmtrp1ed140343405838adcb06395c1f80bafe~dnD5SDtqN2651626516epsmtrp1h;
Thu, 13 Oct 2022 11:07:08 +0000 (GMT)
X-AuditID: b6c32a49-319fb70000016970-71-6347f5c26541
Received: from epsmtip1.samsung.com ( [182.195.34.30]) by
epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id
2E.95.14392.C51F7436; Thu, 13 Oct 2022 20:07:08 +0900 (KST)
Received: from cheetah.sa.corp.samsungelectronics.net (unknown
[107.109.115.53]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id
20221013110707epsmtip18a7b21cb1480c0fd80afb7d5332140bf~dnD30M0_n1695216952epsmtip1N;
Thu, 13 Oct 2022 11:07:06 +0000 (GMT)
From: Padmanabhan Rajanbabu
To: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org,
alim.akhtar@samsung.com, chanho61.park@samsung.com,
linus.walleij@linaro.org, pankaj.dubey@samsung.com
Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-samsung-soc@vger.kernel.org,
Padmanabhan Rajanbabu
Subject: [PATCH v3 0/4] arm64: dts: fix drive strength macros and values for
FSD Platform
Date: Thu, 13 Oct 2022 16:10:20 +0530
Message-Id: <20221013104024.50179-1-p.rajanbabu@samsung.com>
X-Mailer: git-send-email 2.17.1
X-Brightmail-Tracker:
H4sIAAAAAAAAA+NgFrrLKsWRmVeSWpSXmKPExsWy7bCmhu6hr+7JBn/naFg8mLeNzeLyfm2L
+UfOsVr0vXjIbDHlz3Imi8u75rBZzDi/j8ni6MZgi0Vbv7BbtO49wu7A5bFpVSebx51re9g8
+rasYvT4vEkugCUq2yYjNTEltUghNS85PyUzL91WyTs43jne1MzAUNfQ0sJcSSEvMTfVVsnF
J0DXLTMH6BwlhbLEnFKgUEBicbGSvp1NUX5pSapCRn5xia1SakFKToFJgV5xYm5xaV66Xl5q
iZWhgYGRKVBhQnbGv0dLmQu+clV8OvKTuYHxHkcXIyeHhICJxJTZLUxdjFwcQgK7GSX2NByC
cj4xShw4uYAVwvnGKPFn0mc2mJbZJ1ayQCT2MkpM+HaXHcJpZZJ4sXQZC0gVm4CpxKo5jWDt
IgJLGSX+f1rECOIwC0xhlNi67QaQw8EhLBAtMeUQM0gDi4CqxPXD/YwgNq+AjcTptceZINbJ
S6zecIAZpFdCYBe7xNbTbSwQCReJY7f3MEPYwhKvjm9hh7ClJF72t0HZ+RLTPjZD3V0h0fZx
A9RQe4kDV+awgNzALKApsX6XPkRYVmLqqXVgJcwCfBK9v59AlfNK7JgHY6tKrF++iRHClpbY
d30vlO0hMWv+FbC1QgKxEs9332CawCg7C2HDAkbGVYySqQX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MLF37uOOUpm649bIkPVBopbrXjpcVujf/L2tqVRM7nZNifNexgnPCHbNGkdqyneaBqpZP
ZsyubsjTfHeQ78Cxo+tEz5anlVgrOKbbRRWwpGuWzZjtIHpJz/7T+sb9Zh/E3YpMHcNn6MQd
eL72TttG/3PcO/ObuH3PzP75+k6FUsQ2F+UFujf3xUpdffaL6cSJR5Ffp/+obQu84jnnvtMp
S27te7tWOn3sEzE69Kcg7PDcJ6ycosf3TpwaGbdq7uodKZZTl86+UfBL3WadhzLTHpvF+wTa
P0xcvM+C6frD1313LnDPXSj7peTKt7XH/7J6tr3t+vtNZCqPDOOSpwtFK85wRh1dWq2TZVv2
w3XteyWW4oxEQy3mouJEALvI9b2bAgAA
X-CMS-MailID: 20221013110708epcas5p3c54c22bbc77175eb2a26dc9fd43814d5
X-Msg-Generator: CA
X-Sendblock-Type: REQ_APPROVE
CMS-TYPE: 105P
DLP-Filter: Pass
X-CFilter-Loop: Reflected
X-CMS-RootMailID: 20221013110708epcas5p3c54c22bbc77175eb2a26dc9fd43814d5
References:
Precedence: bulk
List-ID:
X-Mailing-List: linux-samsung-soc@vger.kernel.org
With reference to FSD SoC HW UM, there are some deviations in the
drive strength macros names and macro values. Also the IPs are not
using the default drive strength values as recommended by HW UM.
FSD SoC pinctrl has following four levels of drive-strength and their
corresponding values:
Level-1 <-> 0
Level-2 <-> 1
Level-4 <-> 2
Level-6 <-> 3
The commit 684dac402f21 ("arm64: dts: fsd: Add initial pinctrl support")
used drive strength macros defined for Exynos4 SoC family. For some IPs
the macros values of Exynos4 matched and worked well, but Exynos4 SoC
family drive-strength (names and values) is not exactly matching with
FSD SoC.
The intention of this patch series is to:
1. Fix the drive strength macros to reflect actual names and values given
in FSD HW UM.
2. Ensure that the existing peripherals in device tree file is using
default drive strength values recommended in FSD HW UM.
Padmanabhan Rajanbabu (4):
arm64: dts: fix drive strength macros as per FSD HW UM
arm64: dts: fix HSI2C drive strength values as per FSD HW UM
arm64: dts: fix UART drive strength values as per FSD HW UM
arm64: dts: fix SPI drive strength values as per FSD HW UM
arch/arm64/boot/dts/tesla/fsd-pinctrl.dtsi | 34 +++++++++++-----------
arch/arm64/boot/dts/tesla/fsd-pinctrl.h | 6 ++--
2 files changed, 20 insertions(+), 20 deletions(-)