Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp726161rdb; Fri, 22 Dec 2023 03:17:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGIInxupekTPsQZSBZB1Tg+732yuGrkLQcevGe5rN5u/1Pd2r3phFG3ZFeLF/CqAGd/F8eR X-Received: by 2002:a17:906:190d:b0:a26:93bb:a93 with SMTP id a13-20020a170906190d00b00a2693bb0a93mr738394eje.50.1703243856730; Fri, 22 Dec 2023 03:17:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703243856; cv=none; d=google.com; s=arc-20160816; b=BabdLKNkLuo6AAKgWxdrnnn0UeWtqNZceH8lQyy+/i6KaUBhzLQ9VRIQon1X2XHJqO gNbYNyj1nlK7ApqJhmLrm0dHSfM/Ec2KGfnsFsC4Lw19Z0ROnKEKlkTxIbMPNO8HRbB1 2nA6xa859PnSwoExeV250t0NnPKTuJUT2JgaeN63RlmWJxXPqsLTXvwwoitPxCD4wVr0 7AVhXNK7ksHlCbuA/8rgHh9X6tRC1syO5YD2dxqZ2YYyYT2YPxjmps1avZJojAB3zMjt B2Bk6WAxycFhhQgxHVfGOltA9Gy73tB2a391l+LHJ/ryfBHULAjmf/QPlj8BIjNz/sOL 136g== ARC-Message-Signature: i=1; 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=CMtDAy1EXDszTwMTqqohVsilgzyKD7wGsQGS9hZLtqo=; fh=2aiQaFmMxr/QDQUBgVVkbK+3ADRUnOteOvF/xtBRB/I=; b=jk6T03Gt0nMAPj79KAr5EZ1HnJr7StSpJUgpdlyGxl4CLKy/1cYmvmpGJ+a1UEg402 4lrb2Vc7VWoxhjtg2M/mdNK2kBe0c2vaXtSd6i9a5Qp4vsREeTERQKXtyho/t9EzSj58 gaM2q/ndy2Zre9YMNP/AuYuD/gHj//CKIy7K7SKfuKybAvnci/jhj+OahIfzLkTYGJ9W iFyMxDpxSKi2zwbJfxPacxdlYoSc3Hzd/kRin8khMlmQsyKpHyYDK2jqq10Qq+K0X7jx A4evDfQWuHHh4zqmDUP7EFJG7SsjbR8cWyHFXTFx468aMq/lcr0H5atKoz6/C7VzOWHx LjFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=NRUtbPMK; spf=pass (google.com: domain of linux-kernel+bounces-9646-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9646-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id l15-20020a1709065a8f00b00a2339e39986si1703288ejq.521.2023.12.22.03.17.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 03:17:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-9646-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b=NRUtbPMK; spf=pass (google.com: domain of linux-kernel+bounces-9646-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-9646-linux.lists.archive=gmail.com@vger.kernel.org" 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 7A1911F23B78 for ; Fri, 22 Dec 2023 11:17:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 451CB1773B; Fri, 22 Dec 2023 11:17:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20230601.gappssmtp.com header.i=@baylibre-com.20230601.gappssmtp.com header.b="NRUtbPMK" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wr1-f47.google.com (mail-wr1-f47.google.com [209.85.221.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0CE5171A3 for ; Fri, 22 Dec 2023 11:17:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=baylibre.com Received: by mail-wr1-f47.google.com with SMTP id ffacd0b85a97d-33679c49fe5so1401783f8f.3 for ; Fri, 22 Dec 2023 03:17:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1703243842; x=1703848642; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=CMtDAy1EXDszTwMTqqohVsilgzyKD7wGsQGS9hZLtqo=; b=NRUtbPMK2ZhT8F9ZGVPZftkoZUPHyEHEwIbn7dZUBBBBDbTO7W2RHlZPvZGMMfmo6g gwyyKj1J0JUVqLJ5SsRKjhmxX5FrWJDOTL7vo6uGTdK7zbwuSAnIdseXf//WLUVf8Qdu LrtSz1y3AZnYF5uO4aFzU8E1FCtBBhkE4dpjzZETvy/PJDf5ebvZZlf4uL8L6PXCaUE/ BtFQ/xPovI6hjnB6WA2oowYUmDLCFK5IN59FjmKRvDxQHr8GBzLhUbd89OMGu3vT6YwL EkgoFyzo15BdUzu8ZSoIw9oHLnBWR65zfFk7noWuWGgPvGPc8hi1lX2+hqSD8bsSgzmm KwXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703243842; x=1703848642; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CMtDAy1EXDszTwMTqqohVsilgzyKD7wGsQGS9hZLtqo=; b=n0Y6ZrKJk5PSbSAETHq8sBKFWD5CQGF2k637SBvThZKcWvm0N61BGYoFVoVy0GMb8j lPlpqWaB56cmwLEWnvMqHGXvD5+yOs1Xvh4e/w27GXpopCc7o0x/KNJq7C8dJ0Yr1Ruw hRi6AwJLqy7xC3fiNcMZtQRgAP+RVRsNtDHDxC+t6lJMUXaLkbrSL00pAtUm1fpGiuMO WaxbBiyX3ZpvdqKDJsWa1fCk4f9egLp61Zrz/EIXDgmFvGlAwnWg6i4ee9UH2oYBeKd0 WYcKJYUqKHZeF7Cs/uWTDM61Jg3jQwd4PvgaziFWP9b45U+of9Dj7ZqS7fntCHpIcfLl cZZQ== X-Gm-Message-State: AOJu0YzjnVtHuOgl9mFjkHvrhXo9tWCiy8wIlj/XVpHIy5WBG/DlEyy1 I9Sn5nGoGMYfROmegG+b/lCwpuE91wdVmg== X-Received: by 2002:a5d:4a45:0:b0:333:2fd2:8135 with SMTP id v5-20020a5d4a45000000b003332fd28135mr578985wrs.82.1703243841708; Fri, 22 Dec 2023 03:17:21 -0800 (PST) Received: from toaster.lan ([2a01:e0a:3c5:5fb1:c099:e596:3179:b0fa]) by smtp.googlemail.com with ESMTPSA id f8-20020adffcc8000000b003366b500047sm4054069wrs.50.2023.12.22.03.17.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Dec 2023 03:17:21 -0800 (PST) From: Jerome Brunet To: Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Neil Armstrong , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Jerome Brunet , Kevin Hilman , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-pwm@vger.kernel.org, JunYi Zhao Subject: [PATCH v4 0/6] pwm: meson: dt-bindings fixup Date: Fri, 22 Dec 2023 12:16:48 +0100 Message-ID: <20231222111658.832167-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.42.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit This patchset aims to: * Fix the incorrect bindings for the s4 type of pwm that was introduced while converting the documentation from txt to yaml format. * Introduce a new compatible for the existing PWMs to better describe the HW in DT, instead of describing driver settings. * Make the introduction of a new pwm variant (s4) slightly easier. Changes since v3 [3]: * Split first rework patch into 3 changes * Use dev_warn_once() to notify use of obsolete bindings * Rebased on Uwe dev_err_probe() change. Changes since v2 [2]: * Drop DTS changes. These will be re-submitted later on. Possibly after u-boot gets support for the new compatible to minimise conversion problems. * Position deprecated property correctly in dt-bindings for the old meson8 type pwm bindings * Reword commit description of patch #2 to make more obvious it does not introduce a new HW support but fixes a bad bindings. * Dropped Rob's Reviewed-by on patch #2. It seemed appropriate considering the discussion on this change. Changes since v1 [1]: * Fix typo in the new binding compatible documentation * Disallow clock-names for the new compatibles in the schema documenation [1]: https://lore.kernel.org/linux-amlogic/20231106103259.703417-1-jbrunet@baylibre.com [2]: https://lore.kernel.org/linux-amlogic/20231117125919.1696980-1-jbrunet@baylibre.com [3]: https://lore.kernel.org/linux-amlogic/20231129134004.3642121-1-jbrunet@baylibre.com Jerome Brunet (6): dt-bindings: pwm: amlogic: fix s4 bindings dt-bindings: pwm: amlogic: add new compatible for meson8 pwm type pwm: meson: generalize 4 inputs clock on meson8 pwm type pwm: meson: use device data to carry information around pwm: meson: don't carry internal clock elements around pwm: meson: add generic compatible for meson8 to sm1 .../devicetree/bindings/pwm/pwm-amlogic.yaml | 113 ++++++- drivers/pwm/pwm-meson.c | 291 +++++++++++------- 2 files changed, 276 insertions(+), 128 deletions(-) -- 2.42.0