Received: by 2002:a05:7412:b795:b0:e2:908c:2ebd with SMTP id iv21csp422885rdb; Thu, 2 Nov 2023 07:34:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHwyTW+KjFzbnTH7XQWBAfEWE876rF0NrU04m86KDNpZAgnfqqSAb1pORGQCh0bFHFQYkkV X-Received: by 2002:a17:90a:db92:b0:27d:4f1f:47f5 with SMTP id h18-20020a17090adb9200b0027d4f1f47f5mr16986990pjv.23.1698935661985; Thu, 02 Nov 2023 07:34:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698935661; cv=none; d=google.com; s=arc-20160816; b=xRGs6Nf4sN3NBSz+CSFcW5qOEFcDDOn2YfOVkgDN+Gp3AV5V119hdiAvr0KsOwz67X eKI6OMv0QPPPenMjJmeTs5W5JZH8yJyi8EKkQfmhzVTDwWwOr7JDuv8BlU35s8ViI4Gb wataUSYZl+QXSYAzXluEi6dU23Ln4Jhg3kPGqFwmXxAIdiXffX16HAG9+4XzlA5Gg4y4 Gg983/eWqG8pvIsHzldtrDATyHEMEMjBez/JiWuN+9iBJagzR9bqoeq32qEDAAmMY2OU nyDDM05LNg/phpQzEz5nWzTi1RRS9LJtveyzxnh2rYcKBC9CJJuVe77KD+55knUryKT3 bs0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:sender:dkim-signature; bh=brqJvWsHAzi4U2wihnaxOKoaRpOc4suom7JYm2x0X28=; fh=CN2+7wzLcGHrE2TEGsZDJTE36wlzuqqEULMq/QqI/Eg=; b=e97+uKHYl3rScJI/FYDZc7CuUq+iN+1KaX0f/UQkzYOJUUUYPTQYX56b0ki/DHhVvR vJlFG4l5Dq6x0d+bu7UeXsXM2g0B6pAqxLzjviZJtQ+BRtGEome10ySrXbxHqsxryBpD l+VBNcs56TL7kGrMU+D+RFCVmM0G+SfuPzWMVT9KArd+Xv3E9w7jvMWMr0kjS82vV96h qN9onarMtuBlOgc0mHOTJUX7uYgG5Gles6/zA0yXFq8Ti+1iO8zeHLwSvHwjFiQRszQc W1GB7E5f6ZH4a+3ahhXdke5DgAxlVvq45Foi3QSUgblLFLdhaPvv3N2cJiHf/TUgba2s sd6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=G00j6Vmg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id bk23-20020a17090b081700b002791e648ceasi2833437pjb.112.2023.11.02.07.34.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 07:34:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=G00j6Vmg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 594CB806E571; Thu, 2 Nov 2023 07:34:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229602AbjKBOdv (ORCPT + 99 others); Thu, 2 Nov 2023 10:33:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229480AbjKBOdu (ORCPT ); Thu, 2 Nov 2023 10:33:50 -0400 Received: from mail-oi1-x230.google.com (mail-oi1-x230.google.com [IPv6:2607:f8b0:4864:20::230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4C511185; Thu, 2 Nov 2023 07:33:46 -0700 (PDT) Received: by mail-oi1-x230.google.com with SMTP id 5614622812f47-3b3e13fc1f7so597095b6e.0; Thu, 02 Nov 2023 07:33:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698935625; x=1699540425; 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=brqJvWsHAzi4U2wihnaxOKoaRpOc4suom7JYm2x0X28=; b=G00j6Vmgb0EHOt2VbHnVD/LHH2c4l/qHK9JSH39QVIeG+d2FMRtUd4t8oIHIkADSLw yL81qVqTQx3T4r4R2bFNE7gmO2kUvRzqFBC1PTcTtO4R5gSbPUGoQaqiq+S7bDwQ8zKE P9hUDrASCkMN/AukBLjmc1fh7sSHpzAx/9VKvZUB+L0ZPjIWAW7cyiHeMGSlT3Agv3G/ VQT1jIrLbMpp8KWouSlr7qZnXAlZy/biX8D3bOmg/3oZcQkg/OSNCnS15zuOwwuUYuyO RyJUGW78JPRRvRv3xqBiFDsjD3nF82J/p2BdI4NLElrGmYj7SxKr84cE2DSS46RMqZy+ 9fzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698935625; x=1699540425; 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=brqJvWsHAzi4U2wihnaxOKoaRpOc4suom7JYm2x0X28=; b=XasdCoJDbzdW0at78/Ua+v5dTzRwDRwt4JTuK5cy3rAQaiYE0Yq6joyPrUz/+tfFZl VEFNe4Vfzy8tFqUc744zUlmmiX/Ged/0/BiLeGUv4D6W7bpYmJr/hE7R9K5/YFXPcxjZ 5rW/4mVZLDTlNGfjLNKnlzU0/h6eo1eGTETt0gPMmQFWIqchVRKNEC44YcdaxqI72Coe jNriYKnhYekfcaAn+6khIeQg4RAFnmajABXP5F5wI1ROZnfzRpVufnu+xO3rVxfynyIH idVbpI7s3dhZwDPAp2UR0XBIxozzjIjE1XAWI4dpbOepBYF4VmaPigG4hz/E23IMPbXo HK7g== X-Gm-Message-State: AOJu0YzMn0xDGL0w96bFDu6X957Iglac0PNZ0CDsSuiECS32Lbd4eDp4 lXaya2YBE+umrpTJ1el7csQ= X-Received: by 2002:a05:6808:1790:b0:3b2:f54b:8b45 with SMTP id bg16-20020a056808179000b003b2f54b8b45mr24810808oib.40.1698935624772; Thu, 02 Nov 2023 07:33:44 -0700 (PDT) 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 bd37-20020a056808222500b003b2df32d9a9sm549110oib.19.2023.11.02.07.33.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Nov 2023 07:33:43 -0700 (PDT) Sender: Guenter Roeck Message-ID: <8f814772-ec54-45f3-9c94-a37dc732b0eb@roeck-us.net> Date: Thu, 2 Nov 2023 07:33:42 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] hwmon: emc1403: Add support for EMC1442 Content-Language: en-US To: Delphine CC Chiu , patrick@stwcx.xyz Cc: Jean Delvare , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org References: <20231102090808.427351-1-Delphine_CC_Chiu@wiwynn.com> From: Guenter Roeck Autocrypt: addr=linux@roeck-us.net; keydata= xsFNBE6H1WcBEACu6jIcw5kZ5dGeJ7E7B2uweQR/4FGxH10/H1O1+ApmcQ9i87XdZQiB9cpN RYHA7RCEK2dh6dDccykQ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+G6jocnQQX JqvvP09whbqrABEBAAHCwWUEGAECAA8CGwwFAlVcpi8FCRmg08MACgkQyx8mb86fmYHNRQ/+ J0OZsBYP4leJvQF8lx9zif+v4ZY/6C9tTcUv/KNAE5leyrD4IKbnV4PnbrVhjq861it/zRQW cFpWQszZyWRwNPWUUz7ejmm9lAwPbr8xWT4qMSA43VKQ7ZCeTQJ4TC8kjqtcbw41SjkjrcTG wF52zFO4bOWyovVAPncvV9eGA/vtnd3xEZXQiSt91kBSqK28yjxAqK/c3G6i7IX2rg6pzgqh hiH3/1qM2M/LSuqAv0Rwrt/k+pZXE+B4Ud42hwmMr0TfhNxG+X7YKvjKC+SjPjqp0CaztQ0H nsDLSLElVROxCd9m8CAUuHplgmR3seYCOrT4jriMFBtKNPtj2EE4DNV4s7k0Zy+6iRQ8G8ng QjsSqYJx8iAR8JRB7Gm2rQOMv8lSRdjva++GT0VLXtHULdlzg8VjDnFZ3lfz5PWEOeIMk7Rj trjv82EZtrhLuLjHRCaG50OOm0hwPSk1J64R8O3HjSLdertmw7eyAYOo4RuWJguYMg5DRnBk WkRwrSuCn7UG+qVWZeKEsFKFOkynOs3pVbcbq1pxbhk3TRWCGRU5JolI4ohy/7JV1TVbjiDI HP/aVnm6NC8of26P40Pg8EdAhajZnHHjA7FrJXsy3cyIGqvg9os4rNkUWmrCfLLsZDHD8FnU mDW4+i+XlNFUPUYMrIKi9joBhu18ssf5i5Q= In-Reply-To: <20231102090808.427351-1-Delphine_CC_Chiu@wiwynn.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email 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 (groat.vger.email [0.0.0.0]); Thu, 02 Nov 2023 07:34:16 -0700 (PDT) On 11/2/23 02:08, Delphine CC Chiu wrote: > Add support for EMC1442 which is compatible with EMC1403. ^^^^^^^ EMC1402 NP, I can fix that up when applying. > > Signed-off-by: Delphine CC Chiu > --- > change in v2: > Revised emc1403 to emc1402 > --- > drivers/hwmon/emc1403.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git a/drivers/hwmon/emc1403.c b/drivers/hwmon/emc1403.c > index bb7c859e799d..1332e4ac078c 100644 > --- a/drivers/hwmon/emc1403.c > +++ b/drivers/hwmon/emc1403.c > @@ -346,6 +346,9 @@ static int emc1403_detect(struct i2c_client *client, > case 0x27: > strscpy(info->type, "emc1424", I2C_NAME_SIZE); > break; > + case 0x60: > + strscpy(info->type, "emc1442", I2C_NAME_SIZE); > + break; > default: > return -ENODEV; > } > @@ -430,7 +433,7 @@ static int emc1403_probe(struct i2c_client *client) > } > > static const unsigned short emc1403_address_list[] = { > - 0x18, 0x1c, 0x29, 0x4c, 0x4d, 0x5c, I2C_CLIENT_END > + 0x18, 0x1c, 0x29, 0x3c, 0x4c, 0x4d, 0x5c, I2C_CLIENT_END ^^^^ This also needs confirmation from someone (else) with a datasheet. Thanks, Guenter > }; > > /* Last digit of chip name indicates number of channels */ > @@ -444,6 +447,7 @@ static const struct i2c_device_id emc1403_idtable[] = { > { "emc1422", emc1402 }, > { "emc1423", emc1403 }, > { "emc1424", emc1404 }, > + { "emc1442", emc1402 }, > { } > }; > MODULE_DEVICE_TABLE(i2c, emc1403_idtable);