Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5605733rwb; Tue, 22 Nov 2022 02:18:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ym60r0n/nPCbhDLE0/VD86nOmlNN5hhyg78gg5rpV5+sXFZRaQ0zwwGuVUFX2NMw0426J X-Received: by 2002:a17:906:2b8f:b0:7a0:3125:f1e5 with SMTP id m15-20020a1709062b8f00b007a03125f1e5mr18669794ejg.314.1669112290606; Tue, 22 Nov 2022 02:18:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669112290; cv=none; d=google.com; s=arc-20160816; b=HHAX4MgnmzK5f0I9Mzla5Y4MXVJCF1QTDJKc+KHf++yzYZUIzxZWqNfF1/XnoXubg/ zv7yNe03e90BBYsOk/PRSPaWP9eleup0rGKZbdfGq//HKTEeqh9YQ1xCVtJPMlOrukUg wkHq1vJW1ddfuwvtTqj4kQBki5dlkfuTBHjr/5E4v7S9oaF1/GNCVsJZkLGpzAD3bBgE Fy3fQW0zfQIij3HQ2zh+3HbSWVyfMliZg15xp9vE5hEm+6nsoYK+A2kffR9hPj2RsESx BCHzx1t1/q+9k2RUocen1M2Ae5108jBg7HooqGITitBBhjQAzdghDdkBbIJ/G6ssN1pm xDGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=gdo4vgWV8tXNuK/w1oRYXeG/YbiAC9Xkv0incWmwWPA=; b=IwgdWPV0vT2nPfn7zTOOIHssDZZo1S9zNkfMbaSLcKkrDSyqwnDpvuVktN3WtYaVVT nhfvtyq4V5CxYkVHw8+gaFiokGeq1Y3v/r/1sR6xirkDl0QJNTH3pigw9RzZtTTiRy2J o6psH1kF3uoXE55TX/xKliSBJO+rGNNemVCNa0hfcFb1/xz+r5vUYImzvDHfNl9Qdz0I b2CLufG9ieBH+YylC5yXTr0pdK5+S5froeE7MGhEJBV/J9uC/bMQn0gdrPcSo5/yvGsf rCO2vy1LjUrSODXZWa4qjl6wQV2mMLxDB0JLx/pjKfTtSs+uEFmgWdJ396+9yl5xeh9H 3MKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dh-electronics.com header.s=dhelectronicscom header.b=CnYh0Qcx; 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=REJECT sp=REJECT dis=NONE) header.from=dh-electronics.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id du5-20020a17090772c500b007ae6aa9e875si13284663ejc.370.2022.11.22.02.17.44; Tue, 22 Nov 2022 02:18:10 -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; dkim=pass header.i=@dh-electronics.com header.s=dhelectronicscom header.b=CnYh0Qcx; 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=REJECT sp=REJECT dis=NONE) header.from=dh-electronics.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229516AbiKVKKS (ORCPT + 91 others); Tue, 22 Nov 2022 05:10:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229449AbiKVKKM (ORCPT ); Tue, 22 Nov 2022 05:10:12 -0500 X-Greylist: delayed 548 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 22 Nov 2022 02:10:10 PST Received: from mx2.securetransport.de (mx2.securetransport.de [188.68.39.254]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4FA2545A3D for ; Tue, 22 Nov 2022 02:10:10 -0800 (PST) Received: from mail.dh-electronics.com (unknown [77.24.89.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.securetransport.de (Postfix) with ESMTPSA id B7A935E8AB; Tue, 22 Nov 2022 11:00:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dh-electronics.com; s=dhelectronicscom; t=1669111209; bh=gdo4vgWV8tXNuK/w1oRYXeG/YbiAC9Xkv0incWmwWPA=; h=From:To:CC:Subject:Date:From; b=CnYh0QcxCL0AUHn2PJFVyzpcsVUUV4l7cW96wyZXwCj3oPgfJqr8ym3dP1ge4iea1 /WiDzVtwGEotIfpkZBt4uXkhcGGBEXHMMoKuKy63uC+m90Vgr0Yh5t6PN4jnW9BTnP I8xpyUgi0N003wA7LoshBNjHwmY2a/dky1WK3WTPrOwBEM0bjB3Rj43VTJaHSS6fNQ z9xYtOm+FTsyAma4qe2o25FJ9CPWQLtm/+XJGCnVMnZFSjNQ6YORNOpSpiH+/uEJ53 Dala/yAKrKDlx+0xCTa14KYsIg6+/3fHwGvZNyZJcHv+mOrJseBUCIFhKP9/MR2E0a tIRlJdLJZgRwg== Received: from DHPWEX01.DH-ELECTRONICS.ORG (10.64.2.30) by DHPWEX01.DH-ELECTRONICS.ORG (10.64.2.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.20; Tue, 22 Nov 2022 11:00:00 +0100 Received: from localhost.localdomain (172.16.51.2) by DHPWEX01.DH-ELECTRONICS.ORG (10.64.2.30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.20 via Frontend Transport; Tue, 22 Nov 2022 10:59:59 +0100 From: Christoph Niedermaier To: CC: Christoph Niedermaier , "Support Opensource" , Adam Thomson , Liam Girdwood , Mark Brown , Marek Vasut , , Subject: [PATCH 0/3] mfd: da9062: Make the use of IRQ optional Date: Tue, 22 Nov 2022 10:58:30 +0100 Message-ID: <20221122095833.3957-1-cniedermaier@dh-electronics.com> X-Mailer: git-send-email 2.11.0 X-klartext: yes MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 For the core functionality of the MFD DA9061/62 IRQ isn't needed. This series removes the requirement for an IRQ. This is done by modifing the MFD driver and regulator driver to setup the device without IRQ. This makes the DA9061/62 chip useable for designs which haven't connected the IRQ pin. I tested it with a DHCOM i.MX6ULL, which is powered by a DA9061. In this series, the DT binding file is also adapted. Christoph Niedermaier (3): dt-bindings: mfd: da9062: Move IRQ to optional properties mfd: da9062: Remove IRQ requirement regulator: da9062: Make the use of IRQ optional --- Cc: Support Opensource Cc: Adam Thomson Cc: Liam Girdwood Cc: Mark Brown Cc: Marek Vasut Cc: kernel@dh-electronics.com Cc: linux-kernel@vger.kernel.org To: linux-arm-kernel@lists.infradead.org --- Documentation/devicetree/bindings/mfd/da9062.txt | 11 +-- drivers/mfd/da9062-core.c | 98 ++++++++++++++++++------ drivers/regulator/da9062-regulator.c | 7 +- 3 files changed, 82 insertions(+), 34 deletions(-) -- 2.11.0