From patchwork Mon Oct 24 20:52:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 13018266 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94B18FA373D for ; Mon, 24 Oct 2022 23:30:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231234AbiJXXac (ORCPT ); Mon, 24 Oct 2022 19:30:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231197AbiJXXaK (ORCPT ); Mon, 24 Oct 2022 19:30:10 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07339A2851; Mon, 24 Oct 2022 14:51:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1666644739; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=+ftnH8PiQM7vRwC+vvn0YErE9wzRcvPE7+Jxycee6FQ=; b=wVkh2ifrrqdicQgTmpFgvZOs3NWX3iw+5/2+Shc97X68/Ox2Rj10J7SKhU7vHGKOW09XMB M3loSKulHb98Jomn0jFr/vLlIBpdb3uKknbojkUr7gChwE5dnfyYRv9J/2luFYwQ2982fx 3O1A90BpcOtDWDnDXyTgug7MTr5XEl4= From: Paul Cercueil To: Thierry Reding , =?utf-8?q?Uwe_Kleine-K=C3=B6n?= =?utf-8?q?ig?= Cc: od@opendingux.net, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, Paul Cercueil Subject: [PATCH 0/5] pwm: jz4740: Fixes and some light changes Date: Mon, 24 Oct 2022 21:52:08 +0100 Message-Id: <20221024205213.327001-1-paul@crapouillou.net> MIME-Version: 1.0 X-Spam: Yes Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org Hi Thierry, Uwe, Here are two important fixes for the pwm-jz4740 driver. They address problems with the PWM pin levels not being driven inactive when they should be. The patches 3-5 are simple changes and are not bugfixes. Cheers, -Paul Paul Cercueil (5): pwm: jz4740: Fix pin level of disabled TCU2 channels, part 1 pwm: jz4740: Fix pin level of disabled TCU2 channels, part 2 pwm: jz4740: Force dependency on Device Tree pwm: jz4740: Depend on MACH_INGENIC instead of MIPS pwm: jz4740: Use regmap_{set,clear}_bits drivers/pwm/Kconfig | 4 +- drivers/pwm/pwm-jz4740.c | 89 ++++++++++++++++++++++++---------------- 2 files changed, 55 insertions(+), 38 deletions(-)