From patchwork Wed Dec 7 09:08:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sahin, Okan" X-Patchwork-Id: 2705 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp69858wrr; Wed, 7 Dec 2022 01:13:04 -0800 (PST) X-Google-Smtp-Source: AA0mqf7z3uvJcep18Ok+JbB2W3rjOHzLsKuKqyAyqWKIjU+59JQmH0oPSGnSwTSUc+tKb0uN586Z X-Received: by 2002:a50:fc0b:0:b0:46b:5812:a03a with SMTP id i11-20020a50fc0b000000b0046b5812a03amr34729004edr.91.1670404384560; Wed, 07 Dec 2022 01:13:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670404384; cv=none; d=google.com; s=arc-20160816; b=GjC+RiKw2PKH4yX0DcucyjZGFonpJhfgcojtz6hIMyvmfCtPmY9DnaK0twNRq10rmj AeNSc5fAMBOlFkp0klAfiAQDmUksP4XMG3b0jjH5zOF8tSirEBQvJYG4Or2vjbJWM+tu hyxRAYlKjCjNoXbyWO5u5D6p08rgVy53o7K2Lz9INalmaQNXH0bADWu8ngdcSR0WO1QW QkeJCuHbYq+QaMumVFbAvUp1Fs/yQz+kKiJcbp6l2EGJb/gVtKTYpkLtXOQPSaGrdFpm 8fkZqRaHSt5fXZ00ISwm1RJLZuCdEwtuNtt9VAK3Mafj0mwusufH5aA6IQAx71vc6rjC 2zJA== 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; bh=hNUDk751EyGOXRXa5cacjfLl1ZgKC7EkrXzQEURaL6c=; b=mkn79Vmn19lVPGXHrDkwqXaWrG6kxZo9xrM2sMtjQojxnBfkwxg2/K2Bs4sIFN/QmR 5lAWYZYdHxJg4044CHk587Cn/Pp3TYJIbPyQUEd7IVgX43zZ6MP+JNlhXEU97QeLzDui ZcRDrrnIvUvPU4LF7JHZAQIBxqSTMDIMmA4bpbcmaUNd/q4H9VyUn/CtXsMA/bVlipP2 k/U4AGh42ubD6C4dGw0KOXHQd43XkVHnZOj/sEg9jbL6UpXAuui+szpE0u5u+OXcDfxP v8sqyPyTAE5hPJiXTvMDuhipEz82/v4kO8kcz25ZgEKhlY6f97zVpFYpq7tao6UW6j77 YyLg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa9-20020a170907868900b007c08a2c2400si5109196ejc.83.2022.12.07.01.12.41; Wed, 07 Dec 2022 01:13:04 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=analog.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229947AbiLGJKg (ORCPT + 99 others); Wed, 7 Dec 2022 04:10:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229804AbiLGJKb (ORCPT ); Wed, 7 Dec 2022 04:10:31 -0500 Received: from mx0a-00128a01.pphosted.com (mx0a-00128a01.pphosted.com [148.163.135.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF6649580; Wed, 7 Dec 2022 01:10:30 -0800 (PST) Received: from pps.filterd (m0167088.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2B77Sbq3003982; Wed, 7 Dec 2022 04:09:54 -0500 Received: from nwd2mta4.analog.com ([137.71.173.58]) by mx0a-00128a01.pphosted.com (PPS) with ESMTPS id 3m816bfjmn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 07 Dec 2022 04:09:54 -0500 Received: from ASHBMBX8.ad.analog.com (ASHBMBX8.ad.analog.com [10.64.17.5]) by nwd2mta4.analog.com (8.14.7/8.14.7) with ESMTP id 2B799q5w009949 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 7 Dec 2022 04:09:52 -0500 Received: from ASHBCASHYB5.ad.analog.com (10.64.17.133) by ASHBMBX8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 7 Dec 2022 04:09:51 -0500 Received: from ASHBMBX8.ad.analog.com (10.64.17.5) by ASHBCASHYB5.ad.analog.com (10.64.17.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.14; Wed, 7 Dec 2022 04:09:51 -0500 Received: from zeus.spd.analog.com (10.66.68.11) by ashbmbx8.ad.analog.com (10.64.17.5) with Microsoft SMTP Server id 15.2.986.14 via Frontend Transport; Wed, 7 Dec 2022 04:09:51 -0500 Received: from okan.localdomain ([10.158.19.61]) by zeus.spd.analog.com (8.15.1/8.15.1) with ESMTP id 2B799G9U029801; Wed, 7 Dec 2022 04:09:19 -0500 From: Okan Sahin To: CC: Okan Sahin , Lee Jones , "Rob Herring" , Krzysztof Kozlowski , Liam Girdwood , Mark Brown , Jonathan Cameron , Lars-Peter Clausen , Andy Shevchenko , Caleb Connolly , Ramona Bolboaca , Geert Uytterhoeven , Lad Prabhakar , ChiYuan Huang , Anand Ashok Dumbre , William Breathitt Gray , Manish Narani , , , Subject: [PATCH 0/5] staging: drivers: mfd: Add MAX77541 MFD and related device drivers Date: Wed, 7 Dec 2022 12:08:39 +0300 Message-ID: <20221207090906.5896-1-okan.sahin@analog.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-ADIRuleOP-NewSCL: Rule Triggered X-Proofpoint-GUID: iLWjwKtHCyEyKOhgXzJyPOcECl-mTrR1 X-Proofpoint-ORIG-GUID: iLWjwKtHCyEyKOhgXzJyPOcECl-mTrR1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-07_04,2022-12-06_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 lowpriorityscore=0 spamscore=0 adultscore=0 clxscore=1011 mlxscore=0 mlxlogscore=731 priorityscore=1501 suspectscore=0 bulkscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2212070076 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1751545947875920431?= X-GMAIL-MSGID: =?utf-8?q?1751545947875920431?= This patchset adds mfd, regulator and adc driver and related bindings.The patches are required to be applied in sequence. Okan Sahin (5): staging: drivers: mfd: Add MAX77541/MAX77540 PMIC Support staging: dt-bindings: mfd: adi,max77541.yaml Add MAX77541 bindings staging: drivers: regulator: Add MAX77541 Regulator Support staging: dt-bindings: regulator: adi,max77541.yaml Add MAX77541 Regulator bindings staging: drivers: iio: adc: Adc MAX77541 ADC Support .../devicetree/bindings/mfd/adi,max77541.yaml | 134 ++++++++++ .../bindings/regulator/adi,max77541.yaml | 44 ++++ MAINTAINERS | 11 + drivers/iio/adc/Kconfig | 11 + drivers/iio/adc/Makefile | 1 + drivers/iio/adc/max77541-adc.c | 224 +++++++++++++++++ drivers/mfd/Kconfig | 13 + drivers/mfd/Makefile | 1 + drivers/mfd/max77541.c | 236 ++++++++++++++++++ drivers/regulator/Kconfig | 9 + drivers/regulator/Makefile | 1 + drivers/regulator/max77541-regulator.c | 181 ++++++++++++++ include/linux/mfd/max77541.h | 150 +++++++++++ 13 files changed, 1016 insertions(+) create mode 100644 Documentation/devicetree/bindings/mfd/adi,max77541.yaml create mode 100644 Documentation/devicetree/bindings/regulator/adi,max77541.yaml create mode 100644 drivers/iio/adc/max77541-adc.c create mode 100644 drivers/mfd/max77541.c create mode 100644 drivers/regulator/max77541-regulator.c create mode 100644 include/linux/mfd/max77541.h