From patchwork Tue Jan 3 07:43:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13087276 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 30218C46467 for ; Tue, 3 Jan 2023 07:45:10 +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=ljJyZEqzCQlAokSRtRDbzJPPVRQO8RzL0cLrzE1jvKE=; b=rv0qjDFHhgC7Xq iP7+C0vk1Lqm1bpUGnfgsB/InQt3cHqu9Ur9oaBhShcguhDIubmbB5bH96/f9LbLX1DR5skl6yxq2 GYSuxOP3hjO1ubrXkjKiVP7YYcekoDvwbnObBvdIeVd8yDQzp2XBee7/lDgnjGDCzG/FSy72T6Htb PLZ2C6RoJ4Ncn2JN9kjdH2LAC7atR32SvgtPguNN8wh3rQ0FpjXeUSilXUBfd7/GmPr4YD+T3UnKq U13Vw+/H2uTYTAOHDWgKaU0Ql017ndKwGeOqPvZyY0QCNyxPsAMPRTOQaD1BSLpfBTtpglrgmpyQy NhZ2R4aQx3PMW4UNkcfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCbxh-00HWBU-RF; Tue, 03 Jan 2023 07:43:54 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCbxH-00HW2q-8z for linux-arm-kernel@lists.infradead.org; Tue, 03 Jan 2023 07:43:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1672731807; x=1704267807; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2IfcbMB1fHtgROrIQAQvB5zZXt4AyGV72a6U3wUr0KE=; b=jllbHHfjIHuw/+8iS92L21KgxyvZI9HRlo8+EG7td/jJ+W2PjbrinirS nvXsHFWQmofflxKffLsr0A8zLha0m+t6o+QTXTa0kudEGjBbIUbqgqueH 3M9LKgjnlZqzg3Sun5ko/JHR9lFNzuUA6S2D9HufQyPj6jaun179OcGOq pk5HlHSosvn/rIKWeOgQCzkAzOGtibXvA1hHEzGSczFlm4hiWyRU9VTfV cO+aaULOF/Va20Z63YVN9FWxe90vinOoq8KLRmtOeAjhiz36JftLnZyCb WnynFHahCqi10R0Xjpa5LRWZbp9L/KWWmrOrCPUxXA+atEPklj7zC+6pC g==; X-IronPort-AV: E=Sophos;i="5.96,296,1665439200"; d="scan'208";a="28213505" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 03 Jan 2023 08:43:22 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Tue, 03 Jan 2023 08:43:22 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Tue, 03 Jan 2023 08:43:22 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1672731802; x=1704267802; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=2IfcbMB1fHtgROrIQAQvB5zZXt4AyGV72a6U3wUr0KE=; b=BbQzVWbX4PYEyyRqszM7OWKMW8YD2WaJfQOVv/0tTl3DsjSBoq5Y81EH d1N6bZs2oGhhuI7/bSgOECbhz94akEBomc43zxjp+Ak2uCOoiosiuTC6l dCyjYV5lL1fTFzGvA2gbi6dri5AWNKWsZgi/F5GI1nSS+IaH386aPuo30 un8QrGPcQ5h3gk1sHcvbq1q3pgRG+PIfX6xYPyECim2cJt1kKvEvlndpS kZjnbLA+g5/9yqweD6VWI0+kxYQQGZzWtYdjKbvaGHEfQnrjV+pVHtOP6 jYx8wdhxLU5L/OyrhjFaYJf1YfDofAbgYyEFpVBBy7lsUIlLf+usLUZpj Q==; X-IronPort-AV: E=Sophos;i="5.96,296,1665439200"; d="scan'208";a="28213504" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 03 Jan 2023 08:43:21 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id C5456280056; Tue, 3 Jan 2023 08:43:21 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 1/2] arm64: dts: tqma8m*: Fix temperature sensor compatible Date: Tue, 3 Jan 2023 08:43:17 +0100 Message-Id: <20230103074318.3146070-1-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230102_234327_769613_917700DC X-CRM114-Status: GOOD ( 13.22 ) 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 Use the correct compatible 'nxp,se97b' as it is an SE97BTP chip. While at it, fix the node name according to device tree spec recommendations. The EEPROM is a separate node anyway. Signed-off-by: Alexander Stein --- Changes in v3: * Squashed into a single patch arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi | 4 ++-- arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi | 4 ++-- arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts | 5 ++--- arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi | 5 ++--- arch/arm64/boot/dts/freescale/imx8mq-tqma8mq.dtsi | 4 ++-- arch/arm64/boot/dts/freescale/mba8mx.dtsi | 4 ++-- 6 files changed, 12 insertions(+), 14 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi index 88d89cd46c74..b4466a26d838 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-tqma8mqml.dtsi @@ -87,8 +87,8 @@ &i2c1 { sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status = "okay"; - sensor0: temperature-sensor-eeprom@1b { - compatible = "nxp,se97", "jedec,jc-42.4-temp"; + sensor0: temperature-sensor@1b { + compatible = "nxp,se97b", "jedec,jc-42.4-temp"; reg = <0x1b>; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi b/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi index 48b965386e87..391ca5516e4c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mn-tqma8mqnl.dtsi @@ -77,8 +77,8 @@ &i2c1 { sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status = "okay"; - sensor0: temperature-sensor-eeprom@1b { - compatible = "nxp,se97", "jedec,jc-42.4-temp"; + sensor0: temperature-sensor@1b { + compatible = "nxp,se97b", "jedec,jc-42.4-temp"; reg = <0x1b>; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts index 25cbe333ab8f..34b62d8c76a0 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts @@ -510,9 +510,8 @@ tlv320aic3x04: audio-codec@18 { ldoin-supply = <®_vcc_3v3>; }; - /* NXP SE97BTP with temperature sensor + eeprom */ - se97_1c: temperature-sensor-eeprom@1c { - compatible = "nxp,se97", "jedec,jc-42.4-temp"; + se97_1c: temperature-sensor@1c { + compatible = "nxp,se97b", "jedec,jc-42.4-temp"; reg = <0x1c>; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi index 7bd680a926ce..ebc29a950ba9 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi @@ -63,9 +63,8 @@ &i2c1 { sda-gpios = <&gpio5 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; status = "okay"; - /* NXP SE97BTP with temperature sensor + eeprom */ - se97: temperature-sensor-eeprom@1b { - compatible = "nxp,se97", "jedec,jc-42.4-temp"; + se97: temperature-sensor@1b { + compatible = "nxp,se97b", "jedec,jc-42.4-temp"; reg = <0x1b>; }; diff --git a/arch/arm64/boot/dts/freescale/imx8mq-tqma8mq.dtsi b/arch/arm64/boot/dts/freescale/imx8mq-tqma8mq.dtsi index 9a95e30fb42d..5ca6b2252546 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-tqma8mq.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mq-tqma8mq.dtsi @@ -194,8 +194,8 @@ vgen6_reg: vgen6 { }; }; - sensor0: temperature-sensor-eeprom@1b { - compatible = "nxp,se97", "jedec,jc-42.4-temp"; + sensor0: temperature-sensor@1b { + compatible = "nxp,se97b", "jedec,jc-42.4-temp"; reg = <0x1b>; }; diff --git a/arch/arm64/boot/dts/freescale/mba8mx.dtsi b/arch/arm64/boot/dts/freescale/mba8mx.dtsi index 3283af9888cf..d41f75b53bde 100644 --- a/arch/arm64/boot/dts/freescale/mba8mx.dtsi +++ b/arch/arm64/boot/dts/freescale/mba8mx.dtsi @@ -283,8 +283,8 @@ tlv320aic3x04: audio-codec@18 { ldoin-supply = <®_vcc_3v3>; }; - sensor1: sensor@1f { - compatible = "nxp,se97", "jedec,jc-42.4-temp"; + sensor1: temperator-sensor@1f { + compatible = "nxp,se97b", "jedec,jc-42.4-temp"; reg = <0x1f>; }; From patchwork Tue Jan 3 07:43:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13087277 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 A5232C3DA7D for ; Tue, 3 Jan 2023 07:45:12 +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:References:In-Reply-To: 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: List-Owner; bh=KbDj1utpaHfCCGnxIxyuNOqxiLhRFnoa4msmwKPOmRk=; b=SWMXZ4IMfzZJuH n5uB9wRw1OptOmRO9HYeLXeIYJg/G5lNyi6FkBy8Wyuqpx8cPN4CMDaLy/t+0gsMZ77FFGAdGGcLh 9gGVBpSYVchs8mjMrcgPMAKpQAJ6D1vQC0Fl0Yvb/rVH5yhvq1Y9E/EqZnQMs+x3vE46XQSnVsGg5 fvR2x9i9Ah2Yk8jhldP+DOz/uLIFoxqbzdQN66h+Ewf08jo/ruKHtl7i4wQ3OfSjHYMU1rKxiv4XN T3AjaeFe4bKYVaL5N17MnKKV3woedK1qm8KgriX4SAN2CFh0K7fnef4grrNHiShTNghfDwDc3gOVE cNbIRIMX8xzdFhz+bEfQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCbxx-00HWG6-91; Tue, 03 Jan 2023 07:44:09 +0000 Received: from mx1.tq-group.com ([93.104.207.81]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCbxK-00HW2q-Cx for linux-arm-kernel@lists.infradead.org; Tue, 03 Jan 2023 07:43:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1672731810; x=1704267810; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AQbfRR0Mu/u4it/tf2dwCfSehzsMX1w/ssTWW29UzIg=; b=EuWZsu+xTL17HQkalaR5AcD+NGyd1pFHRc2QM33ZzlkQPrp3Uc2z+WGs tEOnV/Ds2CAJmByYpSlojvlwG8zIoULQEHLe6yPu+q1iEMp8ZPdcvnatb 2/CJqpsn/2YsdsWe0e1vYJoSJd4hkCb/a1Z/bf/bB9svFHK+e+Y1ypR2b f50SbveU1ehrm1XpGgpg+fdiUPcghG0M4V+Cu/T0g2uEfebNNrihairtu K4lfj13Gtu9Pg7cKNo31tj3Jaz8JjFVAQfD+35tYZNlcJMWwRmjnCPEYL gTuTi+mvJ0s+8w9rlgZ9CsEnO0uDXL8iCKFkm/zIDOsZRt4KWe4QwnPyu w==; X-IronPort-AV: E=Sophos;i="5.96,296,1665439200"; d="scan'208";a="28213507" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 03 Jan 2023 08:43:22 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Tue, 03 Jan 2023 08:43:22 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Tue, 03 Jan 2023 08:43:22 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tq-group.com; i=@tq-group.com; q=dns/txt; s=key1; t=1672731802; x=1704267802; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=AQbfRR0Mu/u4it/tf2dwCfSehzsMX1w/ssTWW29UzIg=; b=Lfg8rfbU0gUEBWSOhzEVq2Z4y9ACpYknAr6R92Ic0+6FlgRM0JRyZkdx G4o34xOuAHJHfcEU5HGHL2hnzwnVNn1B8GDFNLODdc1PUmNQgLoV2GPJR fH33IhYWYNtaQwDjxslW+GJQOE0puWgiwn5rpRC3aluoCCZYuvKy0HCyK 8RS6uArfFx5pNXQBoX3QMsnW9Zf4Fy0fbhvfu99FpyaeqhYuolrCX5MnX 2Fmj6bimOIsxTWvk4VbJ0LnMmhgWwVmVM+PnGCpNBbNSsyEqSaYBqSjFe FVy+BjxxYErtBy3zTkdMglHDShZoZE15tlkFCpU/kbXjk+RClrKMXchc8 g==; X-IronPort-AV: E=Sophos;i="5.96,296,1665439200"; d="scan'208";a="28213506" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 03 Jan 2023 08:43:22 +0100 Received: from steina-w.tq-net.de (unknown [10.123.53.21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by vtuxmail01.tq-net.de (Postfix) with ESMTPSA id F0CDA280072; Tue, 3 Jan 2023 08:43:21 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Fabio Estevam Cc: Alexander Stein , Pengutronix Kernel Team , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH v3 2/2] ARM: dts: tqma6ul + mba6ulx: Fix temperature sensor compatible Date: Tue, 3 Jan 2023 08:43:18 +0100 Message-Id: <20230103074318.3146070-2-alexander.stein@ew.tq-group.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230103074318.3146070-1-alexander.stein@ew.tq-group.com> References: <20230103074318.3146070-1-alexander.stein@ew.tq-group.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230102_234330_853298_BF62B6C2 X-CRM114-Status: GOOD ( 14.67 ) 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 Use the correct compatible 'nxp,se97b' as it is an SE97BTP chip. While at it, fix the node name according to device tree spec recommendations. The EEPROM is a separate node anyway. Signed-off-by: Alexander Stein --- Changes in v3: * Squashed into a single patch arch/arm/boot/dts/imx6ul-tqma6ul-common.dtsi | 4 ++-- arch/arm/boot/dts/mba6ulx.dtsi | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/imx6ul-tqma6ul-common.dtsi b/arch/arm/boot/dts/imx6ul-tqma6ul-common.dtsi index eca94ed6451b..57e647fc3237 100644 --- a/arch/arm/boot/dts/imx6ul-tqma6ul-common.dtsi +++ b/arch/arm/boot/dts/imx6ul-tqma6ul-common.dtsi @@ -116,8 +116,8 @@ reg_vldo4: vldo4 { }; }; - jc42_1a: eeprom-temperature-sensor@1a { - compatible = "nxp,se97", "jedec,jc-42.4-temp"; + jc42_1a: eeprom-temperature@1a { + compatible = "nxp,se97b", "jedec,jc-42.4-temp"; reg = <0x1a>; }; diff --git a/arch/arm/boot/dts/mba6ulx.dtsi b/arch/arm/boot/dts/mba6ulx.dtsi index b8e576ab8860..d08f525acfe5 100644 --- a/arch/arm/boot/dts/mba6ulx.dtsi +++ b/arch/arm/boot/dts/mba6ulx.dtsi @@ -229,7 +229,7 @@ tlv320aic32x4: audio-codec@18 { }; jc42: temperature-sensor@19 { - compatible = "nxp,se97", "jedec,jc-42.4-temp"; + compatible = "nxp,se97b", "jedec,jc-42.4-temp"; reg = <0x19>; };