Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp491829rdb; Fri, 17 Nov 2023 05:01:01 -0800 (PST) X-Google-Smtp-Source: AGHT+IHyaRP434GD7P5LnKuNAHQumPg8DzVyqlJenOnp99EBEnoFif+5Jc+aD2NxTaYd/dZg0zPl X-Received: by 2002:a05:6870:430c:b0:1f5:b252:d11 with SMTP id w12-20020a056870430c00b001f5b2520d11mr1126127oah.50.1700226061358; Fri, 17 Nov 2023 05:01:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700226061; cv=none; d=google.com; s=arc-20160816; b=qd9RjNo1BjgxHiCxoEqRRQ9meRKPVH7uxfX35GcUsktDmEBvJAq1blvTTNz9kyWhp9 fzybLcDh2cPT/Ep29edIABbcJoYDKPsC8fa2fr3vMfOVRsua26U4ibH/uejyBaRo1jpL uMmsCkgTlBFjZM/iVwokEptLY9Yv0OXvzQ7k76PomvV868EbwqYMzbQMX65wgB9e8Z7z 6fNmoxYN2DlAKMi2pc6sWw67YYiFaef/J4kxBqEXJSCNf1Uj8m2jznZk+2MaK24AoxXS fhAoh4h3mRNuWdfExMC04jIR/DhIwCXlfdvCnJmUoB/Vpj6Ep1NvWUmc9AyTdL5AfGTr H+AA== 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:dkim-signature; bh=lbSFal9UZ0Rgq/J7gXvQGlHm4p2HKjc2Wn5KsakkeeE=; fh=njdjvPz/8fUgTR5XHfg4rgXpBE+Eb+Wz3ojami6fduM=; b=oj4QAqEs0smutEVtqMUAtD/TI+O61KuwvEN9+nvrDztcHQ1IOld9fTYO7lBExh8ZUZ u/2HZsc29Nd2+tSssgAPMZZujKGv6oq0fpyfLigMW+IikIIOo5R9Kz5TZVRBEUfF+aX0 ovtMKO72gycYEh2Phy8vOBye/Ie7/JgNHQiVoNpTn/WORyiZGSiSF/bQ0AuJQoxLcjuV k0Axgoh0iErf0k+/rPZIPE0aEfQMa28OP2Il0G7VowwIp+Mmqv0VZGHurt9RxtEeBsVo RRTifAD7AuDVJENLT2D8GYqO0fi2MTPA/TynTcoPHgvCzN3Z/A31UNqkRYTyj29KJ6uQ +WRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="V5xr/6E0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id k18-20020a056870d39200b001e9a321e3cdsi524327oag.255.2023.11.17.05.00.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 05:01:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20230601.gappssmtp.com header.s=20230601 header.b="V5xr/6E0"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 5A9CB81EE2CC; Fri, 17 Nov 2023 04:59:54 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234605AbjKQM7j (ORCPT + 99 others); Fri, 17 Nov 2023 07:59:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230419AbjKQM7i (ORCPT ); Fri, 17 Nov 2023 07:59:38 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93D79D55 for ; Fri, 17 Nov 2023 04:59:33 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4083f613275so15969865e9.2 for ; Fri, 17 Nov 2023 04:59:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20230601.gappssmtp.com; s=20230601; t=1700225972; x=1700830772; 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=lbSFal9UZ0Rgq/J7gXvQGlHm4p2HKjc2Wn5KsakkeeE=; b=V5xr/6E0+ApLDoEZ3maxDQ3XOTB/bxuWBtTM1LHBJOnbWRvX8+zqvNAhMNm5sQH1cH ET4fnASGazT+S3c9hKrM2bUZnLpw99BqwQ1R+JAJaHfxkWCZGWXSldZZgR17zNV/K2NJ lSwUFU+QRGHvdXoJRcfKo+hwM4vxqVpqQXKgylnlYry8H/Vui9PxSWwgqrgqTMqZ24dI 9D4tFGFcp59Mv83oI3q8k1Bdnldvb8Z99TP/kv1B1YieytxeLAnWyKPi/NyvqH9XLjjL z1lLqNw9H9o+J7/mNMfoPXs4KJxAbnO6Fo7kwh7MfeDrG+sSe+dJcVsC8c721CTAdJvY 9UrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700225972; x=1700830772; 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=lbSFal9UZ0Rgq/J7gXvQGlHm4p2HKjc2Wn5KsakkeeE=; b=G/acMZThNDSHrqQ7Ac8ZONqfVEx0yXnjaJseIc/uBvgTYy9OyWa97UkigjIWwbLqnK dhXlT3WwLQt24MX9/zoZYUKrE+0HOdcPPXlGFQ5g86ZHz01DUsZ+QomrdQLvfcxi8Am6 rkCt/wYvVz8MfmEDsXbbfrdPZpZA7aXvjO8oOl5JKjNMlO/ay5dbBQzx4AnsKm68oJ/y d++fGrxcKj11T+OkBNbF/yJ2yJ4f243fcIuHACfMOlX6wSIzrVoO+SIudCOn2Z7wsJ6+ ULMETwmCWzaW6xK/GcCa8c0uValzpDV52ApG2BYgvFDQhSrPxXC3E82UCF4+aE7zisvd h4zg== X-Gm-Message-State: AOJu0Yy6ldTQqA0iDJ+gY6u6A5K9AKvBTvQSQXLrGv1QQSza+QXKMNSK ELh3I9n09fKi9CjtoV3QsU+3oi1s1ZxJV0VFKLY= X-Received: by 2002:a1c:790b:0:b0:409:7aa9:a903 with SMTP id l11-20020a1c790b000000b004097aa9a903mr4404700wme.19.1700225971858; Fri, 17 Nov 2023 04:59:31 -0800 (PST) Received: from toaster.lan ([2a01:e0a:3c5:5fb1:8196:e423:38cb:9a09]) by smtp.googlemail.com with ESMTPSA id k21-20020a05600c1c9500b0040a487758dcsm2671343wms.6.2023.11.17.04.59.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 04:59:30 -0800 (PST) From: Jerome Brunet To: Thierry Reding , 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 v2 0/6] pwm: meson: dt-bindings fixup Date: Fri, 17 Nov 2023 13:59:10 +0100 Message-ID: <20231117125919.1696980-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.42.0 MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 17 Nov 2023 04:59:54 -0800 (PST) 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 settings. * Make the introduction of a new pwm variant (s4) slightly easier. * Migrate the supported SoCs to the new compatible. Usually, I prefer to send to dts patches separately. This time it seemed important to illustrate the change. I don't mind splitting this out and re-spinning if this is annoying for the maintainers. 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 Jerome Brunet (6): dt-bindings: pwm: amlogic: fix s4 bindings dt-bindings: pwm: amlogic: add new compatible for meson8 pwm type pwm: meson: prepare addition of new compatible types pwm: meson: add generic compatible for meson8 to sm1 arm: dts: amlogic: migrate pwms to new meson8 v2 binding arm64: dts: amlogic: migrate pwms to new meson8 v2 binding .../devicetree/bindings/pwm/pwm-amlogic.yaml | 103 +++++- arch/arm/boot/dts/amlogic/meson.dtsi | 4 +- arch/arm/boot/dts/amlogic/meson8.dtsi | 16 +- arch/arm/boot/dts/amlogic/meson8b-ec100.dts | 2 - arch/arm/boot/dts/amlogic/meson8b-mxq.dts | 2 - .../arm/boot/dts/amlogic/meson8b-odroidc1.dts | 2 - arch/arm/boot/dts/amlogic/meson8b.dtsi | 16 +- arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 24 +- .../boot/dts/amlogic/meson-g12-common.dtsi | 28 +- .../dts/amlogic/meson-g12a-radxa-zero.dts | 4 - .../boot/dts/amlogic/meson-g12a-sei510.dts | 4 - .../boot/dts/amlogic/meson-g12a-u200.dts | 2 - .../boot/dts/amlogic/meson-g12a-x96-max.dts | 4 - .../amlogic/meson-g12b-a311d-libretech-cc.dts | 2 - .../dts/amlogic/meson-g12b-bananapi-cm4.dtsi | 7 - .../boot/dts/amlogic/meson-g12b-bananapi.dtsi | 4 - .../dts/amlogic/meson-g12b-khadas-vim3.dtsi | 4 - .../boot/dts/amlogic/meson-g12b-odroid.dtsi | 4 - .../dts/amlogic/meson-g12b-radxa-zero2.dts | 8 - .../boot/dts/amlogic/meson-g12b-w400.dtsi | 6 - .../dts/amlogic/meson-gx-libretech-pc.dtsi | 6 - .../boot/dts/amlogic/meson-gx-p23x-q20x.dtsi | 2 - arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 8 +- .../boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 2 - .../dts/amlogic/meson-gxbb-nexbox-a95x.dts | 2 - .../boot/dts/amlogic/meson-gxbb-p20x.dtsi | 2 - .../boot/dts/amlogic/meson-gxbb-vega-s95.dtsi | 2 - .../boot/dts/amlogic/meson-gxbb-wetek.dtsi | 2 - arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 26 ++ .../boot/dts/amlogic/meson-gxl-s805x-p241.dts | 2 - .../meson-gxl-s905w-jethome-jethub-j80.dts | 2 - .../meson-gxl-s905x-hwacom-amazetv.dts | 2 - .../amlogic/meson-gxl-s905x-khadas-vim.dts | 2 - .../amlogic/meson-gxl-s905x-nexbox-a95x.dts | 2 - .../dts/amlogic/meson-gxl-s905x-p212.dtsi | 2 - arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 26 ++ .../dts/amlogic/meson-gxm-khadas-vim2.dts | 4 - .../boot/dts/amlogic/meson-gxm-rbox-pro.dts | 2 - .../amlogic/meson-libretech-cottonwood.dtsi | 6 - .../boot/dts/amlogic/meson-sm1-ac2xx.dtsi | 6 - .../dts/amlogic/meson-sm1-khadas-vim3l.dts | 2 - .../boot/dts/amlogic/meson-sm1-odroid.dtsi | 2 - .../boot/dts/amlogic/meson-sm1-sei610.dts | 6 - drivers/pwm/pwm-meson.c | 312 +++++++++++------- 44 files changed, 409 insertions(+), 267 deletions(-) -- 2.42.0