Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1380970rdh; Fri, 27 Oct 2023 12:25:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGkb6fbxc6kO2nqe5gYbxIWa9uL8pa82rV6gbfCgRAQ7gSTvQMwqd1Xv79YFtSD7nWVoOLR X-Received: by 2002:a5b:d4b:0:b0:d9a:f3dc:7d15 with SMTP id f11-20020a5b0d4b000000b00d9af3dc7d15mr3573016ybr.49.1698434720600; Fri, 27 Oct 2023 12:25:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698434720; cv=none; d=google.com; s=arc-20160816; b=QNLNvx7Y15Ch3yOdWgFBi7Ce1zcZbcUxesIAiLCwaM+v/hH2DxGRh5HVbgva/e9Qw0 sJelSKMVQDf92yaSFLTAQpLS5sGT1eeLJt+dlAgj+i/4TCM8yzPy1q68Wrl2MvXpXD0V vmWG/AraKrCc0SdrPz3DDXZKWDPuUDadL36Hq6d9Jh15KR8O4vMHgcUVJPBSL0vPh6H3 kX2qDn7blAJQG+w2c442RXzviwxbUpY/r7cmuVIo32IfNbLlAvJRxgymrJQubiQ3q59H jl21lnC2Rqgxh9GLyzuwU4cuMse4hjszuvtBrmJxfkoYFVRYWGfp2M+CMwr16S3p/lc6 jgCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:content-transfer-encoding:mime-version :message-id:subject:cc:from:date:dkim-signature; bh=s6l50F7JJohmt97FitX0lbghDeuVsGg3EMd0UOKs2rc=; fh=qVLLNxLQBdGOmSc7R3oGa2rRZETflH3zsG8S6SRAY7w=; b=Id8K2aaJvZdnO5TSD8cJciWr/4OdDZaBB7Yi7JJNrkQRqHd3eut3O/SMyND1aS9XQJ h4gMIfmqb5h8tsJ8kjsU3uoRwZAv+/oaaNiuhd8uSc9EsjX6vxcb8YUOQyzteXXuZ23D E37pjNZKzRXNxMNt2ZNi0wala8wcOjs1jg6QciYM5CxNROJlcoK5y6Y5aZXgMUZJZdCq 7Yr+Dxg3/MYzBG9PknEi43AaXhpWxCWIa78fV++lhuIR15oCLZ/iZJFsow19Th4w+zUk UsAN1rWOBoI66aOcFW2o6+K1/zvRiDVSWAwr0zB0tjmjX5VoNDZ+q7/lTNZ/37knFpKO JVEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ubimet.com header.s=20200131mdel header.b=YzitxHaf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ubimet.com Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id n126-20020a25d684000000b00da0cae6fdaasi3873946ybg.401.2023.10.27.12.25.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 12:25:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@ubimet.com header.s=20200131mdel header.b=YzitxHaf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ubimet.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 996FB83E8FD2; Fri, 27 Oct 2023 12:25:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345573AbjJ0TZG (ORCPT + 99 others); Fri, 27 Oct 2023 15:25:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231302AbjJ0TZF (ORCPT ); Fri, 27 Oct 2023 15:25:05 -0400 X-Greylist: delayed 526 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 27 Oct 2023 12:25:03 PDT Received: from mx2-at.ubimet.com (mx2-at.ubimet.com [141.98.226.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D8D41AC; Fri, 27 Oct 2023 12:25:02 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mx2-at.ubimet.com (Postfix) with ESMTP id C2E5180F51; Fri, 27 Oct 2023 19:16:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ubimet.com; s=20200131mdel; t=1698434174; bh=Fyd8ZQEuYM+Iy6ZXTdK/66gxo3xx3cuUN3PUInF/vBA=; h=Date:From:Cc:Subject:From; b=YzitxHafFVgV5w+r+XJVUkMklCrnaaICDuD2NYmaXo46HaZNj2VXj0vircbips2Dt mSsxxfnC/SPP/AuWr9xNtydQ0LFa7QVctGSGu9FLI+uNH6oIlMCh2CzWPSPAT5W7GT G8BczT1qHU0ExZdFagY4S7TA3pLKhXcMAUAvAVegUbWZNpmmdcx5J6saLfXjlIUKbU /EzvE5gFPu6mq8bmhKilzeMZfO9NJQx3s/ujF9CIG76i4mh3b2OBo6D/+Sc65MzuAi zum3VVqlRpAa48eDfeIAb96LeuHNSl7ludYiqIiZaivxB2uzUbX5kqZ7nBsW8UK12h kzcBCnGHd7IdQ== Received: from mx2-at.ubimet.com ([127.0.0.1]) by localhost (mx02.dmz.dc.at.ubimet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zZxDbivKcnPI; Fri, 27 Oct 2023 19:16:14 +0000 (UTC) Received: from zimbra-mta01.ext.dc.at.ubimet.com (webmail-dc.at.ubimet.com [10.1.18.22]) by mx2-at.ubimet.com (Postfix) with ESMTPS id B055C80F32; Fri, 27 Oct 2023 19:16:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra-mta01.ext.dc.at.ubimet.com (Postfix) with ESMTP id A62CE8074F; Fri, 27 Oct 2023 19:16:14 +0000 (UTC) Received: from zimbra-mta01.ext.dc.at.ubimet.com ([127.0.0.1]) by localhost (zimbra-mta01.ext.dc.at.ubimet.com [127.0.0.1]) (amavis, port 10032) with ESMTP id RmSCG380Fm8h; Fri, 27 Oct 2023 19:16:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra-mta01.ext.dc.at.ubimet.com (Postfix) with ESMTP id 753BE807D5; Fri, 27 Oct 2023 19:16:13 +0000 (UTC) X-Virus-Scanned: amavis at zimbra-mta01.ext.dc.at.ubimet.com Received: from zimbra-mta01.ext.dc.at.ubimet.com ([127.0.0.1]) by localhost (zimbra-mta01.ext.dc.at.ubimet.com [127.0.0.1]) (amavis, port 10026) with ESMTP id r9ywy6JXBxb5; Fri, 27 Oct 2023 19:16:13 +0000 (UTC) Received: from pcn112 (unknown [10.15.100.32]) by zimbra-mta01.ext.dc.at.ubimet.com (Postfix) with ESMTPSA id 120F88074F; Fri, 27 Oct 2023 19:16:12 +0000 (UTC) Date: Fri, 27 Oct 2023 21:15:48 +0200 From: jrodrigues Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jrodrigues@ubimet.com Subject: [PATCH] ARM: dts: imx: tqma7: add lm75a sensor (rev. 01xxx) Message-ID: <20231027211548.21a6cee7@pcn112> X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email To: unlisted-recipients:; (no To-header on input) 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 (howler.vger.email [0.0.0.0]); Fri, 27 Oct 2023 12:25:17 -0700 (PDT) TQMa7x (revision 01xxx) uses a different (LM75A) temperature sensor. The two sensors use different I2C address, so we can set both sensors simultaneously. Signed-off-by: Jo=C3=A3o Rodrigues --- arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi b/arch/arm/boot/dts/= nxp/imx/imx7-tqma7.dtsi index fe42b0a468..b87560d037 100644 --- a/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx7-tqma7.dtsi @@ -128,7 +128,14 @@ vgen6_reg: vldo4 { }; }; =20 - /* NXP SE97BTP with temperature sensor + eeprom */ + /* LM75A - temperature sensor, TQMa7x 01xx */ + lm75a: temperature-sensor@48 { + compatible =3D "national,lm75a"; + reg =3D <0x48>; + status =3D "okay"; + }; + + /* NXP SE97BTP with temperature sensor + eeprom, TQMa7x 02xx */ se97b: temperature-sensor-eeprom@1e { compatible =3D "nxp,se97b", "jedec,jc-42.4-temp"; reg =3D <0x1e>; -- The differences in the ICs are shown here: The TQMa7 manual only references the latest version https://www.tq-group.com/filedownloads/files/products/embedded/manuals/arm/= embedded-modul/TQ-Socket/TQMa7x/TQMa7x.UM.0203.pdf in section 3.2.4, while the board manual https://www.tq-group.com/filedownloads/files/products/embedded/manuals/arm/= carrierboard/MBa7x/MBa7x.UM.0101.pdf in section 4.1.2 references the old version, introduced by this patch. I have tested this change in a board which uses the TQMa7x module, and with this patch we always a temperature sensors available. Best regards, -- Jo=C3=A3o Rodrigues