From patchwork Wed Dec 7 12:41:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Stein X-Patchwork-Id: 13067076 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 36263C4708E for ; Wed, 7 Dec 2022 12:43:32 +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=8Ld0tViU0jWGtMinwhqlwJBX9FF15I5VWNRxlkA1BIA=; b=2ZMPjyjsl6ZxBD Du9BzkoatpXibmp6/LsTO+DquBZQlqPyPTwer486eXg8NcsExVn2PVEtlpEXvHXG9BnZwtWb2/IJQ 8NeugpJHR/26QRQnpSQ5SWkEBSLYQP0dn6EVWdjsnIrp5wKp5mA+LAQWZ0/8U5tJJFpJCy1PP2q8O HDavcc3HNO7ygbzcba8vaY0NBc1nkw3pxmY1dK1nPGrSuyL5X6tAOlQloIk+WSvfinmLVLO664x0R hxL2zxPPdkLf3snLA6eZzga1o4FuS8OjDsRS94OgfbGf7clVzyo/9czbcxCrwxiV2GpRdMsGbAqEh czOeLPmZKnKCWxXkv/Og==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p2tkp-002hah-O6; Wed, 07 Dec 2022 12:42:28 +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 1p2tkk-002hWA-32 for linux-arm-kernel@lists.infradead.org; Wed, 07 Dec 2022 12:42:24 +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=1670416942; x=1701952942; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=MK+y0H9ijIi5+S6z2ZIdRRCJwfa1L086SnsBn7LmBKQ=; b=V1YmrTbncLlUP7l/2vAfTbkBZgJHYTaO6idBBrY+8fQsRDDbZ2msqWvq R2gg5hVLMA37sw3NrexcIwIqSj4/H5Z7zyyTqAEz+qvUrcCEV4E2uAR4h pTAeUcrGWOM3I4Jb+UHOqbWqO/NYWmUSvJ6CaezfPBdbWlZeCGqlLJY+s vMnK7/nzCFjv4/6R/MfcixNt2HGIPI8fElOc3ABsWYt5qzlMlm4nWsxUc xZyJRpwvo4zdFmUfJ07zHVXkd9LaAvelLvUOUa+FZFWKXJ2axNfnMUxMN YNTU6XsBl59E+kc9v1pGNO9/2v9uYfHiVJ4MS6zucTe6IutJzFAYWPyvo A==; X-IronPort-AV: E=Sophos;i="5.96,225,1665439200"; d="scan'208";a="27811112" Received: from unknown (HELO tq-pgp-pr1.tq-net.de) ([192.168.6.15]) by mx1-pgp.tq-group.com with ESMTP; 07 Dec 2022 13:42:15 +0100 Received: from mx1.tq-group.com ([192.168.6.7]) by tq-pgp-pr1.tq-net.de (PGP Universal service); Wed, 07 Dec 2022 13:42:15 +0100 X-PGP-Universal: processed; by tq-pgp-pr1.tq-net.de on Wed, 07 Dec 2022 13:42:15 +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=1670416935; x=1701952935; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=MK+y0H9ijIi5+S6z2ZIdRRCJwfa1L086SnsBn7LmBKQ=; b=S4N5z+gBY/4HymMD9McAD3d3E+1mwcHYKytnFsYSCX6OMDkzd0PjftDv PeH4eDupUj3TOksyXperJXTw7JvcM5zhr7kNiThfjvSAOwuWS/LK0Z7cE GqU3XTcNyxF+gTj5eJPtZqstvkdUGP3uehdh/KK/upRP/7//bVMBrXFDc G9jBXweng0bkZukxPOieRIW9oqUC2LdiZP4XvLtRTIvKcnFnNNSrxc4OP BGB5f05GOTQv5K8tFVdJBmEolqA6CEg6fTegbqWP+Rc6Gw7scnrKiVVwC BzIk9+1PBiYiJN0fIKgJKkMKo2Cy+enw6pHol8H0P0IPU6dhHRTPWDdc7 A==; X-IronPort-AV: E=Sophos;i="5.96,225,1665439200"; d="scan'208";a="27811109" Received: from vtuxmail01.tq-net.de ([10.115.0.20]) by mx1.tq-group.com with ESMTP; 07 Dec 2022 13:42:15 +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 1A600280071; Wed, 7 Dec 2022 13:42:15 +0100 (CET) From: Alexander Stein To: Rob Herring , Krzysztof Kozlowski , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Alexander Stein , linux@ew.tq-group.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/7] arm64: dts: tqma8mpql: Fix temperature sensor compatible Date: Wed, 7 Dec 2022 13:41:59 +0100 Message-Id: <20221207124205.1373202-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-20221207_044222_489766_18FEC1E5 X-CRM114-Status: GOOD ( 12.66 ) 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 --- arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts | 5 ++--- arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql.dtsi | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts index a3340814099aa..f7f657b007a18 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-tqma8mpql-mba8mpxl.dts @@ -516,9 +516,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 7bd680a926ce7..ebc29a950ba9a 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>; };