Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp2334537rdb; Mon, 11 Sep 2023 20:35:01 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHa0cSe4RCSMiMpJSsUZ79gcvuZ6XNiK4u0bZ8WSJtzlKX6/pQ6jiLxaZTjyPBZfgGriMHT X-Received: by 2002:a05:6870:7007:b0:1bb:fa96:ae0e with SMTP id u7-20020a056870700700b001bbfa96ae0emr13937886oae.22.1694489701498; Mon, 11 Sep 2023 20:35:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694489701; cv=none; d=google.com; s=arc-20160816; b=i0uJUBl9ocO+wNo2PqCKimykziEw2gNNAoqLjyQAZpDAWPpIJISEUYdZTqMTA+HD/w to2fiLN7igyflIKAoDZSRpLoieLkrdovT87OcKqa8lhR31aW8iFwtY+SB647gOOAyOEx aqy2TpfOtI5dTbTh+ov3Mn4UpqXBi+vaf2meewtszptKRzXvmDJV2x7rww37OZIq4LTg tI59dZ2vZlWdQycR9zCjdEC3xfnrhf9binG483HDa9U0Cr+yh9qeg6mthin6FQUhufyU +MCidgKs6gFKAkkTaOnFjXSRp6vJKgnE2Rwht/eoeb2AUlV+RswHoO8WubtMGVoRzOg4 R/yw== 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:to:from; bh=vj7tHwY+lbGdFAZIUbORBBlTbBKVfsy+STLseycUxfc=; fh=0qBo2YP1jey5SoWIG9Z/Z6nPioqMXIxuGlTiNE4HmqM=; b=gwMzynpxdRlz88VHR8RDEnHsGwl5bPPVJgQ0opVgdQX+W2mGKU8ipGna3SEP18bP6f NRZWqYjistBJMGQtsuS8/u+4tKJ1CCqFBO9prTI89o5RWzyhPc1nEaMEVN3lzi/VdlJt X8zels3/rhIVzDxPDjdndNrVoqA7OyrqgYDzgIdY9A/arBvnXL0NtF9eTXfk6zpobflT h6nKt5NS96cU8FarFjR2ZWttlmt7QLzoNkZytGsBmxOdH67Y5pD/Sd7gpvfbj8pO4cD0 3W+ZqyXJeBkOnUqzcxZ4y3JMWskFSqYceZxxbPlG6Gv9IuPxcobLlwsb825OvXCeS+9E aWxQ== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i191-20020a6387c8000000b005641dfc74casi4978356pge.745.2023.09.11.20.34.48; Mon, 11 Sep 2023 20:35:01 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238857AbjILCbs (ORCPT + 99 others); Mon, 11 Sep 2023 22:31:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39166 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239282AbjILCb1 (ORCPT ); Mon, 11 Sep 2023 22:31:27 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a02:c205:3004:2154::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B21C11224DC; Mon, 11 Sep 2023 18:56:26 -0700 (PDT) Received: from p200300ccff36fa001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff36:fa00:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qfpAD-003crG-Gw; Tue, 12 Sep 2023 00:13:49 +0200 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1qfpAC-006ECc-2f; Tue, 12 Sep 2023 00:13:48 +0200 From: Andreas Kemnade To: dmitry.torokhov@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, lee@kernel.org, bcousson@baylibre.com, tony@atomide.com, mturquette@baylibre.com, sboyd@kernel.org, andreas@kemnade.info, linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-clk@vger.kernel.org Subject: [PATCH v3 0/5] ARM: omap: omap4-embt2ws: 32K clock for WLAN Date: Tue, 12 Sep 2023 00:13:41 +0200 Message-Id: <20230911221346.1484543-1-andreas@kemnade.info> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To have WLAN working properly, enable a 32K clock of the TWL6032. In earlier tests, it was still enabled from a previous boot into the vendor system. Changes in V3: - maintainer change in binding doc - fix references to binding doc - additionalProperties: false - remove subdevices also from examples until subdevices are referenced/added Changes in V2: - no separate device node for the clock - converted toplevel node of TWL Andreas Kemnade (5): dt-bindings: mfd: convert twl-family.txt to json-schema dt-bindings: mfd: ti,twl: Add clock provider properties mfd: twl-core: Add a clock subdevice for the TWL6032 clk: twl: add clock driver for TWL6032 ARM: dts: omap4-embt2ws: enable 32K clock on WLAN .../bindings/input/twl4030-pwrbutton.txt | 2 +- .../devicetree/bindings/mfd/ti,twl.yaml | 67 ++++++ .../devicetree/bindings/mfd/twl-family.txt | 46 ---- .../boot/dts/ti/omap/omap4-epson-embt2ws.dts | 8 + drivers/clk/Kconfig | 9 + drivers/clk/Makefile | 1 + drivers/clk/clk-twl.c | 197 ++++++++++++++++++ drivers/mfd/twl-core.c | 16 ++ 8 files changed, 299 insertions(+), 47 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/ti,twl.yaml delete mode 100644 Documentation/devicetree/bindings/mfd/twl-family.txt create mode 100644 drivers/clk/clk-twl.c -- 2.39.2