Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2479765pxk; Mon, 14 Sep 2020 14:46:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxUJg9mMLKrycIH0V8iMwWld4EriyAh58ml4oaTj7zR22DYQNcL70CA/jdNdrdBDZvV+/re X-Received: by 2002:a17:906:f8d2:: with SMTP id lh18mr17442953ejb.44.1600119980585; Mon, 14 Sep 2020 14:46:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600119980; cv=none; d=google.com; s=arc-20160816; b=vJ82WwfqNgLnGLiZ/el6fFHQDI6ohTfsBPQbyQGzyHp98FQLJSNzBe8PwyQsRQxvf3 mUjt6lo8uXPqUCciuQNwTGBCi6DSMBPVhpOj5sClEJoVytnIIQ5ru1nHF/vvU6seigCk cIm416hgeVpl7OuQMYEwzUF9Cnz0diCVYcZEpkXKz8/wIEJWhM6HNyW3pGdwxvcnT1SV Tiwunui5XQXsclrnD5l90Wde4cPoip6hMDd67UieN8+akkcI/QV74QjcTrPrf4IVMUS/ uSZshOmSFS5AChCprH3wLgX4+OyfyDWkcC+3iaAq+Wb8vo6osb51nA/XJVJmhFxvjRdL x8Mw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sNocba8+HwhSs/8zbmQak0u0rgx3kaQVWINIqqQTojc=; b=O4blfTGTwk8aMYX0iLhxk21T+ni1RE5b6KVQ21k3vchcyfKEyzmOv9uWM7jJqcG9aT AFyohXWMWTHJU9m+Un787fAfYe+KFyjwF237wXoSTxdvMFGFaKhB2bsphxErXwOxIhEr gfepsI+iqHr6Xfl9rswDYqmtuMt/cd5h6l1ABGJ4WKoBpq7YwG7utGF/rw4Z8LY+fme5 HbpfsiMA6So3zt3475FhpIbaTV3CKMdoowPxK0tgPpOw3BdTqgrrtinUJ7LvpevOjTMg lqWV/cvk1e3XlX0j6PO2fFSDLKDmZ5ThcxYF9w1QTV0i7GXzHBUXS3PTTvAsh0opWX4x 0VLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=S+9z4qAN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n18si7620193ejz.158.2020.09.14.14.45.57; Mon, 14 Sep 2020 14:46:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=S+9z4qAN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726038AbgINVpK (ORCPT + 99 others); Mon, 14 Sep 2020 17:45:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48954 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725926AbgINVoR (ORCPT ); Mon, 14 Sep 2020 17:44:17 -0400 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 79378C061351; Mon, 14 Sep 2020 14:44:10 -0700 (PDT) Received: from apollo.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:6257:18ff:fec4:ca34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 6F16E23E4B; Mon, 14 Sep 2020 23:44:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1600119849; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sNocba8+HwhSs/8zbmQak0u0rgx3kaQVWINIqqQTojc=; b=S+9z4qANEQ3jdGS8IFznIdKFyRlAHorqbYED/c7PIvwgkU9MhACopvEEL6saZxegN8UP+l hY+63WFlrZOQukNTr/lmazouCoXNxYryudZxbC4FNZP4VIeOqvhcnr7qH3eH4XD4zWnDHo XVTTtICWy13uhcuuo+FpF+0DLJYuybE= From: Michael Walle To: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-pwm@vger.kernel.org, linux-watchdog@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Linus Walleij , Bartosz Golaszewski , Rob Herring , Jean Delvare , Guenter Roeck , Lee Jones , Thierry Reding , =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Wim Van Sebroeck , Shawn Guo , Li Yang , Thomas Gleixner , Jason Cooper , Marc Zyngier , Mark Brown , Greg Kroah-Hartman , Andy Shevchenko , Catalin Marinas , Will Deacon , Pavel Machek , Michael Walle Subject: [PATCH v10 12/13] arm64: dts: freescale: sl28: enable fan support Date: Mon, 14 Sep 2020 23:43:40 +0200 Message-Id: <20200914214341.14268-13-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200914214341.14268-1-michael@walle.cc> References: <20200914214341.14268-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam: Yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a pwm-fan mapped to the PWM channel 0 which is connected to the fan connector of the carrier. Signed-off-by: Michael Walle --- Changes since v9: - none Changes since v8: - none Changes since v7: - none Changes since v6: - none Changes since v5: - none Changes since v4: - none Changes since v3: - see cover letter .../dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts index 0973a6a45217..c45d7b40e374 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var3-ads2.dts @@ -15,6 +15,15 @@ compatible = "kontron,sl28-var3-ads2", "kontron,sl28-var3", "kontron,sl28", "fsl,ls1028a"; + pwm-fan { + compatible = "pwm-fan"; + cooling-min-state = <0>; + cooling-max-state = <3>; + #cooling-cells = <2>; + pwms = <&sl28cpld_pwm0 0 4000000>; + cooling-levels = <1 128 192 255>; + }; + sound { #address-cells = <1>; #size-cells = <0>; -- 2.20.1