From patchwork Thu Apr 6 18:19:59 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 7839 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1222694vqo; Thu, 6 Apr 2023 11:27:50 -0700 (PDT) X-Google-Smtp-Source: AKy350YACGGizmv5qFWrqmSJ6sEs8mKIIoC3DudowNL9VjRza2Qpcrgmi2SPHN3kxeT3mIO3zEHP X-Received: by 2002:aa7:d995:0:b0:4fe:9689:96bb with SMTP id u21-20020aa7d995000000b004fe968996bbmr419779eds.35.1680805669750; Thu, 06 Apr 2023 11:27:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680805669; cv=none; d=google.com; s=arc-20160816; b=b5LvHk+TpemoZo8Weche5IqzwUKA/HepsbfZs6zkxviZ7FpDNUzqvYDJwRPmUohnIO /lrcaUOkIjuKf5MtmJ3XsXlOgUe0GaCSnmbRUc6yIkTwymYHaJLd6eFqGYyrU4PT6nWp TL8i8ofEtGIiG/8Fc8n0l5L2bH3RLCXPMTDdY7ZQ/bZtZKwus5A6EvJLb1HwkrWZom0q K6jhWvvjF7G87iMDkmjGDkPpLuXOTUBhs13toMHCPUs/2p6+IhmnGbB3RcSJ5VDVU3FB jurIwk6V6b6oOxBJkktDAya2Z28jY7afsKSfzVZvSGhw80EE+UOXVy2+8KEFlFX6dbhw cGXw== 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=bNDdVmZ9wY1lUGwS/AHO2jYrys9w6i6cd8Z5mPsZ+28=; b=XvMoEaaf7v0xC5BaPSRYqV8Pu0KHQVj3rIqYsgvslx8V4HSwC11a1ceHCsGBCLqBE3 ibB2KhDNKKWZ+UvXRfvVpAPhUX7Oc3zQao7CHD3H0jg2oTflQvTN9H0aDFSWAArgGtl7 Hn/giuPICx8bFzebMY7PjtzBZi7Hbelzk4re4OcKxGk+OBVkuvdZdFsD/5q9YgGsijom Xdo9ObZXKFmyR7BgR79q1OHnXZmFOeTznSi3uvAwa0vyUn/Hccni8r3lPnpG9O/HsZEJ D5cSIdWXr4LxjX6QchRDxsPbIvIHmSK4/8yng4jLc+ydn+tD+pCdKGaBNgsNZ07hY77k IC9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=UoafeL73; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bo13-20020a0564020b2d00b004c095188c84si1557254edb.176.2023.04.06.11.27.16; Thu, 06 Apr 2023 11:27:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=UoafeL73; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239786AbjDFSUI (ORCPT + 99 others); Thu, 6 Apr 2023 14:20:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229714AbjDFSUH (ORCPT ); Thu, 6 Apr 2023 14:20:07 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 018275B83; Thu, 6 Apr 2023 11:20:05 -0700 (PDT) Received: from localhost (unknown [188.27.34.213]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: cristicc) by madras.collabora.co.uk (Postfix) with ESMTPSA id 43FE566031CA; Thu, 6 Apr 2023 19:20:04 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680805204; bh=omSz48l0UybTV+HHA8qPpKFIFsAzs4QaGW3QYcwvn5Q=; h=From:To:Cc:Subject:Date:From; b=UoafeL73oyawyImCqQVOUR+Oz7Bv29BuAR+GZIRkRzHLnog1gAQ8ubMLPLjsiiCL3 WyPrhAQxiSwW+kM/no+IX22d1usTnGL+JgqTXuItFXHlIvgpzBik/Ko+anxomjV/k3 0+iA1eQ8t77i+ZOwBCGgFJ74278gn/Ulyh4K1w20CLYV+mgKTGfIYVNe0TfYTJIb6t FDjngyE6JCIA7tpHt5PxtBSLlj3c8SCP2Itbwpkd6sKGL7488RwN399WweTc4uXtL3 NdM0Jfbe9EuESNwsjKD4f+EvkOjvsya9O+GqYcGcbYsAyy8vOXmJRXxmofTAJDGXxw nSrLzlSMDoJGg== From: Cristian Ciocaltea To: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, kernel@collabora.com Subject: [PATCH v3 0/1] Add PWM fan support to Rock 5B board Date: Thu, 6 Apr 2023 21:19:59 +0300 Message-Id: <20230406182000.956275-1-cristian.ciocaltea@collabora.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1762452486057641343?= X-GMAIL-MSGID: =?utf-8?q?1762452486057641343?= This patch series enables support for the PWM controlled heat sink fan on the Rock 5B SBC and, additionally, converts the hwmon PWM fan bindings to DT schema format. Changes in v3: - Rebased on top of next-20230406 and dropped PATCH v2 2/2 already merged by Heiko - Updated PATCH v2 1/2 per Rob's review - v2: https://lore.kernel.org/lkml/20230404173807.490520-1-cristian.ciocaltea@collabora.com/ Changes in v2: - Updated PATCH 1/2 according to Rob's review - Added Reviewed-by from Christopher to PATCH 2/2 - v1: https://lore.kernel.org/lkml/20230403105052.426135-1-cristian.ciocaltea@collabora.com/ Cristian Ciocaltea (1): dt-bindings: hwmon: pwm-fan: Convert to DT schema .../devicetree/bindings/hwmon/pwm-fan.txt | 68 +------------ .../devicetree/bindings/hwmon/pwm-fan.yaml | 97 +++++++++++++++++++ 2 files changed, 98 insertions(+), 67 deletions(-) create mode 100644 Documentation/devicetree/bindings/hwmon/pwm-fan.yaml