Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp917518rdb; Sun, 18 Feb 2024 19:39:17 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWyl0TXSqyIUb5IxMstKzZnEI3SE5kgB9Fn7z5/YdiT1QwbFOrEUryBvssPo57Zo8ovfptZ5f7f1SCKsZh6JhsapQHXTBbJPg4zsNg00Q== X-Google-Smtp-Source: AGHT+IHtKoKO1Au20O5SB/A2r7of1z11xElY2T6o345x0cCAqO0git6UfQjTbIB4JdTbs20RZISA X-Received: by 2002:a05:622a:42:b0:42e:161b:ca3a with SMTP id y2-20020a05622a004200b0042e161bca3amr705817qtw.9.1708313956898; Sun, 18 Feb 2024 19:39:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708313956; cv=pass; d=google.com; s=arc-20160816; b=pr78e9V9c3pdq83TCNaTgFhwK7u9wZTqFBUuP2r3qjGi1nayjR63SQfbHsIpa0W0mz /ljkdzKQmj8lClBvl1nkyXOG6I/J4dP1RK6ybxpHvSIIRu8EA+l4twouEdym/i5GraoR 95UPTwnoxYuKcZiobcJDJXhH0s6bkGJtQfEOhjeCIfN2CA9Copbvp+FxuCmlYtEpJYSk 7EqKN559vMjR2MyOlSsfMp2pozvGOOSm7OQdL2O7uw+3A+5VdyXaijr7yskEVfftorr3 WiGDcOs155NC+trsYEvP0U35Gpsh8IpIC9xNUa9Dl+WhYl3Dk/H+xGj9VL7KPthqY9L3 JoBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=floq09ODssr6gimWiRoe7vi420migfvf5Wbge0Uj68c=; fh=y/RjPbXBoPouJTPaYxwEImQW6x8GRiLpamQFwed/jf0=; b=lM+3VoAhVI4IcTlaQZ1QyWBYLUFp7Itcif7bzhFoMmc2+/ZhYeXiTK1T38481diVgI KiOzbE75+vHsgENt1iANSPJX68mKRE8OErq24fMwFWRVB+yw0gytn1TZ8+4DUrU8XFVs 5dd/WtkxhX0gZLjsk/v63uCghfIXKmEXtRSqTkITxK5a3PwO+WZzZyuVosa6/cD5oP2d pN/Y7ahYzth7tcCInTW50U0RDxsZW58snntssT/SEyYZDc2duu9NmKb2GasQF0nTrakw kQBMyXHK6gIK71GszhXSD7dNhf/VQRng+XoVZI8C8UpWEXwZZ6fL26jpSvNPeKQFV7m/ 3WWg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="S3qZ/KjM"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-70677-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id b17-20020a05620a271100b00785600855a0si5778931qkp.17.2024.02.18.19.39.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Feb 2024 19:39:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-70677-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="S3qZ/KjM"; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-70677-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-70677-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id ED9171C213BE for ; Mon, 19 Feb 2024 03:39:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 86BB18F5A; Mon, 19 Feb 2024 03:38:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="S3qZ/KjM" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4F44B522F; Mon, 19 Feb 2024 03:38:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708313938; cv=none; b=ImVx7hB+g8QUBPDbk316xJTxte5PdK9QcPG6fhl2HvxpBv2UctsoUHy/+lFbvyjQdLaFkB7o7EV303gyRzQzLCNylplQEs1NU3OeHSiERQRNbGLdPf2yM5SCBeNurKphSFzBSFOkSDJsLaILGFgEHRuFcvAAR63iWetb71caMjY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708313938; c=relaxed/simple; bh=IkdZYrQjnIqZ6yKY1yhUCGON0Z800X0TwXOZPrbf4fM=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Y5cpo+B2MOfJmw8EQsqJjHlAsNnZb2xuu++g5wb33lAR3Hth/BG+v5Dd3SUXINXtYrbftAnfPl0B4cy1l1tGsPxR/8Z0Y4LcOqRdBUMbha3PvmUAEXUwYqyLy9aNa+selDJY9AvwKM1Jkdn9YwwhYPBnkoD1lnQACjUhTIcnT6Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=none smtp.mailfrom=ecsmtp.iind.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=S3qZ/KjM; arc=none smtp.client-ip=198.175.65.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=ecsmtp.iind.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1708313937; x=1739849937; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=IkdZYrQjnIqZ6yKY1yhUCGON0Z800X0TwXOZPrbf4fM=; b=S3qZ/KjMjzEQmnjmBRw3GVZYwpyNNQ8PLrdPqZRUFZ4tRJc9yQ8wmVTP RVGfugEQv/+E5CK0u5krDzVN1F2M0CrD2M1vlxbzKLUfM0c5fwvugC6Mt /mJWZ03fPI/bgWLsJlyUPRZHp+D+OKeM+XFwegUSeDZlDqyaSRi8GDZyy 1WBI5+0xYkBxpSdUnUnGvbKAoG6JdIyOjhJ5vcq60hBrU1dcShcX0vwNz cmkEi60CnmVBuYRKuJFHBayWN3Oqun2EBUCfysdhVoIfmTL4W7orjz67s +zyEqPWKWUlIGusRS+XkszDvhW9mEv+3CpfWTlAqvunPve/KEkaG3Ge4w g==; X-IronPort-AV: E=McAfee;i="6600,9927,10988"; a="24838176" X-IronPort-AV: E=Sophos;i="6.06,170,1705392000"; d="scan'208";a="24838176" Received: from fmviesa007.fm.intel.com ([10.60.135.147]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Feb 2024 19:38:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,170,1705392000"; d="scan'208";a="4281845" Received: from inesxmail01.iind.intel.com ([10.223.57.40]) by fmviesa007.fm.intel.com with ESMTP; 18 Feb 2024 19:38:47 -0800 Received: from inlubt0316.iind.intel.com (inlubt0316.iind.intel.com [10.191.20.213]) by inesxmail01.iind.intel.com (Postfix) with ESMTP id C533471912; Mon, 19 Feb 2024 09:08:45 +0530 (IST) Received: by inlubt0316.iind.intel.com (Postfix, from userid 12101951) id C16F51600100; Mon, 19 Feb 2024 09:08:45 +0530 (IST) From: Raag Jadav To: u.kleine-koenig@pengutronix.de, jarkko.nikula@linux.intel.com, mika.westerberg@linux.intel.com, andriy.shevchenko@linux.intel.com, lakshmi.sowjanya.d@intel.com Cc: linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, Raag Jadav Subject: [PATCH v4 0/4] DesignWare PWM improvements Date: Mon, 19 Feb 2024 09:08:31 +0530 Message-Id: <20240219033835.11369-1-raag.jadav@intel.com> X-Mailer: git-send-email 2.35.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series implements 16 channel PWM support for Intel Elkhart Lake along with minor cleanups for DesignWare PWM driver. Changes since v3: - Fix PM regression - Add comment for removed error check - Drop accepted patches - Update tags Changes since v2: - Remove error code duplication from dev_err_probe() - Update tags Changes since v1: - Drop redundant error check - Provide dwc_pwm_init_one() to initialize one PWM instance - Use dev_get_drvdata() instead of pci_get_drvdata() - Use pm_sleep_ptr() instead of use pm_ptr() Raag Jadav (4): pwm: dwc: Fix PM regression pwm: dwc: drop redundant error check pwm: dwc: Add 16 channel support for Intel Elkhart Lake pwm: dwc: simplify error handling drivers/pwm/pwm-dwc.c | 58 +++++++++++++++++++++++++++---------------- drivers/pwm/pwm-dwc.h | 5 ++++ 2 files changed, 41 insertions(+), 22 deletions(-) base-commit: 191fba33d814a855ac6a29d2c26a46fbe88d55b4 -- 2.35.3