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: 13386390 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 583ACEE3F2F for ; Fri, 15 Sep 2023 06:47:29 +0000 (UTC) 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: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:In-Reply-To:References: List-Owner; bh=tqeQzpfI3G2LPl9xEm9aJrzTIFZQk/V0vVQA8o80ON4=; b=11BA4dmdebi3eP EAw3m2dp45pW5H0ZE5K32/ixma8FrG42EvsfyIrKixpM1UsbTlMJVF2IZMf1uwfezIrEN7Ft//vgh 8pU2nY6Zspg+/+EQrH9vdrhtL0U58duwmeNQ+TqS/dQCn0u+g3aba7XjvI/CAr2pBS7H9KWx5I7ZL MqVLdEzkawElWvrUiCXqjeMECaWyjN7R+QwNYVkSOzNhYvtwNWnnWLN9HV0ErCAvH9I6/qF3wx94/ 9PCCCanVozYLO7fp6jrnT3qUqDKKJgcOEBINIvh9YBwy9/TKyJdGFjI2CccU8HciMUH/N9lJWg8CV 0MJ12gKW+6REnu5/lbNg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qh2bX-009vvz-24; Fri, 15 Sep 2023 06:47:03 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qh2bU-009vvL-2C for linux-arm-kernel@lists.infradead.org; Fri, 15 Sep 2023 06:47:03 +0000 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230914_234700_862923_4E2EC634 X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. 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 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(-)