From patchwork Sat Oct 12 02:56:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 13833929 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AB186D1A427 for ; Sat, 12 Oct 2024 02:57:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=Tk2vP0j162rdjYh2Qdaw6iMmH0Ha0A0lDedf65wNU6s=; b=nbygXR4CO9bXXBDigscOz5puPm e7EPDMF9FUcduKD+6UGMoXaYiGUCfjQGC5Xomsyv/DaTqmesVx9QXlpGI2KlBNNFT5arXtfnP50/T RJayrNMMT3HId6m+0VVceP1ylXpZKIVFcMfo3SxdguNAdUynhjssjpzap/0a1bR9oCeEstk5LlbQ0 aPy5+FncqWQoDgadVhN+qcjAR4YK+GXFF6XmXmufXD0a42HJBhIHxFsqSyMb4ObzgA9PtumGIJ9F4 LDcaj2ryIbk2UeJ2/XJ+lCdBGzHg3jMoxqARHWo4nh5Nry0icx+8bqT+XWT6tZQctfmYsXefYz8xT PbaCvlNQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1szSK2-00000000QDG-3wNw; Sat, 12 Oct 2024 02:57:38 +0000 Received: from relay.smtp-ext.broadcom.com ([192.19.144.209]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1szSIf-00000000Q5l-2fPa for linux-arm-kernel@lists.infradead.org; Sat, 12 Oct 2024 02:56:15 +0000 Received: from mail-lvn-it-01.lvn.broadcom.net (mail-lvn-it-01.lvn.broadcom.net [10.36.132.253]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id 33695C0000F9; Fri, 11 Oct 2024 19:56:10 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 33695C0000F9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1728701770; bh=2MpnGwRRd9XBF6S6g8PVFWQLwXImpFcsPQL17bdYylI=; h=From:To:Cc:Subject:Date:From; b=tQBV5FVvi7PkRSqe0jcOG5N3IjEamaacWT0mOQL3K1jKBsRbt3RhaRUQCtokMHjU/ 5Ye8xJ1zn/Wq76ehCuJ6m2XkCYxXirhZbW5HhFleQBwCL+hwbR5GtrXTmS1HZmr3er oTz8WR4ACX6XOVSPqz13V3uHhZEeqoVgEK8LOJc0= Received: from stbirv-lnx-1.igp.broadcom.net (stbirv-lnx-1.igp.broadcom.net [10.67.48.32]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail-lvn-it-01.lvn.broadcom.net (Postfix) with ESMTPSA id 57D8018041CAC6; Fri, 11 Oct 2024 19:56:09 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: Florian Fainelli , =?utf-8?q?Uwe_Kleine-K?= =?utf-8?q?=C3=B6nig?= , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Broadcom internal kernel review list , Thierry Reding , linux-pwm@vger.kernel.org (open list:PWM SUBSYSTEM), devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE), justin.chen@broadcom.com Subject: [PATCH 0/2] pwm: brcmstb: Support configurable open-drain mode Date: Fri, 11 Oct 2024 19:56:01 -0700 Message-Id: <20241012025603.1644451-1-florian.fainelli@broadcom.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241011_195613_849030_1A43F749 X-CRM114-Status: GOOD ( 10.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series updates the pwm-brcmstb driver to not assume an open-drain mode, but instead get that sort of configuration from Device Tree using the 'open-drain' property. Florian Fainelli (2): dt-bindings: pwm: brcm,bcm7038: Document the 'open-drain' property pwm: brcmstb: Do not assume open drain configuration .../devicetree/bindings/pwm/brcm,bcm7038-pwm.yaml | 6 ++++++ drivers/pwm/pwm-brcmstb.c | 7 +++++-- 2 files changed, 11 insertions(+), 2 deletions(-)