From patchwork Tue Apr 4 17:38:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cristian Ciocaltea X-Patchwork-Id: 7720 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp75413vqo; Tue, 4 Apr 2023 11:19:25 -0700 (PDT) X-Google-Smtp-Source: AKy350b4F7LXY4gL/vewWkggQuztUuwi4qzhcnxd2V0O6jpL6/DMFOmpwITE0vn3OAjGiQsR+fMo X-Received: by 2002:a17:902:9b8c:b0:19f:87b5:1873 with SMTP id y12-20020a1709029b8c00b0019f87b51873mr3242268plp.62.1680632365045; Tue, 04 Apr 2023 11:19:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680632365; cv=none; d=google.com; s=arc-20160816; b=xb7+9hum8WrGlaZu5/WUgdLpnPzTWXSKfrWqlHrwbiD8zVvG0OW2272PlJ7qXuPvS4 3m8kt3/pCmciIPRCrZA8pQV6Rujn/3Gmo+F9djc+ju6RJ+l4SoHVMmvcVqvaKZyEoEhs xLRCB9THsV6tU6a0aIEw+XTeW/FF42/yZsLG1UT2cP/5bRRXjBnYNsWKrlFSHZuFuI9w ZwUKwf85PQDBRabV0YsAl30Gz27brknzlCJnBzvq3TnXKTvvDO5GVkF2nfzIYDHos4x0 w7KkpH7zYad+cGz4vakedvHHJZoBiB6iV17e+dU6bH+Xl0VYkyMz4lVxFLs+1yI3Y7Q5 hpNQ== 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=YoXt9q4oazo3Dom5bzOylBikygI7Bq/qu8jq+AbepvY=; b=AuQFL9eBinfyjvSAf4AICuIdiwMslj4J0um9okiFUJilmBxNxv+/BU3d90Ix4UFaeM HqLh/c59IPLlDmx+1I/9h1gfQe2vfnRL19GwBuZ4z68StrqfDlry+aDeqKLizGfkrlpG eBf6zQB9rm2s8H8dRc0gZVtJ9eGKuYkfz6bANgLtH6gsEZa4UopCBcLULErbdRkejcGE vBlnEX/r5KjgnaJrz2H+H3fgc99rsrgddGNM8E1FLlyyel2wSdEZ00wlcS4j3H7DaIbw KulNxddFHJCEFmhTNk27gS9GJMmTi3rmSJOviMOdCBJ1aAwZIiiOBOrjrDEX1IblYEq+ mgUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=hFHbiL3T; 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 n3-20020a6546c3000000b00513d1100371si7825123pgr.415.2023.04.04.11.19.12; Tue, 04 Apr 2023 11:19:25 -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=hFHbiL3T; 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 S231655AbjDDRiY (ORCPT + 99 others); Tue, 4 Apr 2023 13:38:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235631AbjDDRiV (ORCPT ); Tue, 4 Apr 2023 13:38:21 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E9011BC7; Tue, 4 Apr 2023 10:38:12 -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 D66FF660316F; Tue, 4 Apr 2023 18:38:10 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1680629891; bh=sZFCIz3WQaocYqGt8p6qjyCRTLYO1hDQ2ldahEwFXv4=; h=From:To:Cc:Subject:Date:From; b=hFHbiL3TJVhsYMuvzK8o18BLOGxDgwWEH81iBBbqrTyGS4mfzVyAX/3+/01lRfh1I wLGJmgr1PozqCNMvtbzGlH3o3X9pIiNFq6td/A0VE6678oUhNtnXJJ/KmSkfAaFBS3 fK04DrX40o8AkUf/mckoZ+Iiq6asgZxEdKmnPD57XSw/ehhi2h1h7aC4exa5tc6zuf NNqjwLnT9PMsPbToEyBQ0OHmPYhPN55dOVV2Ha/dwKSqIOayz5oEiF81hYgxQcocXJ CcJWaV+PuIuoAGaFVjFgF27CVA5KUhok0C1e2rVH6XG8a4ZNSHFv7e1AxAtuTovzKe iLJaptXNdUmUw== 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 v2 0/2] Add PWM fan support to Rock 5B board Date: Tue, 4 Apr 2023 20:38:05 +0300 Message-Id: <20230404173807.490520-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?1762270762794220091?= X-GMAIL-MSGID: =?utf-8?q?1762270762794220091?= 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 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 (2): dt-bindings: hwmon: pwm-fan: Convert to DT schema arm64: dts: rockchip: rk3588-rock-5b: Add pwm-fan .../devicetree/bindings/hwmon/pwm-fan.txt | 68 +--------- .../devicetree/bindings/hwmon/pwm-fan.yaml | 119 ++++++++++++++++++ .../boot/dts/rockchip/rk3588-rock-5b.dts | 12 ++ 3 files changed, 132 insertions(+), 67 deletions(-) create mode 100644 Documentation/devicetree/bindings/hwmon/pwm-fan.yaml