Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5132944rwl; Mon, 3 Apr 2023 15:04:45 -0700 (PDT) X-Google-Smtp-Source: AKy350Yw0toTgYGWW9ORBCtwfkDePX3CbMISRq5zmgl1obH6Z+Boi5G6GPuQK/JzqjroZ4TO5GF1 X-Received: by 2002:aa7:9832:0:b0:626:24b2:cd6c with SMTP id q18-20020aa79832000000b0062624b2cd6cmr127854pfl.7.1680559485141; Mon, 03 Apr 2023 15:04:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680559485; cv=none; d=google.com; s=arc-20160816; b=kQBB1H9/hjKRcF06jxmJ2kbw76MeOwg9D0hiONxJrOYu8NiE5anMIsbGQY1hc7rfyQ fvR2Kl1jMKLQSfCemsRdc6PFaghuK3lb+UDvzD5z34tgJRPu1AehphQvNbBqbeFUB3/t t9ZhZeZP9sa1sevWy1j194Lp5FXvTJ+dmKDb+/Jestd7rGaPszoJXN1xUuzEIGeL44Ns elEFzD+V/Hy38M8bMPo7bivJDon1T97HOFxfYtiOTizpOVy0Z3hfzbAGtTTtLMvLdkwC mZqJUN56heAcROXIYfCZkBXvzmPsdNDEQsuhm0GkP7caKcJSoAD2owNfjU8C+VEL0bIt w5rQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=sRYz0e5PSgBSIceh3+4eH8yhK1DeP66e/0JnECgMSJw=; b=RE1yW6QSLUzrPd1D5wEd5FTB3rbWY43YZG9ppuOixMQCZwPnkdnjcXwReslEAkZZG5 7TiMnJ0T6qM7SzYnQArDUJKE8KhDrI1P+1pojF88t20nVPvE6WDEwRhJ0tvdXs331CvM PrPqbKdDlFANGBUB2i8gXKbHd7/TsF8kIfAxJ23RrFMQ5PBXacTjSTfWBgbqGNNKfFSH 2wsF/eiqHbFyTg1cMk4e8u9aldFqeO/WzfnOn6TucNPEjZXhsL7w7wPrD5m5Ks4PqTld mSThF535x5O4Hvm3kxEcHG8CV4+T+qMGW3QTj3oqhFzhirDYtJ0FEX6H6McjZwNx1prf 2gCw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a8-20020aa78e88000000b0062a450c329asi9187247pfr.97.2023.04.03.15.04.32; Mon, 03 Apr 2023 15:04:45 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233700AbjDCVzk (ORCPT + 99 others); Mon, 3 Apr 2023 17:55:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233650AbjDCVzh (ORCPT ); Mon, 3 Apr 2023 17:55:37 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 98425E0; Mon, 3 Apr 2023 14:55:34 -0700 (PDT) Received: from ip4d1634d3.dynamic.kabel-deutschland.de ([77.22.52.211] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pjS8z-00025Z-W2; Mon, 03 Apr 2023 23:55:18 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Cristian Ciocaltea , Chris Morgan Cc: Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , 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: Re: [PATCH 2/2] arm64: dts: rockchip: rk3588-rock-5b: Add pwm-fan Date: Mon, 03 Apr 2023 23:55:17 +0200 Message-ID: <4981873.LvFx2qVVIh@diego> In-Reply-To: <642b134c.4a0a0220.1d01a.5990@mx.google.com> References: <20230403105052.426135-1-cristian.ciocaltea@collabora.com> <20230403105052.426135-3-cristian.ciocaltea@collabora.com> <642b134c.4a0a0220.1d01a.5990@mx.google.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_PASS,T_SPF_HELO_TEMPERROR 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 Am Montag, 3. April 2023, 19:56:26 CEST schrieb Chris Morgan: > On Mon, Apr 03, 2023 at 01:50:52PM +0300, Cristian Ciocaltea wrote: > > Add the necessary DT changes for the Rock 5B board to enable support for > > the PWM controlled heat sink fan. > > Honest question, but should we be adding this to the board file if not > every device has a PWM fan (they all have the socket for the fan, but > not the fan)? For example I have a passively cooled case that doesn't > include a fan. We also set up the sdmmc host without knowing if the user will plug in an sd-card ;-) . So especially in the case where there is a dedicated socket for it, as you write, we should definitly add it for the board. By the way, am I correct in thinking that patch 1 and 2 are actually independent of each other? So I'd just pick patch2 for the Rockchip tree (as we do have a text-binding) and you can handle the yaml conversion in a followup or whatever? Thanks Heiko