Message ID | 20221103202548.1921397-1-Naresh.Solanki@9elements.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp757199wru; Thu, 3 Nov 2022 13:37:56 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5oUaYINBXx+/Mk9oR04RsHa8stlkahMVn0E1SJBsXQEZGA5jVilLqeygU4gQvo5h00rqmn X-Received: by 2002:a17:902:d54a:b0:186:a43b:8e with SMTP id z10-20020a170902d54a00b00186a43b008emr33045637plf.36.1667507876306; Thu, 03 Nov 2022 13:37:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667507876; cv=none; d=google.com; s=arc-20160816; b=X/JHFSZ4Q3tQR5mt0b5ToVltC2n1Hs/9yWWuheekmYcti58nU87U5PWhlo/27nTlD1 LF6hsAd/UNcKpV4HftEmUIkATA9QznIbWXtfB7RW7ZJkxGgcDHq8QPpJqtguQuaPCHiU UtA+S/9Q2GwebTc8Rts+e78EgdONOK4lkShSokogN1A7J87maK0obvPN8ouRe3H6PDyH jX13EJapEvm1g0MBCEKoNL+qimQxSYFzlPpBvoZHqwRklr7vpt03c3prRZ1eME/lW2aA GV+GvY1OJ2VfjnzVyQu6ntYpK+La/0YmMsgZVRpzkc884mHJDY6PIcYiMrKi2V+0eZ7B uHBw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=d1bEBzcRWoI26X/qvJpx/qMpsq5d/WkULcD5I2HLn7o=; b=goqKLOluj/1Wcy55qh9NY3EWNqjHPrGnzHqXKUck035pyF1BFz0w272rOBdDo8gDpS GB0soqO2p5vE/4Mvn5yXAFH4qQVEzyIRp+N9/ZlWTe2LgnT57VQeRlhRo9392KvLp+iO 9dyVte1uWxDridKxLpa2IzadfRJMJ46U06fts6Xg5mRnGxW03wOnAusWXBCPEuDQfafv GmO2lTiJS+19YPW8nSIyX+VfJhXyUX+DUHcoyvLvyW/qCL3KX/64BbiA6rHGZnpB4UMN 37ld+97mQJ0b5S3xCWWj1Si/QFYy0JTYGU6EweUsPncePgbCMh+rhuBACBYdCeZebE/w XpfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@9elements.com header.s=google header.b=GUE8I1Tv; 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 s141-20020a632c93000000b0044d72a10aafsi2256875pgs.34.2022.11.03.13.37.21; Thu, 03 Nov 2022 13:37:56 -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=GUE8I1Tv; 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 S231349AbiKCUZ4 (ORCPT <rfc822;yves.mi.zy@gmail.com> + 99 others); Thu, 3 Nov 2022 16:25:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39236 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229770AbiKCUZy (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 3 Nov 2022 16:25:54 -0400 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F35071D0D3 for <linux-kernel@vger.kernel.org>; Thu, 3 Nov 2022 13:25:52 -0700 (PDT) Received: by mail-wr1-x436.google.com with SMTP id g12so4369424wrs.10 for <linux-kernel@vger.kernel.org>; Thu, 03 Nov 2022 13:25:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=9elements.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=d1bEBzcRWoI26X/qvJpx/qMpsq5d/WkULcD5I2HLn7o=; b=GUE8I1TvIoagFhNDNun6i1lMpTM60js2faIOx6vaoySW0Avq/2gZAdkDRBYR+wz8Ed zSrSl6FVLYYhdAfcZkeonmKSHPSIK3zLSYs4ywQja/nHLEQ8aS/bIvjfWxOnsSFA4bpX nJZKBkozMiz/lO4W+EMood3wHPsv+JuIVIdK1xJ9RZfGRq5NTqLa95XuW4Tk2oUaGBrr Y7wp5TTwUnNOyI4swjbLyphvZHLjG/yE236J6krk5k8y8YUHuAQhBx6waMVbDbql0haw Mftxv4tVhGaHWrdLkEsJLv1SwCPdIIzJxnna+H/tEaK0jOecDfFyXVj+kNnNiTviCx/s TvzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=d1bEBzcRWoI26X/qvJpx/qMpsq5d/WkULcD5I2HLn7o=; b=NTHqhWjNW/5o2y42x7iyuh8Prk23GyeYZTXCd7rdDgCfRk2AK9iQujhofPVla5H4FI iJEhe68L+bqnxWyp8TN40QXhGBRdXw4rMr8ftSdxgShGB3klOsEugNYdtfQiicXqqtwG g+dRAZVcRUpVc8cT9HUwB0ZaJHe8iDfssIRY0MoycqDFgM3ASrnAxmllt2jNwqreYFsk UUlsldHf+DCTRF18Webu7quxQFLgmOtQ6blTgDZOoviBlm0wYdvIDiYYNTbk3p487hce juLvD4zIhRAAsCnT9uMUa2H0n6fsq5OqVved0hd3S47d0vK25lrv7+ClmUeJ9XpbA2KZ Qbzg== X-Gm-Message-State: ACrzQf2EN2BnG5PipxGq00RHZfogmZa8KHpH11w0q1jqk2jHneV94ghw WMlG9yomuFT68BwXNeNP2BDWqrmu3dV3+VB/ X-Received: by 2002:adf:ea04:0:b0:236:c7a0:5925 with SMTP id q4-20020adfea04000000b00236c7a05925mr16205036wrm.624.1667507151341; Thu, 03 Nov 2022 13:25:51 -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 g12-20020a05600c4ecc00b003b4fe03c881sm787946wmq.48.2022.11.03.13.25.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Nov 2022 13:25:50 -0700 (PDT) From: Naresh Solanki <naresh.solanki@9elements.com> X-Google-Original-From: Naresh Solanki <Naresh.Solanki@9elements.com> To: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Naresh Solanki <Naresh.Solanki@9elements.com> Subject: [PATCH v7 0/2] mfd: max597x: Add support for max597x Date: Thu, 3 Nov 2022 21:25:46 +0100 Message-Id: <20221103202548.1921397-1-Naresh.Solanki@9elements.com> X-Mailer: git-send-email 2.37.3 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 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?1748508738834777583?= X-GMAIL-MSGID: =?utf-8?q?1748508738834777583?= |
Series |
mfd: max597x: Add support for max597x
|
|
Message
Naresh Solanki
Nov. 3, 2022, 8:25 p.m. UTC
max597x is multifunction device with hot swap controller, fault protection & upto four indication leds. max5978 has single hot swap controller whereas max5970 has two hot swap controllers. Change in V7: - Update id - Remove empty line Changes in V6: - Update missing vendor prefix - Update indentation in example Changes in V5: - Fix dt schema error Changes in V4: - Add NULL entry for of_device_id - Memory allocation check Changes in V3: - Address code review comment Changes in V2: - Update depends in Kconfig. Marcello Sylvester Bauer (1): dt-bindings: mfd: Add bindings for MAX5970 and MAX5978 Patrick Rudolph (1): mfd: max597x: Add support for MAX5970 and MAX5978 .../bindings/mfd/maxim,max5970.yaml | 163 ++++++++++++++++++ drivers/mfd/Kconfig | 12 ++ drivers/mfd/Makefile | 1 + drivers/mfd/max597x.c | 92 ++++++++++ include/linux/mfd/max597x.h | 103 +++++++++++ 5 files changed, 371 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/maxim,max5970.yaml create mode 100644 drivers/mfd/max597x.c create mode 100644 include/linux/mfd/max597x.h base-commit: 6b780408be034213edfb5946889882cb29f8f159