Message ID | 20221025191515.9151-1-bb@ti.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp1174488wru; Tue, 25 Oct 2022 12:18:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7/6BCxAZ/hiDTr/P4Qn0+xXDIqmPBaJgjRamAcgecxdDi1szGDltH+b4sHca4b8u311ppx X-Received: by 2002:a17:90b:394:b0:212:19d7:9072 with SMTP id ga20-20020a17090b039400b0021219d79072mr33458685pjb.69.1666725488568; Tue, 25 Oct 2022 12:18:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666725488; cv=none; d=google.com; s=arc-20160816; b=kvvThIUQhg+VpxiEAKEvszKC4XZEr+fQg47hr7m1DQ0sZH1KgiON9EUd13Fuoso3bS QuzufzjImfNmoPgKci+Mym57BAXobyUaWJQ6vJJkiflY5J8PVTivNFUMCEEvnsCteDUN gSbCCKsMOrXT5EaBhX4wAxP2fI5sD2778QgXTzi8xFCT/25CqRYvfwrhvMknvg489lKz PsMNFIP3DhD7+3iN1ZI33zgo0cTFjKghCX7lurN7i9uedQrkA6zlibcbzra+xUnIS33K gxh/lGOZ/a56avmub9/lJD3+BsctXg6to18hho0mW9W49sW+3zOP52iXBZjJjKJp9Fbl v/ug== 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=hg7ZEAuCPP4IUgifrwlR+W9vs9ouPnFxVaoin0/vvoI=; b=ct2kjkKk2iRWWaLxT5Mm5BNrf9eNtvXvmbHpHux3a1ho7Am4i4GpswrrN2L3Hldf3K OGy7ThO/TpBdKbxJWa18SXI5qKjxX0+4fuOJm3WwlqzOMqsiZPqyAnD/sMRd/Megt+Ht 8powGAwhWnyaRVOXiqqAUPokUBAaE1XlRT1I/hY+2quFQAveojjoHBrisxqsYqN6aWEZ s59w1QFAt+fBIyvUgqoPP5s3g68Yw7QF3CgZ3MuUTY0TuezrwIMv0rqJAs5NsoT0hX+y 8varkDxp8HMQd6MY8ce5Y5+9oldZu1wPrOuDXidBwk2Mqw8RzyDANfOdAwcwsQE1uVY/ k8ng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=fayku1Qz; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ik23-20020a170902ab1700b0017fdef6a46fsi3633072plb.281.2022.10.25.12.17.54; Tue, 25 Oct 2022 12:18:08 -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=@ti.com header.s=ti-com-17Q1 header.b=fayku1Qz; 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=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232683AbiJYTPh (ORCPT <rfc822;pwkd43@gmail.com> + 99 others); Tue, 25 Oct 2022 15:15:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231751AbiJYTPb (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 25 Oct 2022 15:15:31 -0400 Received: from fllv0015.ext.ti.com (fllv0015.ext.ti.com [198.47.19.141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D7B4D7E018; Tue, 25 Oct 2022 12:15:30 -0700 (PDT) Received: from fllv0035.itg.ti.com ([10.64.41.0]) by fllv0015.ext.ti.com (8.15.2/8.15.2) with ESMTP id 29PJFJmJ096764; Tue, 25 Oct 2022 14:15:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1666725319; bh=hg7ZEAuCPP4IUgifrwlR+W9vs9ouPnFxVaoin0/vvoI=; h=From:To:CC:Subject:Date; b=fayku1QzORZvI9ZA2SE7XxcDxca9+uekQfEMVkXi8B+Z8RlGAZdiu11jve2WndgNN /iuak+LVphT55WHA1sfbA0ESLlEVHnFg/RSP0hShUwXiJ0Q68v4hTZcIUwlJkzDAYH 837VYPKvPXex63y4RwDAvoQ1oCXxhx/ciECLdTjY= Received: from DFLE102.ent.ti.com (dfle102.ent.ti.com [10.64.6.23]) by fllv0035.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 29PJFJTm058276 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 25 Oct 2022 14:15:19 -0500 Received: from DFLE106.ent.ti.com (10.64.6.27) by DFLE102.ent.ti.com (10.64.6.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6; Tue, 25 Oct 2022 14:15:19 -0500 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE106.ent.ti.com (10.64.6.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.6 via Frontend Transport; Tue, 25 Oct 2022 14:15:19 -0500 Received: from localhost (ileaxei01-snat.itg.ti.com [10.180.69.5]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 29PJFJIm056990; Tue, 25 Oct 2022 14:15:19 -0500 From: Bryan Brattlof <bb@ti.com> To: "Rafael J. Wysocki" <rafael@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Amit Kucheria <amitk@kernel.org>, Zhang Rui <rui.zhang@intel.com>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Nishanth Menon <nm@ti.com>, Vignesh Raghavendra <vigneshr@ti.com>, Tero Kristo <kristo@kernel.org> CC: Keerthy <j-keerthy@ti.com>, Linux PM <linux-pm@vger.kernel.org>, Device Trees <devicetree@vger.kernel.org>, LKML <linux-kernel@vger.kernel.org>, LKML ARM <linux-arm-kernel@lists.infradead.org>, Bryan Brattlof <bb@ti.com> Subject: [PATCH v2 00/11] enable VTM node for all TI's K3 SoCs Date: Tue, 25 Oct 2022 14:15:04 -0500 Message-ID: <20221025191515.9151-1-bb@ti.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3044; h=from:subject; bh=5IGQUfa5WkW1F5uf6fTrPTCINIM+ArcMQX8aqPbUe9o=; b=owNCWmg5MUFZJlNZ+HR/kwAAZX/////tiz3tz7fuw/v73Yc3Pua/+97D6v8/323vm9nN9/8wARms EPU0aAaAAaBo9QD0gANAaAA0ZADQABoABoAAPUaGmgAaGj1PKaBo9R5M1RBo0DQGgaaAMhoBpoDCaB pkyA0ABgjJpgAjEwgNDRo00GmjJo0BkyaBoADKaND1HqD1GagANNA0MgGjRoAaGjQBp6j1AAAPU9QM 1ABkGgDQAHlDT1ABpoGg2bWhJ6VwGBFtX4E4qDESVaJYfBUBmEsWCkPZfHYBrmywJY1KF4emrbxlyB l3NDOSRJ4Fs8DghfWkF1/yNVYgxRA/UhWAiy5B4qigGB/xR8aYzAAu2a7OnUR1BQzWx6aitikYlLmB abI7sjJsBun+jraQGHd55Z/89iWFBfHMl6hrDS0NeyU6I9IRqpn/dy55i+qeb47ysEK2Qk76876o71 zPKGS+FOmokcxBxLaDn1lYQj39E/ZVBte6Dn4dJ/EHoQ9wlamvfXKVn92KrUxJY42yp/k6vrPozAhg aiK2SHEpgrV4+TewhDjzjLj1cQuYvzIoLshFHBSrcQYqaB5nk7AmZIo0h3fKCFBj6K8LpQqnJeYdSl kxxiAJFxLFPYj48/81XqzZxwywYSEWdotABpQDTWKopYFJ5JBgcMIaDojf8XckU4UJD4dH+TA= X-Developer-Key: i=bb@ti.com; a=openpgp; fpr=D3D177E40A38DF4D1853FEEF41B90D5D71D56CE0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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: <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?1747688345551804379?= X-GMAIL-MSGID: =?utf-8?q?1747688345551804379?= |
Series |
enable VTM node for all TI's K3 SoCs
|
|
Message
Bryan Brattlof
Oct. 25, 2022, 7:15 p.m. UTC
Hello again everyone! This series enabled the VTM nodes for all of Texas Instruments K3 SoCs Most of this series updates the k3_j72xx_bandgap driver to conditionally map an eFuse region used by the j721e to work around an issue in its VTM implementation and allows us to save the SPARE_FUSE region on other SoCs We can then update the device tree bindings for the driver and finally define the VTM nodes for each device Thanks for reviewing! ~Bryan **** v1 -> v2 changes[0]: - when removing 'fuse_base' from the 'k3_j72xx_bandgap' structure, I forgot to pass 'fuse_base' to get_efuse_values() - removed the descriptions to the generic 'power-domains' property - incorporated Krzysztof's suggestions to the binding description - refactored binding to use allOf: if: {min,max}Items over what I was doing :) Thanks Krzysztof [0] https://lore.kernel.org/lkml/20221011231727.8090-1-bb@ti.com/ Bryan Brattlof (11): thermal: k3_j72xx_bandgap: simplify k3_thermal_get_temp() function thermal: k3_j72xx_bandgap: use bool for i2128 erratum flag thermal: k3_j72xx_bandgap: remove fuse_base from structure thermal: k3_j72xx_bandgap: map fuse_base only for erratum workaround dt-bindings: thermal: k3-j72xx: elaborate on binding description dt-bindings: thermal: k3-j72xx: conditionally require efuse reg range arm64: dts: ti: k3-am64-main: add VTM node arm64: dts: ti: k3-am62-wakeup: add VTM node arm64: dts: ti: k3-j721e-mcu-wakeup: add VTM node arm64: dts: ti: k3-j721s2-mcu-wakeup: add VTM node arm64: dts: ti: k3-j7200-mcu-wakeup: add VTM node .../bindings/thermal/ti,j72xx-thermal.yaml | 35 +++++- arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi | 33 ++++++ arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 8 ++ arch/arm64/boot/dts/ti/k3-am62.dtsi | 7 +- arch/arm64/boot/dts/ti/k3-am64-main.dtsi | 8 ++ arch/arm64/boot/dts/ti/k3-am64-thermal.dtsi | 33 ++++++ arch/arm64/boot/dts/ti/k3-am64.dtsi | 4 + .../boot/dts/ti/k3-j7200-mcu-wakeup.dtsi | 8 ++ arch/arm64/boot/dts/ti/k3-j7200-thermal.dtsi | 47 ++++++++ arch/arm64/boot/dts/ti/k3-j7200.dtsi | 3 + .../boot/dts/ti/k3-j721e-mcu-wakeup.dtsi | 9 ++ arch/arm64/boot/dts/ti/k3-j721e-thermal.dtsi | 75 +++++++++++++ arch/arm64/boot/dts/ti/k3-j721e.dtsi | 3 + .../boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi | 8 ++ arch/arm64/boot/dts/ti/k3-j721s2-thermal.dtsi | 103 ++++++++++++++++++ arch/arm64/boot/dts/ti/k3-j721s2.dtsi | 3 + drivers/thermal/k3_j72xx_bandgap.c | 67 ++++++------ 17 files changed, 420 insertions(+), 34 deletions(-) create mode 100644 arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-am64-thermal.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-j7200-thermal.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-j721e-thermal.dtsi create mode 100644 arch/arm64/boot/dts/ti/k3-j721s2-thermal.dtsi