Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5102053rdb; Sat, 16 Sep 2023 03:08:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEKhwTZvkWgjaj27svUjPa1Q68sZwORLbcIQs+nwHa+/MAZo99mpCLP2nfq+dilOCiIxv4k X-Received: by 2002:a05:6870:3328:b0:1d0:e371:e95c with SMTP id x40-20020a056870332800b001d0e371e95cmr5393809oae.40.1694858883260; Sat, 16 Sep 2023 03:08:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694858883; cv=none; d=google.com; s=arc-20160816; b=Igl3XYVcxwb8dGBGrDSOQoyee5xjWWU5X4DRHGg8ZOvn81i7VTNFPmYI8TTo3gRKhJ A/+0ob42mQ4jI4OJNfAiQ+epAOncUaYdKJLsTZ1g8zD5rBYhwLE6shRUGXS0/w3kI79k X7StycHan4Y2IQDXmJiNLmbIMU0lfufg5s4m8I7/JmNIDI//hiNuGI6EpQK0TsKYT1/i NoobbzXyDZmgZeJ1Gl2xZ0EGDsYGHl3HboSqRWGNr90ui5cedfxVgLJTdI8mA+C8po7S sMm+PLcJgf0CKRL63kiFe1h/wXyoNCiKwj/SsETn3S+5iNAtCAl1J6E+b3YvbX9xcj6h O9Gw== 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=1NJVkl6L4NbN1dg3NlyV6mp7tFigxDrv64kesLDNtMs=; fh=0qBo2YP1jey5SoWIG9Z/Z6nPioqMXIxuGlTiNE4HmqM=; b=MAjEOhybl63QGY4PQnogUMsih2yL3Ac+oMXqm6iwSG3WJuNbo2veLgr7Cq+KerqqMw OjWaLIdxOczzzmzAQo9FcJmFZQh80c6QxVF08dh32H+s9HEeQp9nG8+A1sddpf5gYV8L mEmcA0SJdxEhsRWMHtA6iv3yknuFRnYc1IG7YSx0AsMZh9tSx3vtED4m3yOqTdbxyV5p 35I8rM9XG9iiLtsdMtacR4aAPVoaOVEM0ZgweWMtuBy2ggiyDcIwrwCRp4Tve8+14jtS LZ4huxkOs6Y5Apr4URTAZXdj+jAwoYycPCujN82Zqje9o8of7JUwI92zGAgraxTpzHhy n4RQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id q65-20020a632a44000000b005740eeadb59si4561450pgq.518.2023.09.16.03.08.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Sep 2023 03:08:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 0DC118300EF5; Sat, 16 Sep 2023 03:08:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239071AbjIPKGH (ORCPT + 99 others); Sat, 16 Sep 2023 06:06:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238419AbjIPKFe (ORCPT ); Sat, 16 Sep 2023 06:05:34 -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 DC048CD6; Sat, 16 Sep 2023 03:05:26 -0700 (PDT) Received: from p200300ccff1003001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff10:300: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 1qhSAy-003piu-5W; Sat, 16 Sep 2023 12:05:19 +0200 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1qhSAx-006vKf-0y; Sat, 16 Sep 2023 12:05:19 +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 v4 0/5] ARM: omap: omap4-embt2ws: 32K clock for WLAN Date: Sat, 16 Sep 2023 12:05:10 +0200 Message-Id: <20230916100515.1650336-1-andreas@kemnade.info> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Sat, 16 Sep 2023 03:08:01 -0700 (PDT) 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 V4: - use dev_err_probe in clk probe() - R-by 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