Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp3987688rdb; Wed, 30 Aug 2023 11:52:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHB2MNev68ToszlZQYPH5txs8uSAbPxrxXbtq2cij4e/HSjs39CLBRsEbcNyC0699RcECR6 X-Received: by 2002:a17:90a:6be1:b0:26b:726:118 with SMTP id w88-20020a17090a6be100b0026b07260118mr2848118pjj.19.1693421579274; Wed, 30 Aug 2023 11:52:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693421579; cv=none; d=google.com; s=arc-20160816; b=EzT9myG9NjYb8wZ2vl5kxlnJE+gWwELGf3sWZDI6qbi3Tm7AztlLDAaI6rJ9pe2hLE /4RsogTTkN+ssXya4BvUHW0aaN9W1FrNK9Ew5q5S7PVR1OKg8Ag6seeE34I87TyfGatA OgLeBY/V6v7VXzRYnDPN4MhVOSvJfYlpCiWGL44JXAkhKWTbHRBgqSMzEoo4HPiEDu9X ipTnQouR1QbwWLCVA7i+ZshT2ZSJHqHl4E+OK1x8w9i1loHPWbEmU3Fu4hy7cTPt+ql1 V84osQiDvFFExXrj8TgUicIYAVEeAV68G8by9nQpJ/oMMC5vXXaCb5i8E5g8LiEIRQ1H 9zBw== 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=EbxlMaYQwENKnd+4Ae6YV65kNoxo66KsJO7SqwN3uVU=; fh=5PJcE6eka+7wIFURK9O4vXUIGQlaKCJZxOh+QCn9HFU=; b=PPESZQIcFroAgN2boi53aewbG3Bo5ubyUumpk3ECVJ3T5UJcGREg5wLTQDIFtztGni zJ8+iitnTpym9GgNeJznrsTaU5lO1wOnv3xN2Ad4OTBpddb5Dzb9DB61QRdc26D1qPsC D2GkJ+KlqHGHrvQ3KfulMEJ1mqRJbxPWrKLrJxnFAX6mpkCi+aERDvWKZ6WRrkXtaoH9 qJz1aj1LJ8MbmwEHICjzZPFQK24664MtX5v5rXLwogdC32pvPExIQqBN5ZDnmp3OHPnw KyCdabLI97UGqKqHR5ZnIBdbBpDCCrKpwU0LGZxL9JCDgbRoLH9MV3WgT5naQMYHwXpr IwYA== 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 mi1-20020a17090b4b4100b0026811057b97si2405957pjb.69.2023.08.30.11.52.27; Wed, 30 Aug 2023 11:52:59 -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 S238393AbjH3Shn (ORCPT + 99 others); Wed, 30 Aug 2023 14:37:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344195AbjH3SUz (ORCPT ); Wed, 30 Aug 2023 14:20:55 -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 AB138198; Wed, 30 Aug 2023 11:20:51 -0700 (PDT) Received: from p200300ccff199c001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff19:9c00: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 1qbPo2-003BYg-W8; Wed, 30 Aug 2023 20:20:42 +0200 Received: from andi by aktux with local (Exim 4.96) (envelope-from ) id 1qbPo2-003gTw-1f; Wed, 30 Aug 2023 20:20:42 +0200 From: Andreas Kemnade To: lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, bcousson@baylibre.com, tony@atomide.com, mturquette@baylibre.com, sboyd@kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org, linux-clk@vger.kernel.org Cc: Andreas Kemnade Subject: [PATCH v2 0/5] ARM: omap: omap4-embt2ws: 32K clock for WLAN Date: Wed, 30 Aug 2023 20:20:33 +0200 Message-Id: <20230830182038.878265-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=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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 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 V2: - no separate device node for the clock - converted toplevel node of TWL Andreas Kemnade (5): dt-bindings: mfd: convert twl-family.tx 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 .../devicetree/bindings/mfd/ti,twl.yaml | 72 +++++++ .../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 ++ 7 files changed, 303 insertions(+), 46 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