Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp2433668rwo; Thu, 3 Aug 2023 09:16:09 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH1Y6oVmXsuj3LCjT9zLQn3Y3Z720ZjjSyLeuLod30oCfLzojcFl4Cz6uoIyBybgOAr8IkS X-Received: by 2002:a17:906:318c:b0:997:eae6:9350 with SMTP id 12-20020a170906318c00b00997eae69350mr1713823ejy.51.1691079369634; Thu, 03 Aug 2023 09:16:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691079369; cv=none; d=google.com; s=arc-20160816; b=QzHLMjZtGfVxniyjoHxTML+iOtr1ZO2/vJ2uEfRJbJzf1V9J4dDSK13OKYOteUovCV lNFsTkkeBVTPfRDyhRb+CAZzeUpkss8Nx4r02+sl2bB90pjdY5m9b9cDgHxvK8rrIhqH 2m/UNxSKX6kmEWF1rMn3XcQux08bqiYlctToF0plHQ0bMlILcr7rCvALdq6UBqnb9M0k 80yRzBlLrmHASqt77LQCFbCjzmCDp2/9fQjpsmDcOJhqHJPdwGUWURm2FxKUf1HDrjer 4h+2E6P88uo7FAyi74gbaQDFDZkWEV4bw1T8Q5NW0VQqv/MJ8ZLap1k3CNbON3GrM15+ Hmng== 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=0r+9XHSegFpPDIn73xAFAT26b/ix75Yh9T7lUlxBALs=; fh=ss/Uhyf3MPnUmm78wRka6dyrmJWZFJNfmSRPCzRf3b0=; b=MWqyoRNZW3T6TNm07pAgVTXU7FWXZrszttThzZaHd3BaEaAhN0oLsn3UNQfzTBE1wa u4AjYyV8P6VOfIkJiiZyZ8cAkuJxXzW9F3nGw6L9RviimqZuN6Y4f9kJHZ8mfXngtf2L t0UxMn1h8XTkjPFhyzGV+S0ooR97ko0+kyNZjTbSuiXXZ3cTQFQp7LVgw93Ud/4YuUf7 E1O4rpK5MZsC3TZW9qz97S22R6SNC2FbsKFYGjhO6W9um/gABKHON7F8SL1vTvJ117k/ 96iT4h+4TIrYNeyZz6KLb+Ghwb+WjJ/tOn55w7HQQgTuqF33axBXqoy41zP/YxG4Kclx NqOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=FaOC8x9f; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k11-20020a17090666cb00b00991f1e4b03dsi28280ejp.406.2023.08.03.09.15.43; Thu, 03 Aug 2023 09:16:09 -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=FaOC8x9f; 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 S235767AbjHCOoh (ORCPT + 99 others); Thu, 3 Aug 2023 10:44:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235876AbjHCOoZ (ORCPT ); Thu, 3 Aug 2023 10:44:25 -0400 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0F33423A for ; Thu, 3 Aug 2023 07:44:08 -0700 (PDT) Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-98377c5d53eso145896966b.0 for ; Thu, 03 Aug 2023 07:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; t=1691073847; x=1691678647; 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=0r+9XHSegFpPDIn73xAFAT26b/ix75Yh9T7lUlxBALs=; b=FaOC8x9foorB/DO/xUejSHl7q5/x/eaarUpwmM866XgP3aUu+ZqAG+lPd0XBHXK6jL A2biSOSS/ai/aDzO7o4atvi46CkL55u+zOn5zjpp/aNbfETdAGwvvwM0M7LXDVBqbM2n J4FDJlX/KAVK/g972SkegOgBw4wBnE7MKzIK+v9ga+z+OifTG9SADRwui82BXBzsaSre ZzfPzodjb5FCRfiWIrmreD9oX+vFTz7nG6NkSC7E6Su7pTjfkDUy2BlceHYefsWTUz7b FQERfBJJoa/Lz+y1Z0R2x0+O80RX6wxYdowCIcPhjJrAEwEXH33WejD6GmnLB2JWRgZf ymOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691073847; x=1691678647; 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=0r+9XHSegFpPDIn73xAFAT26b/ix75Yh9T7lUlxBALs=; b=Ni5yhy9n9LagF9Vt2T0/kIyCm0RbmcU4aXiZPGOgOfTpOf+Pqjn0QAoWuG1JX2u6dg SUC4uRlpRWdZ50oOrw86oLFfQdcIVqRrcLhQ3G1r8lsotSgvKA6s/kUGwUgbH1A70nxd 5MdCY3EeaVMFwOXDP0+2PTDE6VnCpsaB48WNiw+StcjnN4+lkDsPJeEZxumbo7fEwy6J v5wNdkzBE/UlUH+iNAmF1f1UiyMp/ILvaO0BT8kgSpThHMvvITaql1f6WKeP2XaYxX6t +Q7KZECO19alVuZve4gAliWtSmepHk9r5L94KpFGcxafCD+qNM9sk7mbIoI+qIzcBFca VrHg== X-Gm-Message-State: ABy/qLbWUCL/XfO8+8jTdj6cnYutBSCdOUY00lrYbTB99cDdc40M1sFs W30WY9ud7bQ8b2P1QSSWUsFsmLnwzL9KAzyaV9nwWg9g X-Received: by 2002:a17:906:53d3:b0:99b:d9f3:9a98 with SMTP id p19-20020a17090653d300b0099bd9f39a98mr7885996ejo.74.1691073846843; Thu, 03 Aug 2023 07:44:06 -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 t26-20020a1709064f1a00b0099bd86f9248sm10629859eju.63.2023.08.03.07.44.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Aug 2023 07:44:06 -0700 (PDT) From: Naresh Solanki X-Google-Original-From: Naresh Solanki To: Guenter Roeck , krzysztof.kozlowski+dt@linaro.org, Jean Delvare Cc: Naresh Solanki , linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 2/2] hwmon: (max6639) Add compatible string Date: Thu, 3 Aug 2023 16:44:00 +0200 Message-ID: <20230803144401.1151065-2-Naresh.Solanki@9elements.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230803144401.1151065-1-Naresh.Solanki@9elements.com> References: <20230803144401.1151065-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_BLOCKED, 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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use maxim,max6639 as compatible string for the driver. Signed-off-by: Naresh Solanki --- Changes in V3: - None 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 caf527154fca..aa7f21ab2395 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 = max6639_probe, .id_table = max6639_id, -- 2.41.0