Message ID | 20230420111759.2687001-2-Naresh.Solanki@9elements.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp256527vqo; Thu, 20 Apr 2023 04:23:27 -0700 (PDT) X-Google-Smtp-Source: AKy350Zmo2z+n7DAhpmxXNx0Qn/5VSjR9461HQ3GGbyrgJZOQiJCE6LjqpCzvIzDUTQ6peQcli9Z X-Received: by 2002:a05:6a21:1649:b0:f0:98df:d0ab with SMTP id no9-20020a056a21164900b000f098dfd0abmr1465233pzb.17.1681989807404; Thu, 20 Apr 2023 04:23:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681989807; cv=none; d=google.com; s=arc-20160816; b=NjUgk+jJHzmELTHIl/6QFqq5aVp3XRkQ7wLm6SDF7J+cABFf3dNl1eOtZNBJBHnnmN MxOyK28TK/5uFDrcjfKhYkoOkOCM367Jd3vN61fNeGdGGj2bDlXRGNhrr+qMY+GudENn ONeL/o98UIBy+JXCDK5n/QQVQNiPyaJQFa0RtWsA5gKoYr7YUNX622bPQ1jJfdrqUv9T 5KdwYL2dN2+TZAe+Ojk0YjsQzC+rcqrpi+kF/sEs+eqC9DBuikEek52QNga0mP7DxMSn 1NdW6E1wCa3/T0E3OAKJUzTERza79qBJu0smd8U1AyAfwxZ3sfg0dcxQuqe/moDGpWuG 9+uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=m4k5Fd94R9nLjCjAwI4E4MAJpGxclTYpMwHmMXByQv0=; b=yrnCM0UYMfPBIfSqXlh47HUmCGbM2ZNPFTw9UNSMGFslbQNh8RXPFe0Vkn5tDFG6wW Ik7SQ+1uXdmtCTk0cGvHOvD6G19MnRh2Kz1uGLH3rLR1TLv3Jfe+zK09yapJ1Ae4QV4Z ACn+IX3JNPX4fwv6B9HgWS4xkRyKqNCDJJ1R157pUXBZLdx7vlRjB2SR3gCgDi4z5+Sp L2vBc77D8UglhwDrYnNLULlmfK0+wc3GySV3a6xTA2X31N4J5m/+gSHFT0fDCEwDV6Nq iit6y8bpwErevNgkVDDjCjDqynouRF6qwXPYJVJn9fPyn5IefRPa6iq3Fn0jNBVczJLt sZEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=cdLVhWQo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h187-20020a636cc4000000b0051802927ee1si1519933pgc.330.2023.04.20.04.23.12; Thu, 20 Apr 2023 04:23:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=cdLVhWQo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=9elements.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234091AbjDTLVX (ORCPT <rfc822;cjcooper78@gmail.com> + 99 others); Thu, 20 Apr 2023 07:21:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47208 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234108AbjDTLU7 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 20 Apr 2023 07:20:59 -0400 Received: from mail-wm1-x32b.google.com (mail-wm1-x32b.google.com [IPv6:2a00:1450:4864:20::32b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39FE7AF14 for <linux-kernel@vger.kernel.org>; Thu, 20 Apr 2023 04:19:03 -0700 (PDT) Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-3f1763ee85bso5568325e9.2 for <linux-kernel@vger.kernel.org>; Thu, 20 Apr 2023 04:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1681989485; x=1684581485; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=m4k5Fd94R9nLjCjAwI4E4MAJpGxclTYpMwHmMXByQv0=; b=cdLVhWQoxAkHBYdXzMuuUwNvj15Zc8MDSC5ep0imZVcVoFvKyF/XeNtvFIc3omyM0t 0l2kDkuyMSca5eyhK3Cyzy2Nl0mNt1VrOd1rUDpDRhTZ0nEQtzTxiMf67nn3A4eo572h 655YJumRKYb8iGxpO94vSuf+XtmE0ukB+WK2Hlo/tWin7aTjC6oITEvKNpbQHMDlJ/Ez mg/RXOloIXJPIvk9mH6zz3IbeMLhbUwDgsBntAV1nF37Ag7pSsVYNT6o4nLwDP7yjwf6 YSdN8XmTqXx7OyUYXXfefLQQvH1YGl4bGJd++JgsHH38R1MKDy+JDyBC0mgJLG+HKURR nxqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681989485; x=1684581485; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m4k5Fd94R9nLjCjAwI4E4MAJpGxclTYpMwHmMXByQv0=; b=WnRWfFHiUAEJFTCBRoUvpUi9+gyvC5AclEVQ0IkZlmAZd34GsSbzF8d5waN6ZCCuXP 5k0xQ17LGkXg+YVhw+YDwXPbknSkqywa04XdT/SDQuW3+XiBXSheYgIjsfymxuBoDeCr PrEKner+0DriE5XZH8UXpdnwsOdrDxdkK5yYmepoi8+e6OshXMAiUcCL8hQqi3xxzJSd fIidj5QM474W4+sKl/1OAxg5EjwsZCIOhrdOS08RhccT2u7sG8EXIL7YE8KkTe3VesKI Ykg3XHiLPHzYtnTlzL9jURik3iTDuJR2Mn7yPVMvSkvgXe2Zvd8IxK7bKD0XFHzTWXjp oEyw== X-Gm-Message-State: AAQBX9flaJEug7c9/7xwJbbujBtHFl8l5cjHYtDTIppG+hx7goa1wGu8 t/faU4ThT4W1oUCPQwjjQGMKxQ== X-Received: by 2002:adf:e84b:0:b0:2fc:37be:af9c with SMTP id d11-20020adfe84b000000b002fc37beaf9cmr986687wrn.71.1681989484931; Thu, 20 Apr 2023 04:18:04 -0700 (PDT) Received: from stroh80.sec.9e.network (ip-078-094-000-051.um19.pools.vodafone-ip.de. [78.94.0.51]) by smtp.gmail.com with ESMTPSA id h3-20020a5d5043000000b002c70ce264bfsm1680980wrt.76.2023.04.20.04.18.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 04:18:04 -0700 (PDT) From: Naresh Solanki <naresh.solanki@9elements.com> X-Google-Original-From: Naresh Solanki <Naresh.Solanki@9elements.com> To: Jean Delvare <jdelvare@suse.com>, Guenter Roeck <linux@roeck-us.net> Cc: Naresh Solanki <Naresh.Solanki@9elements.com>, linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] hwmon: (max6639) Add compatible string Date: Thu, 20 Apr 2023 13:17:58 +0200 Message-Id: <20230420111759.2687001-2-Naresh.Solanki@9elements.com> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230420111759.2687001-1-Naresh.Solanki@9elements.com> References: <20230420111759.2687001-1-Naresh.Solanki@9elements.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763694144268873375?= X-GMAIL-MSGID: =?utf-8?q?1763694144268873375?= |
Series |
[v2,1/2] dt-bindings: hwmon: Add max6639
|
|
Commit Message
Naresh Solanki
April 20, 2023, 11:17 a.m. UTC
Use maxim,max6639 as compatible string for the driver.
Signed-off-by: Naresh Solanki <Naresh.Solanki@9elements.com>
...
Changes in V2:
- None, Updated DT patch
---
drivers/hwmon/max6639.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/hwmon/max6639.c b/drivers/hwmon/max6639.c index 9b895402c80d..ada410bfb7b6 100644 --- a/drivers/hwmon/max6639.c +++ b/drivers/hwmon/max6639.c @@ -618,11 +618,17 @@ MODULE_DEVICE_TABLE(i2c, max6639_id); static DEFINE_SIMPLE_DEV_PM_OPS(max6639_pm_ops, max6639_suspend, max6639_resume); +static const struct of_device_id max6639_of_match[] = { + { .compatible = "maxim,max6639", }, + { }, +}; + static struct i2c_driver max6639_driver = { .class = I2C_CLASS_HWMON, .driver = { .name = "max6639", .pm = pm_sleep_ptr(&max6639_pm_ops), + .of_match_table = max6639_of_match, }, .probe_new = max6639_probe, .id_table = max6639_id,