Received: by 2002:a05:7412:8d23:b0:f7:29d7:fb05 with SMTP id bj35csp353344rdb; Sat, 16 Dec 2023 10:47:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3uZDo5d9idt9QNyBOcQD0g31f5WtrLczPZBNCggNi2zv4xvMPv55xu70UiNxqoLshTqf3 X-Received: by 2002:ad4:5cc4:0:b0:67f:bdd:1677 with SMTP id iu4-20020ad45cc4000000b0067f0bdd1677mr7309549qvb.42.1702752430444; Sat, 16 Dec 2023 10:47:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702752430; cv=none; d=google.com; s=arc-20160816; b=cfKdUVgYpWpRiMB7Z2yIvxpcxXF7UTocCuvAL6exSQBIJSZAOIGK2W3UGUo90i7z3U p8Y+jY9Q8Ai7UQPIaB1oIcZJZmSsB7gC00fdkwpZ5FIEwSbFo23nLCjVKQGImYmM0h+5 5mXijCSlUs7WE1/Ayl2uXEpCuEzRk3iF3/yBTVQnTgXoQNXxtlJVlKrKSpPwx6aSsb7x 7cX7pAlmAbyY2IF69Y8lNuCjQW1ScMfuq/SLsWCV3zTiwGtEXjJq757JrH19hOyBAJQm l6kw9O/4bTEw1pQ4v5F9WprBzs1jiaurzlGoYCnLBmOhSIVLrzcBg6aEh6zs6ZFASSeb bEFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :sender:dkim-signature; bh=1PqwN8xgxEqfFPFbP4Fat6gmsrMU5g+ugpgcAeXDgIg=; fh=9mScf55vae2GwFO2cC5EfMY9QSrY8QflmFvJx9Q2YFQ=; b=VrJu5T0vH1kLNZFJy+1w4QHzFztqfWe5tsfgCWOcGDQxP+kwryXSW+mMIuhnI+JXZ2 hZF0WKsL6Orou+yZla87Mmjv/NVnPwNDtbmZ3vwtSSqcm8nnEnEyEgJKWocE1oBc9Z2J 8ei+zAeLc5A4ge+duJsUG34zY7+cbdEv+GJk/pm+EXIt/mZwrPw4ySeFlupgyyLCxAkc 8+Fix+f81P8+oZfUfS0nc4B0719+uL0TlQgt+HhIN9lN/nLbCAdHqRjD8c+yI5wbYVHP uOEQKkE52t2QncxRGbjiiDcjgOGbd+fUWvH6CFQ2iNBNE+x5+Q95dJtgakGZlchB43Jr pJUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HuNIzAJz; spf=pass (google.com: domain of linux-kernel+bounces-2327-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2327-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id qf7-20020a0562144b8700b0067a699bf406si20863796qvb.453.2023.12.16.10.47.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Dec 2023 10:47:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2327-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=HuNIzAJz; spf=pass (google.com: domain of linux-kernel+bounces-2327-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2327-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 276AB1C21A36 for ; Sat, 16 Dec 2023 18:47:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6E0C01E489; Sat, 16 Dec 2023 18:46:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HuNIzAJz" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yb1-f173.google.com (mail-yb1-f173.google.com [209.85.219.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 268FD1E486; Sat, 16 Dec 2023 18:46:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=roeck-us.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yb1-f173.google.com with SMTP id 3f1490d57ef6-dbd01358170so1092997276.1; Sat, 16 Dec 2023 10:46:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702752416; x=1703357216; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=1PqwN8xgxEqfFPFbP4Fat6gmsrMU5g+ugpgcAeXDgIg=; b=HuNIzAJzy+MnxwwImQw6y+GvRd4HpaD7J311RZETbI9k/NYNX4IcoxmnP6vpF4e5WZ mKb1/eaB073Km2NR66d4JLJf1t0nIJe1WGYKB7SwsfiJmuHjmsSxPDl6DMUrTJjdLFSk 293yMwyJr6PKOPUSRB63SA9RNbgASNTFI3Gg5Ky5O2PlobSTC0wRPk8ORT6YGSYKGx/P CPq7RAKYHJlSNKyFFls2JQ7tqe6XIL+l1+sa45S8t5p1FMPhhq7GcOZG+P1ajg4d0naI MBPlJUujWI0ba/a5Yhj9bhw4G2bNBgZ83IxVyaBHF6iNYaBjGtHMi7vMdLCGjd12CR6l z4IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702752416; x=1703357216; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1PqwN8xgxEqfFPFbP4Fat6gmsrMU5g+ugpgcAeXDgIg=; b=TyHRYDOgcDy68TOheuuxpRjA8AbKpnCDszLQeZ3W1ffEvtyyLhNHVxtg0LlaqJ9uKq PsIm0gOK+M/0GxAyseboQiXq41kh3MH7hdvedXRyjpgqRdYndoMwjSqk2ujPnx7g/YL5 QnISaGWYA0R4CrblUvN+xhMsxtjrpmrY//fo0I9R3iA9Z3aMmSFs6z5Nz51DGc8sxstd IpPy3ZHOZdg0aTqtXKf0EMBX1i9OvxM93VfoH5q8Kdk9Uwdc4ORAtUXjIL5uxTTqPq+Q yNOfkiLmYep5Lt3gH95zNcN0PquefsS3b/tb2ciEMWg68LlP8aIZM7JolSicssbn4Kto Z+tQ== X-Gm-Message-State: AOJu0YwWjZmj+9+fHCfWSH2FOouL/KOF2hN3grmTScs962/1v1tJWsYY BkQY8NyUWK3hgMS3Wcy+a0w= X-Received: by 2002:a25:b08a:0:b0:dbc:d28c:6a3c with SMTP id f10-20020a25b08a000000b00dbcd28c6a3cmr4470130ybj.16.1702752416010; Sat, 16 Dec 2023 10:46:56 -0800 (PST) Received: from ?IPV6:2600:1700:e321:62f0:329c:23ff:fee3:9d7c? ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id l145-20020a252597000000b00dbcf9daace8sm1268881ybl.8.2023.12.16.10.46.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 16 Dec 2023 10:46:55 -0800 (PST) Sender: Guenter Roeck Message-ID: Date: Sat, 16 Dec 2023 10:46:53 -0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 2/2] hwmon: Add AMS AS6200 temperature sensor Content-Language: en-US To: Abdel Alkuor , Jean Delvare , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Jonathan Corbet Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org References: <149032e99136a9fe47c3533b57a71092646e497d.1702744180.git.alkuor@gmail.com> <63e352150ed51eefce90ca4058af5459730174b2.1702744180.git.alkuor@gmail.com> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQk3bC90xXMPg+O3R+C/SkwcnUak1UZaeK/SwQbq/t0tkMzYDRxfJ7 nyFiKxUehbNF3r9qlJgPqONwX5vJy4/GvDHdddSCxV41P/ejsZ8PykxyJs98UWhF54tGRWFl 7i1xvaDB9lN5WTLRKSO7wICuLiSz5WZHXMkyF4d+/O5ll7yz/o/JxK5vO/sduYDIlFTvBZDh gzaEtNf5tQjsjG4io8E0Yq0ViobLkS2RTNZT8ICq/Jmvl0SpbHRvYwa2DhNsK0YjHFQBB0FX IdhdUEzNefcNcYvqigJpdICoP2e4yJSyflHFO4dr0OrdnGLe1Zi/8Xo/2+M1dSSEt196rXaC kwu2KgIgmkRBb3cp2vIBBIIowU8W3qC1+w+RdMUrZxKGWJ3juwcgveJlzMpMZNyM1jobSXZ0 VHGMNJ3MwXlrEFPXaYJgibcg6brM6wGfX/LBvc/haWw4yO24lT5eitm4UBdIy9pKkKmHHh7s jfZJkB5fWKVdoCv/omy6UyH6ykLOPFugl+hVL2Prf8xrXuZe1CMS7ID9Lc8FaL1ROIN/W8Vk BIsJMaWOhks//7d92Uf3EArDlDShwR2+D+AMon8NULuLBHiEUQARAQABzTJHdWVudGVyIFJv ZWNrIChMaW51eC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ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: <63e352150ed51eefce90ca4058af5459730174b2.1702744180.git.alkuor@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 12/16/23 08:39, Abdel Alkuor wrote: > as6200 is a temperature sensor with 0.0625°C resolution and a range between > -40°C to 125°C. > > By default, the driver configures as6200 as following: > - Converstion rate: 8 Hz > - Conversion mode: continuous > - Consecutive fault counts: 6 samples > - Alert state: high polarity > - Alert mode: comparator mode > > Interrupt is supported for the alert pin. > > Datasheet: https://ams.com/documents/20143/36005/AS6200_DS000449_4-00.pdf > Signed-off-by: Abdel Alkuor Please explain why the lm75 driver would not work for this chip. I don't immediately see the problem, especially with TMP112 using almost the same configuration register layout. Thanks, Guenter