From patchwork Mon Apr 25 06:02:25 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 565893 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B5FEC433FE for ; Mon, 25 Apr 2022 06:04:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231934AbiDYGHY (ORCPT ); Mon, 25 Apr 2022 02:07:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51572 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232907AbiDYGFq (ORCPT ); Mon, 25 Apr 2022 02:05:46 -0400 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70125.outbound.protection.outlook.com [40.107.7.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 081A06598; Sun, 24 Apr 2022 23:02:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FnruAOyFIjLc3vxcHQybi/zlhse05cj6Hte5wH5lVxQz2MfuI5Qu5rZTZNXuoYImF2GQMi1/balcVawxDzehFJQQ7htuQ/pLJcUQ5ARHn5znbzs4w998pGbB5jPlf0zh2cS7fTWPzwLGv5pw8eS6AkkJs+DGlmF/coZsb4WmvzhSgzjfIdCV3U6154FEsdkE2JSjk/MlYidrewRpAQcrkCKw7zTNZoCggipqJqhzJ/XjH2nci9G9jmJ6WOgVktrheZhy8VPuR0tDaxG+2so74de/knnVM7WrFQKuG6ueMIU54qx+V85D+YsDkELX3tRdhRB9ucXFiTGD4WyM6p6Aow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PhHf99Tv43CQmS17yjq3ygrouZ1XXxQWnDtA5SUd4AI=; b=LdVhz1SH17XdG/RdhVYU7JCdoqg8lHjUjJVllKJiqEBP5UZqoCEjQDB+vc4Pk9AvpqVkNtCcSUvj7b+ek6FOn3YyYlE/jk3sYw5+W8RgdmpyuKQhzGS2bvk4RHlqhli9EYy7Goqts7ezqDFkCsvghOKF4/nrEVCpuWuwPmt5G9SKtNJNRxRd2RwX+27HBmOHj9XiQeEVdwbedLZHc3wcV5cBNp+2eNmBYcSgLfSrSUXICmhl5Xm+/eUnfFpixTOTbrhuTHfJhXo/67Vqxn2CJmAJwAgPSmwW1jeDGHmrdUg6+EAdSTFwmvHt1Kd2Fi7pe6l1xUOnZBWZ7bT18f1EnQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=axentia.se; dmarc=pass action=none header.from=axentia.se; dkim=pass header.d=axentia.se; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PhHf99Tv43CQmS17yjq3ygrouZ1XXxQWnDtA5SUd4AI=; b=ckIcfeRcKVi7w8hpFwpirtO6NtLYVeZCOOwlRvaS4x80GGPR2Gf0KnDOkBTP1lTaJBk6FpB4R/JSKnDtMF35cPrlH0l4JyU00zCcsRfzDaFw3gDF3gJUm+dpNmWDKkDwfSsTj7rjxN/aSwDJuutj3ALMzgENDIXKB8cMREK5ipQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=axentia.se; Received: from AM0PR02MB4436.eurprd02.prod.outlook.com (2603:10a6:208:ed::15) by AM4PR02MB3025.eurprd02.prod.outlook.com (2603:10a6:205:10::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.21; Mon, 25 Apr 2022 06:02:29 +0000 Received: from AM0PR02MB4436.eurprd02.prod.outlook.com ([fe80::d038:3d5c:e37f:4423]) by AM0PR02MB4436.eurprd02.prod.outlook.com ([fe80::d038:3d5c:e37f:4423%5]) with mapi id 15.20.5186.020; Mon, 25 Apr 2022 06:02:28 +0000 Message-ID: <90204a08-0c88-6c21-1492-6a5330184096@axentia.se> Date: Mon, 25 Apr 2022 08:02:25 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Content-Language: en-US To: linux-kernel@vger.kernel.org Cc: Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Sean Nyekjaer , linux-iio@vger.kernel.org, devicetree@vger.kernel.org From: Peter Rosin Subject: [PATCH 1/2] dt-bindings: iio: ti-dac5571: Add ti,dac121c081 In-Reply-To: X-ClientProxiedBy: MM0P280CA0082.SWEP280.PROD.OUTLOOK.COM (2603:10a6:190:8::11) To AM0PR02MB4436.eurprd02.prod.outlook.com (2603:10a6:208:ed::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 7ea1607d-cbd2-45d7-e4bf-08da26812dcf X-MS-TrafficTypeDiagnostic: AM4PR02MB3025:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: mwSGMmFMtr9NqaX+LHBgCN9gu+NUv5kmaP5gMnJTW/2dFBgYst7HsH/kvqfVzuDecXttVsFqD5g/vAdLHyGw/w8FjG3BILHglYugAfCceUP4a2L0k3IwBbvZ2wfWUOkAcHckWBUyuWqsppxSMMUUEoWxghOJY7riDzwgRjfKRg58R4S/IzXioRob6dhiwI18PtGWSsZ/Tl6Ex7ZmKp7ed9zS3xCxNacci9ZzQpgoIDQkjrkfJtZo9V3CfJ0d3xK8PsUNdMDGTEvjf+NlP3Hs8qobFdUjwFThOBpM18OoyAGsuDT464uPBpG+ai9Bf+8vQLjgJvNGiUowEPX0Skus3w6/ITbbRN1cuA6lO5lSTR4yxgz8Jj4UJuHjv+L7j00jECsvC9AyDaDdkPCeIgtH7gvccEkRVl6JXIQdjciw9kWaWfQpOWVDuXNzkCbSqv6O5IL6vy5HKGHfSdfUmjQ04huxmEtD7x/LfiWPSjZt61AvuOZH2vTqGGJp++7HHX+3d+87pZB2MVVZLmdsr2BMZ+SEhNvvDYnuF49y7hD2GPCHuCO7LCyxE5vLKOBxnpPSuYP1GFpSISpsh6BhMpUTDjs5qBt6rBpoFHSw0Y1mnZCkAsKEZ8HfgRls/foPd+qrfMOagq6hgW1T0cXcuil61JD59baN4Fm8KDiknSEGY9IDE+BiQDkvvNyUtpA90dJpQ70ou558uWmiMSFacZd49THnqZ+u4i2VE4P4gMXHrWuGeTqmJwg+bMxKM6swp9p1 X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR02MB4436.eurprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(39830400003)(366004)(376002)(396003)(136003)(346002)(508600001)(316002)(8936002)(36756003)(5660300002)(38100700002)(31686004)(54906003)(6916009)(2616005)(66476007)(66946007)(8676002)(66556008)(86362001)(31696002)(4744005)(186003)(4326008)(26005)(6666004)(2906002)(6486002)(6506007)(6512007)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?NA3i9IarviJTNM8ip0RuY0UEmpYf?= =?utf-8?q?BlsnKuED1xcNskG106jR1o6WcMAmr0YUnUJTfP4antGPJrgnq3qH7dkMTPHS+mPzG?= =?utf-8?q?mBQ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/SqrZ6grZE3Rh+Pv1qcOJ8vCFCCxHbLD+xPFvciqjl/oHCrQdNhtpXkAqflhkb9?= =?utf-8?q?Eqw3GhbzTMyMwJYuR+JmRQ/JIoVKF6IjHPUYohrCOz76u6YMzQi5iPTvxeay4kWGa?= =?utf-8?q?XW/Fhyxww79k4pOyU6I9W72EgLf7ByuMJ9v+52BD9yB5fDBh39JVNaX91GQ+Dmwr2?= =?utf-8?q?rlKgiiiH3tT8taAlil/jjjHtm9rhX5jxaFiL08j21mAuuOwhgTuqIKUZ6mk3Foi5Z?= =?utf-8?q?l0IGNSD9gHvoriQu4wVk62LchPgATxDj7IxtxUHhCbeXvrXSecHUx8DtfSze8uYJ0?= =?utf-8?q?06fEpnPHmI8MHdhvo+JRCqdiX3SXQvf6+AjXHANsXOAr36FOaz9sggl+VkSBWDrAx?= =?utf-8?q?OzBojCCffFdWlA3+f6TltIWZKUEdMRJYlG65LJD9bsY0//FqHFgJ+ixXG1QjlHMU9?= =?utf-8?q?A7AW+plTclvmD837Ou5pRB3nZoMADBAvfiOzpZFb+iNRVtR2nZx6LiGTIQmuqPT8o?= =?utf-8?q?EUMa2eY9eNJ9JWHFtrnFOhfebtTu1WtJtz1GWC7SXFxXLFzTjRUsLBBCoCW+lfUnN?= =?utf-8?q?EBB6W9l/gT/TjC+qJt4dcSXJpZHjPuOyNCbpNRwmN/QCl5tKkg/gkDJmqodGWXBwS?= =?utf-8?q?viHy8bDWF5zoXarhHiQQazVyslOZRKqNCWHVOVkprVSduCJNRwJSfH12gZwHyZhkq?= =?utf-8?q?LhwffY2P7EtHA1Ii84huTxIPPlbp2Mng=3D=3D?= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-Network-Message-Id: 7ea1607d-cbd2-45d7-e4bf-08da26812dcf X-MS-Exchange-CrossTenant-AuthSource: AM0PR02MB4436.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2022 06:02:28.8832 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: iKcdA0zrguCJOmQCDVAEVnQtpNghSg6aF+McY30VSf+Ez+zo/Lse/UOUh56sAvAd X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR02MB3025 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org It works much the same as ti,dac7571, so it fits in the "family" even if the name is a little bit different. Signed-off-by: Peter Rosin --- Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml b/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml index 714191724f7c..88298bc43b81 100644 --- a/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml +++ b/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml @@ -21,6 +21,7 @@ properties: - ti,dac5573 - ti,dac6573 - ti,dac7573 + - ti,dac121c081 reg: maxItems: 1 From patchwork Mon Apr 25 05:59:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 565894 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 82651C433EF for ; Mon, 25 Apr 2022 06:00:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241122AbiDYGC1 (ORCPT ); Mon, 25 Apr 2022 02:02:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46350 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240177AbiDYGCZ (ORCPT ); Mon, 25 Apr 2022 02:02:25 -0400 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10112.outbound.protection.outlook.com [40.107.1.112]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95CC03916A; Sun, 24 Apr 2022 22:59:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JvUniLugxS4WTZOqWutO1Fby7i6NQmdAa4cGRMSHTvgc4aJaBeIjS8t8HWU0zFDvgUdYgmrXHYGmG3SRDP7iZYdC6r1lTN1MZL33etPEcnD5ELO2J2X0+nn0OkP01RXr+9LUqhpsmNR978qxJyH0j3Kz6y7+wOLhelduLYROasvEpTzglcpzvVukcfZTLEjvbmLRCpIl82sInYAiZG8zi4ejvDfPmGXNQYdBbh1vMsvqw+8lqmA6h9ICYZvWgsHe/6AWjgviWRiOLHvnJS+NuSjx7MAwVjxpGsxJUEiMOksIPiTT3ce3l+uYkSBoFUJ0HgSgH1Z7kumJmncgs35RTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=yItIVB2LjgAgrsdgjwkeY+n4Y7Yuh6A6wEQyQUjd/y8=; b=LCk0PUP2WULOsed5YavnaAPy/8wBLdBMohmHduK4cLQQ3J5/IaqnOpKlA0eAnnPHnYAMKKNyliUjdJ8I+6/xz2NcGTCBrTyoTDA99QHSO2xuBEDdLb8K61Ry7PNyhyJAbXfbHfj/JrR0hupiWpyZCLvmh4iGx5f8pqyWI60WVyVNDgHUYHp2O4/0ee0374w4GHd8v+dxVtjfXvlUUILCw8J3Mds6mb6UZ6NDX1txfStEeHhgHH4IBhRtNer8t/46uZiZN1YQQziR+r3v6SCVhft3bBewofXH0dPGa/Sc/pd7HHQ87fmafQRxZeBNIPxMq8Z1m4KdW4g+2MH/tQ0g5w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=axentia.se; dmarc=pass action=none header.from=axentia.se; dkim=pass header.d=axentia.se; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=yItIVB2LjgAgrsdgjwkeY+n4Y7Yuh6A6wEQyQUjd/y8=; b=OOXTPUJtThFIHx5wccQuiyLoM7Ku4o6v7ezXPVgw+EAsr7fgVWgPMIQazMQkTPBegd5gctZVep75pFZlsPK8zZkvW0/atxMa63QGm4vx/zOpgMdoGfnnVp4km67ZeWw6n4uiS8GA2HgeT/fLkkRRD04PYAbTGz0EpQitwRx3ar0= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=axentia.se; Received: from AM0PR02MB4436.eurprd02.prod.outlook.com (2603:10a6:208:ed::15) by DB7PR02MB3724.eurprd02.prod.outlook.com (2603:10a6:5:1::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5186.21; Mon, 25 Apr 2022 05:59:19 +0000 Received: from AM0PR02MB4436.eurprd02.prod.outlook.com ([fe80::d038:3d5c:e37f:4423]) by AM0PR02MB4436.eurprd02.prod.outlook.com ([fe80::d038:3d5c:e37f:4423%5]) with mapi id 15.20.5186.020; Mon, 25 Apr 2022 05:59:19 +0000 Message-ID: <7160dc31-1429-1206-ec4b-1d8cc0652b27@axentia.se> Date: Mon, 25 Apr 2022 07:59:18 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.8.1 Content-Language: en-US To: linux-kernel@vger.kernel.org Cc: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org From: Peter Rosin Subject: [PATCH 2/2] hwmon: (lm75) Add Atmel AT30TS74 support In-Reply-To: X-ClientProxiedBy: GV3P280CA0047.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:9::15) To AM0PR02MB4436.eurprd02.prod.outlook.com (2603:10a6:208:ed::15) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 6ae2193c-7b50-44dc-7576-08da2680bcff X-MS-TrafficTypeDiagnostic: DB7PR02MB3724:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: /opChjL5QfFqSSNk4Y20qW6a/IajDIyu86Y9DQOXDBVQeMhvpLkJZy5xPM+1YB+ZHUvokGpv1onn5iN0xCl8h07yenfL2SlHOWkVn5t5CuW5tUOjSV98MBZZhJJqDAz7ImOmnXXoMrAlBQOnJXZAQ6y1ggmFF2jD2oNadHDfOirc1O4czT8MmprPN4gclbCLg1dbbfM+k+4FPrRnqopMLfzo/N5nTXaVz0wIsSJk55RmpIIAasNNHXI+qPevitsRW7BY/4gWlYNzH85ENbPc9cXMblsIaP94iGqA9derrcA19BU3JWqBLr7pv2/aGSpoXBfhbWeU6lV5HnUOTbgwq6IG09DVP6TLGw+HdidfloxJjwBmbW4U0pQIwStFuPDUDkbC0FIfGyc+q+tVuArhmJ+HM+7vYT/sRQ7oM1GUMoDK5AQ5Cq/zoQXr2Doca8cMeYIWKYU5t+EkLPOb38tOswtdAqe/4tLwWnQHPMVdmzLS56WuY0E9YwpSQX54C3g0VtSYMWXlIer0f8xMKeJzrUaMIyRuuoHtT8yuNNBAojiCyn9xs76jR1l42OJgnWtzgFJi7kYIJCnCgTubbSg/jZjXCELrakxcwaE9orUBEE12tbT4YxcAYAopW3ztTGplEEJloNCZnXwpM1Z1pFvJiEYksoxQ/XpgQ5RVtiSh7daMJmVMxE5v9PspM640qbbKUOiWv0ippyNtJ0GmWf3NZkO7e5bEGYPmXDWe8+bs100= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR02MB4436.eurprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(376002)(39830400003)(396003)(366004)(346002)(136003)(86362001)(508600001)(8676002)(2616005)(66476007)(66556008)(26005)(4326008)(38100700002)(316002)(6486002)(6512007)(6916009)(54906003)(66946007)(6506007)(5660300002)(31696002)(8936002)(36756003)(83380400001)(31686004)(2906002)(186003)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?nM7fLCybaBAuLZMqnOlVtVE93y21?= =?utf-8?q?gTP8+PAWkyIFdu01d5Q0k9oC5yizkxz0BQyJRIQjQkeVg+jKJ+T9NovdHAvD5yXVz?= =?utf-8?q?3FNnA4wGNdfs76dB4zuO3Odp8sSdP0jdE3ISYGchrm8NvLS4lL+f6P8fU33TosZTr?= =?utf-8?q?yP7aAgqtuoB5LzMBDRbBdS8Krb3uASb7wznke8i9UmnXobDipgJk7BJaOcv+XASdB?= =?utf-8?q?hnuWg3C8j2eQxzAeYjc46t/+5CA+q9QPmIycqpCkwF8NnLLKeW/qkB9mQ5ZvXzJNp?= =?utf-8?q?64m2XcyDutNiq+U4mboXjfRdvzAYU2jWhkEdgJ2snxiCZCRT7CW9ERHJRMZo38hsL?= =?utf-8?q?8AcyRuKXCqkOhZGA3ragPoalldCIoX0LQRsdpfpv17BQwRTApOPFnjkjfceUDgTHl?= =?utf-8?q?N5P0tjNLAw/hdtlByawRgzEmhCSgDNt6wGMH9pzaPpxLM/VTx/nBGraufIhXF58zN?= =?utf-8?q?8u8q5+JWoJbQiDizztHcK6KIAgPQJWc13QOpn5+PN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sReFVBRkn2uUKaLk4Uh2e/cqq1JC?= =?utf-8?q?Dak8QJi7O6o6TBpYvBVwdOwppIE70fvY5HEaAX9PCt9D44ZpAY3MUF1XjgDug31eK?= =?utf-8?q?riFgqNJ2x4oSpdiz1MgcCSOuqhcEpEbQIBKutseljv4UoGCVLrHlWo3FTpgrC08FH?= =?utf-8?q?4RSb1mpGj3AtTF+jALU7fNUw4JrnLRMdS8auK0UFmLgwirm+2ZCBI9qebu68gR5AD?= =?utf-8?q?5unimboD/yAz32jl/LR15f8v4QCae1oYgWGsyYFugqx473VAbpzQVqY1XDgGfiVL2?= =?utf-8?q?poHG5a8KMY57awRXhnAxB5OTMcK8P1xg=3D=3D?= X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-Network-Message-Id: 6ae2193c-7b50-44dc-7576-08da2680bcff X-MS-Exchange-CrossTenant-AuthSource: AM0PR02MB4436.eurprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Apr 2022 05:59:19.6124 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: yydI3sfP/ZGE0wXjppI7MOVHSyjMnsPIILC6Iu33vhnqU7r+yGvz9YExShSb+hEU X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR02MB3724 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Atmel (now Microchip) AT30TS74 is an LM75 compatible sensor. Add it. Signed-off-by: Peter Rosin --- drivers/hwmon/Kconfig | 1 + drivers/hwmon/lm75.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 68a8a27ab3b7..d8dc58b2c55a 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -1248,6 +1248,7 @@ config SENSORS_LM75 temperature sensor chip, with models including: - Analog Devices ADT75 + - Atmel (now Microchip) AT30TS74 - Dallas Semiconductor DS75, DS1775 and DS7505 - Global Mixed-mode Technology (GMT) G751 - Maxim MAX6625 and MAX6626 diff --git a/drivers/hwmon/lm75.c b/drivers/hwmon/lm75.c index afdbb63237b9..66dc826f7962 100644 --- a/drivers/hwmon/lm75.c +++ b/drivers/hwmon/lm75.c @@ -26,6 +26,7 @@ enum lm75_type { /* keep sorted in alphabetical order */ adt75, + at30ts74, ds1775, ds75, ds7505, @@ -128,6 +129,14 @@ static const struct lm75_params device_params[] = { .default_resolution = 12, .default_sample_time = MSEC_PER_SEC / 10, }, + [at30ts74] = { + .set_mask = 3 << 5, /* 12-bit mode*/ + .default_resolution = 12, + .default_sample_time = 200, + .num_sample_times = 4, + .sample_times = (unsigned int []){ 25, 50, 100, 200 }, + .resolutions = (u8 []) {9, 10, 11, 12 }, + }, [ds1775] = { .clr_mask = 3 << 5, .set_mask = 2 << 5, /* 11-bit mode */ @@ -645,6 +654,7 @@ static int lm75_probe(struct i2c_client *client) static const struct i2c_device_id lm75_ids[] = { { "adt75", adt75, }, + { "at30ts74", at30ts74, }, { "ds1775", ds1775, }, { "ds75", ds75, }, { "ds7505", ds7505, }, @@ -680,6 +690,10 @@ static const struct of_device_id __maybe_unused lm75_of_match[] = { .compatible = "adi,adt75", .data = (void *)adt75 }, + { + .compatible = "atmel,at30ts74", + .data = (void *)at30ts74 + }, { .compatible = "dallas,ds1775", .data = (void *)ds1775