From mboxrd@z Thu Jan 1 00:00:00 1970 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 0E4C2C47071 for ; Fri, 17 Nov 2023 13:00:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=UNS3KESOC11RkI2PhrWPI/zqdw/5tGOddXiLP6SqtJ4=; b=lMkVpDToCSM1zE zxlga1RqNIYmdGpxel5sZ43xT9wuxgiLeGjjnpUW1sTWp00USRHJWMQutChLTi8F5/MHTk8ApOaOV V5DrSDd2LKaBYZ4o8MRvg25JqYCSpTVL6/M93tWseGgA4GDRBYroMCLfEqa8cd+Vh2ywkExHujzz2 EHoScRkQaVbQOsXqAqFDpsB5HYPC7S5/Lg4R5RiIE4OSI015RAehvy/e3jEBCVYjLho28WLlMAFNa S8sR95KJ3VxDto6cFsXKhPI7nAF2nVuQ1MnPp9Ahcg9lM9CWQZF70Mr6z9mQPD0kIOQAo5gfQJeQw rdcxH2HZ4N7ki4Gs5czQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r3yRf-006aqW-2Z; Fri, 17 Nov 2023 12:59:40 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r3yRb-006anS-0p for linux-amlogic@lists.infradead.org; Fri, 17 Nov 2023 12:59:38 +0000 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40a48775c58so15920435e9.3 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=lists.infradead.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=Fl/AIb81f6hkb8cpBMuPEewpS/kYmCXemGZ038XlJVkjmh6HPu0nIFEPEloNTsPrla RDQRXlSVcanXaadfX/KJBlbxY42Ur5m9akKAG/rQc9nmxmVLz6dA9jk27bvQGLvaBJfi GXG/ati10Pc3wbR+Yht2ed+HT6uZuolSSvEM3z98GSPF348GlCsR/0tJc1zwWX3GAJMU lR3Dem4cNdeITuqhYcMK/CQPUl5+ejqMJpOgTmvg5mfOECDtkVcGW4DtVo0X5aAio72n VVb1i0SHebphE7VAhWWwqitrKgHnrq/6GBsxySPScbXWm54AEZMl17wqftrhUiN/3zxd db7g== 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=vZQbdvc+/DCHXhZ+A4qzYK++qieDuqM91BoNxDPqSH7Zo5SWEg3KcpOzSkhwz4GRtg u/MSzfyKGeqi7+S8UjAcZBrQci1aTWCq42llPpVJwp1wfHa4WQLUhVJXh55hRN7yH164 p8//qmOA4o2RhUacnLg8CenSjeIFHkpsSJq56tvkhLRZI1pgl9cf37z3Q6YOexbFgV8k kgEosMz+UjGyVc+EO4vHWfy6sPsbl6jvJLczctiR4k5al9CHOgIo2df1dIZCHOkzLBzf AJDco+VYOUAnMzf1AmyhX/JFNfI4ikM0C4Ct/zghYrP/+89WfE1M0VaJHnzSE7FsQu/a ySrg== X-Gm-Message-State: AOJu0YzTPNqIl4c8nN6V5UhWo6bCri2A9QCwW/EyqCVbDxVv2Y8UXJbW 8teXWnH0txNSM2/voR53LRFodw== X-Google-Smtp-Source: AGHT+IF/oa8IfhcTzw08f0oVTjE1AnhvNuYq+rNjiR8uWCTzO0+EsEaFucRhxohy7BVX9Nu7bNIHtw== 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231117_045935_519047_685BB92A X-CRM114-Status: UNSURE ( 9.00 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org 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 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic