Message ID | 20221013104024.50179-1-p.rajanbabu@samsung.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp218423wrs; Thu, 13 Oct 2022 04:28:51 -0700 (PDT) X-Google-Smtp-Source: AMsMyM459C4PbnccxUQJly7F6+kyDhy1zikRsAN05yku5owlObIyGHGpk/Q7OPYW2CudtXT2imVY X-Received: by 2002:a63:5422:0:b0:466:41b5:77d4 with SMTP id i34-20020a635422000000b0046641b577d4mr9689715pgb.547.1665660530852; Thu, 13 Oct 2022 04:28:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665660530; cv=none; d=google.com; s=arc-20160816; b=LqXnocChFshUpoXqW6ySkGMG6pWWRc/FcMA/jewRDz0XPSGEbepJjC9UlHhDhfKrKU ei264R10XnmvUatoCmg6EfJR2/b1XXp/k9ivF1UJ5FbVGYh5ejmVphmeyGMMA2wUEuTw yLMr9j8CQhIARYgTXQypEyRibYMnITTtCevoQt2XQs6Rx7ansaus2Y0399j9wtBFYfsT V4Ix4fzmubsc9dPIhIwzIps+0I0lKk0VgrnPfa4OVYNGwH/y+gEk6bmqSFWug2Zqh7fJ cE5cXUyCzkQPbhV3tfTNh2ygzRYypUm4tQmiWNPiHkD0l+vsCpU/XvoCg8o0KPwUhl+J 4dbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=bXc6udR61f6XxRHEaIHz9XqnZI3fIMKixi4lLxfME38=; b=xgPdZcBFAOA8j1y/n1mWXzYUOqO3jSVHrB3iuABAQoLnX/LhTmxrkFb51P6XKTPmfh iucKr7MIPnZCahh2GUwqXhJjO5rjagdga9iIjknhEQUHqn97XXAiGkJpQ8GrZ0Wfbjw0 DLDbDVC0KjbPEQ2qjhaQIiTUUK5j7D79C0pdJv1Eo5CW3IRdhBjiGoW74jIkKAt4rCna qBwYCGGw1i345rge5aW3pT90l/7BpM7QOVEO9dr96satB/xl0rc0tD4YpJMy1eW6X3Y4 tmDM+tn7CJNryUki7c4SECGiWqOsV5GNWKJUwjcFnPVym05zbml3IP1+C/PIikSnsDbZ Sgmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=RioK9c3Z; 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=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j7-20020a170902da8700b00183e5698836si8613655plx.189.2022.10.13.04.28.38; Thu, 13 Oct 2022 04:28:50 -0700 (PDT) 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=@samsung.com header.s=mail20170921 header.b=RioK9c3Z; 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=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229625AbiJML0K (ORCPT <rfc822;ouuuleilei@gmail.com> + 99 others); Thu, 13 Oct 2022 07:26:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229613AbiJML0H (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 13 Oct 2022 07:26:07 -0400 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81B9F68894 for <linux-kernel@vger.kernel.org>; Thu, 13 Oct 2022 04:26:00 -0700 (PDT) Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20221013112557epoutp017e8d52567c0c62d0c0f01d05e108f646~dnUU2hGHs0381903819epoutp01g for <linux-kernel@vger.kernel.org>; Thu, 13 Oct 2022 11:25:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20221013112557epoutp017e8d52567c0c62d0c0f01d05e108f646~dnUU2hGHs0381903819epoutp01g DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1665660357; bh=bXc6udR61f6XxRHEaIHz9XqnZI3fIMKixi4lLxfME38=; h=From:To:Cc:Subject:Date:References:From; b=RioK9c3ZnYyCMfwUj0lE1N1MRrUt1mZuanTQSCq/QMQY+SP8UV7VBvrvIhaCRA00d llGwRSV9YsrzWPihreCxfXE+21IEa8rmYYDXGGPug8BSf0Ugi/3+Tg3g5/fUaWL2Vb HZE2Va8u76BAb1PQgDnj2Knvv8iPkcFX6vxzYVKc= 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 <p.rajanbabu@samsung.com> 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 <p.rajanbabu@samsung.com> 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 +rasYvT4vEkugCUq2yYjNTEltUghNS85PyUzL91WyTs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AAAAA+NgFupgluLIzCtJLcpLzFFi42LZdlhJTjfmo3uywbsWRYsH87axWVzer20x /8g5Vou+Fw+ZLab8Wc5kcXnXHDaLGef3MVkc3RhssWjrF3aL1r1H2B24PDat6mTzuHNtD5tH 35ZVjB6fN8kFsERx2aSk5mSWpRbp2yVwZfx7tJS54CtXxacjP5kbGO9xdDFyckgImEjMPrGS pYuRi0NIYDejxKHeWWwQCWmJ6f17oGxhiZX/nrNDFDUzSXRdeMUKkmATMJVYNaeRFSQhIrCa UeJzfztYB7PANEaJXVPrQWxhgUiJBa+mgzWwCKhKXD/czwhi8wrYSJxee5wJYoO8xOoNB5gn MPIsYGRYxSiZWlCcm55bbFhgmJdarlecmFtcmpeul5yfu4kRHFhamjsYt6/6oHeIkYmD8RCj BAezkgivS4hbshBvSmJlVWpRfnxRaU5q8SFGaQ4WJXHeC10n44UE0hNLUrNTUwtSi2CyTByc Ug1MLF37uOOUpm649bIkPVBopbrXjpcVujf/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 Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20221013110708epcas5p3c54c22bbc77175eb2a26dc9fd43814d5 References: <CGME20221013110708epcas5p3c54c22bbc77175eb2a26dc9fd43814d5@epcas5p3.samsung.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746571656815926720?= X-GMAIL-MSGID: =?utf-8?q?1746571656815926720?= |
Series |
arm64: dts: fix drive strength macros and values for FSD Platform
|
|
Message
Padmanabhan Rajanbabu
Oct. 13, 2022, 10:40 a.m. UTC
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(-)
Comments
On 13/10/2022 06:40, Padmanabhan Rajanbabu wrote: > 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 > Use subject prefixes matching the subsystem (git log --oneline -- ...). > Best regards, Krzysztof
On Thu, 13 Oct 2022 16:10:20 +0530, Padmanabhan Rajanbabu wrote: > 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 > > [...] Applied, thanks! [1/4] arm64: dts: fix drive strength macros as per FSD HW UM https://git.kernel.org/krzk/linux/c/3a27bce7e13e3b5368377c9a518927e197a4afb1 [2/4] arm64: dts: fix HSI2C drive strength values as per FSD HW UM https://git.kernel.org/krzk/linux/c/bb997d949e5a835f626facfd67b1768fd4492398 [3/4] arm64: dts: fix UART drive strength values as per FSD HW UM https://git.kernel.org/krzk/linux/c/8aa0323c14d546a14cb1d39e38673bda20699f7e [4/4] arm64: dts: fix SPI drive strength values as per FSD HW UM https://git.kernel.org/krzk/linux/c/54e628d4fb24f54d70aa423da485bf5f5ab7260b Best regards,
On 18/10/2022 09:21, Krzysztof Kozlowski wrote: > On Thu, 13 Oct 2022 16:10:20 +0530, Padmanabhan Rajanbabu wrote: >> 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 >> >> [...] > > Applied, thanks! > > [1/4] arm64: dts: fix drive strength macros as per FSD HW UM > https://git.kernel.org/krzk/linux/c/3a27bce7e13e3b5368377c9a518927e197a4afb1 > [2/4] arm64: dts: fix HSI2C drive strength values as per FSD HW UM > https://git.kernel.org/krzk/linux/c/bb997d949e5a835f626facfd67b1768fd4492398 Fixed subject and squashed last two commits into this one. Best regards, Krzysztof