From patchwork Fri Sep 15 06:46:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neha Malcom Francis X-Patchwork-Id: 14064 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp1223217vqi; Fri, 15 Sep 2023 10:55:39 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF0Ve2PS4+S5OJdao9BEFM1iEQEeNOdJgTXdYDL9mI3zC494dnOLhzD7LOmxuItnM1E0K8k X-Received: by 2002:a05:6a20:a110:b0:152:cb38:5b47 with SMTP id q16-20020a056a20a11000b00152cb385b47mr2904589pzk.55.1694800538689; Fri, 15 Sep 2023 10:55:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694800538; cv=none; d=google.com; s=arc-20160816; b=dGxIrPu3Uev52LyGhyE95kgXUN8L7R/T4IcK5H6JKKtqYCxD1iiye7Afy2Oj3HPRgW vmJcLb5KV+mjSs/jfmWJzHA62WQEpoW49i3Yz/dVzdINqWWVxk7pXAVmNkLorZPUt49F Um+VvjnYkKRCJTWQ+3u+i09643W+9cL+vhS4ZCC/VwcG8zDxxOgCCXnmVEA+g3fYqOnd ker7iSchY0udWniU8YEnfT3ih4OSN5QyJBrpMCIet572QyqM1+vhJKLsChptpG7Bxelr 7Abuo8O4RFUFgD2R8sHTHAGsnMZVtq2Xh8m9+bdFJwOsaykvv3yg8ln5NaH9NTTcn+mT 2oLw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=5e/6Ce7vVJmSfy0L05izkNPmhmUIjdtio+jkh3g1ODI=; fh=zXIzpqU6fkcvkKYOWPETYAc8kHdGN5li0oSb9j2GXFE=; b=Jy5YC0p0TL+vUZRtFQH6PK6CCt7YE0VAYUMGADLRqWPE46E8shHBSB4R4Gix1eByUV RgGpziHesRVEHol8a3BOmLkHKPpUe2bS2kahRUJCHeufEyEFpZenbv3+1mLpmCiXItcJ SEU7mlsblYTvpww2fSIGKscKKClIVXXWoghJPHVuNehnyiKFcp9c/POkNohxbcnGzclE LvVf/3WOtwYB8HMwunaRUm45qWN5H5vFuaaQLx/tJnHNKBPJYOhw+0mcSZZ5rw2c0L1K SI4DjOAAMl/9/QiQx+Wx+DcsCNx7pKABFxmCtMINbS1LlejNqGB0gMOMqGEeJwBi7sLP YPaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="wha/9fke"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id w62-20020a638241000000b005709caba618si3490109pgd.576.2023.09.15.10.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 10:55:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b="wha/9fke"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 136E481A43DB; Thu, 14 Sep 2023 23:47:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232328AbjIOGrK (ORCPT + 33 others); Fri, 15 Sep 2023 02:47:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232151AbjIOGrJ (ORCPT ); Fri, 15 Sep 2023 02:47:09 -0400 Received: from lelv0142.ext.ti.com (lelv0142.ext.ti.com [198.47.23.249]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A54312708 for ; Thu, 14 Sep 2023 23:47:03 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 38F6krgV112928; Fri, 15 Sep 2023 01:46:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1694760413; bh=5e/6Ce7vVJmSfy0L05izkNPmhmUIjdtio+jkh3g1ODI=; h=From:To:CC:Subject:Date; b=wha/9fke5ProGHzjxZll9ECxBEISRy6v4REqBtrL+nvPr6OtjPPbgSS+p79FxgdmI EuFxIPyKrzuCdfwYK8Rj7Kvdafkjoy+X16e9HINUW3Z/ocAzqtAeXzkpzGARFMU/W7 Okll3Y4DdQx3X6yyEs3I3ZNmYuXCms8z+s40L0Pw= Received: from DLEE100.ent.ti.com (dlee100.ent.ti.com [157.170.170.30]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 38F6krMl043824 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 15 Sep 2023 01:46:53 -0500 Received: from DLEE102.ent.ti.com (157.170.170.32) by DLEE100.ent.ti.com (157.170.170.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23; Fri, 15 Sep 2023 01:46:53 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DLEE102.ent.ti.com (157.170.170.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.23 via Frontend Transport; Fri, 15 Sep 2023 01:46:53 -0500 Received: from a0497641-HP-Z2-Tower-G9-Workstation-Desktop-PC.dhcp.ti.com (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 38F6kota071619; Fri, 15 Sep 2023 01:46:51 -0500 From: Neha Malcom Francis To: , , CC: , , , Subject: [PATCH v2 0/2] Revamp k3-socinfo driver Date: Fri, 15 Sep 2023 12:16:48 +0530 Message-ID: <20230915064650.2287638-1-n-francis@ti.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 14 Sep 2023 23:47:13 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777127169682385973 X-GMAIL-MSGID: 1777127169682385973 k3-socinfo driver doesn't account for difference series of silicon revisions instead of the typical 1.0, 2.0 etc case. This exception is currently already seen in J721E. This series aims to modify the driver to account for those exceptions as well as clean things up a bit. Changes since v1: - Nishanth: - undo churning of family attribute - remove unnecessary code relocation - add Thejasvi to Signed-off-by as we are now similar to the initial attempt [1] - separate out typo fixes to another patch (2/2) v1: https://lore.kernel.org/linux-arm-kernel/20230914074426.1901226-1-n-francis@ti.com/T/ [1] https://lore.kernel.org/all/20230607080349.26671-1-t-konduru@ti.com/ Neha Malcom Francis (2): soc: ti: k3-socinfo: Revamp driver to accommodate different rev structs soc: ti k3-socinfo: Fix typo drivers/soc/ti/k3-socinfo.c | 73 +++++++++++++++++++++++++++++-------- 1 file changed, 57 insertions(+), 16 deletions(-)