Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1668902rwi; Wed, 19 Oct 2022 13:48:42 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Pu5IXHcvysJioaAeQtKGPE00dpcKl6rL/AyhET3ex8OHJ6TnZ4f0oFy2xTo170LPIrqkq X-Received: by 2002:a17:907:2c68:b0:78d:eac6:2d0d with SMTP id ib8-20020a1709072c6800b0078deac62d0dmr8469889ejc.55.1666212522500; Wed, 19 Oct 2022 13:48:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666212522; cv=none; d=google.com; s=arc-20160816; b=TWLA3/4BoqraZ631VNJ7z/G1PnT2D8Rj4lW7XNjLXfjJS3L3Ale7/jOaBclldQbhTo ooGbwFnoJypwkvSeTpAxWwAZegrXmF3MQ9HT0RPsXrBbCfXKzR1zdxIkYwSPz8G/7r+W IPk0AaR3Pf+PZXpCS2GPPHaft8MwMMXPQqmg3ODO16L3E2xf+CaAeZ6K1eogPqh5fs6J 2QD5qC1R9erttNS4fiXRGR6QbwOe/2VIAgSz6Yb5Z0aHK0VwjZh873CXeySY5Zh+6pT7 yH2Xh0gW69RLZYXPbJsT/5DlWVOuDred1ppo5T52+P317wr+fXJQCxwwM2TV8Pj5aMAg L/Wg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=SHoyPeO+yKlHEZz3rBetsZcxV3gDKtY4M4wZKqAJU44=; b=JxlTYOe0SbMA8jvZ2y7CYTgO6EkfKuNYOGFnL8lQvpc/EyY28jh1ULEj/tKZoT2pTZ 4QHjKgVlgWTeybu36GnnzzopLMLHjgIFo9WkEHX0oGZMG/yU1y6It7LYwXnUGTZiIXt2 3dswWqZnoHgUffLwIMDPf66HTne06dQ6sSSzeir60AR4RmxJOr7gh5stcP4dudwbXTMC yfC9sTBEojV1gdJtTB8qRDgGe9QPX/+euzI27eUrKBTPlos64VMRiPB7i1I4bl+4lVuT 9PHl/+QMtAulURjHahG/hA2tmpP38c1Gd7RUr7+UNC2mLFBb3nJYhVP1arU4sKPLmsHj Tqbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20210112 header.b=UzNgmdeO; 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=googlemail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gt32-20020a1709072da000b007919dbd3770si5577920ejc.485.2022.10.19.13.48.16; Wed, 19 Oct 2022 13:48:42 -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=@googlemail.com header.s=20210112 header.b=UzNgmdeO; 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=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231435AbiJSUkf (ORCPT + 99 others); Wed, 19 Oct 2022 16:40:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229776AbiJSUkd (ORCPT ); Wed, 19 Oct 2022 16:40:33 -0400 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE9C2104D2E; Wed, 19 Oct 2022 13:40:31 -0700 (PDT) Received: by mail-ed1-x530.google.com with SMTP id m15so26964660edb.13; Wed, 19 Oct 2022 13:40:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SHoyPeO+yKlHEZz3rBetsZcxV3gDKtY4M4wZKqAJU44=; b=UzNgmdeOVI3wCoSDtw5phtRdCh6LXmWV7A8EjSQV4rzEUqMqIXUXjcVZgP+e3OMf6p ot77V5gUbJhRgLGtNoahckKs6LxDl9OWpYUlGi1qCIbUYOaSRvo5IiHv51DUbB9IreiV GT/z6+lboMwwuLfc0dBSdp71HnobwCLTsgtPY94Zfv4LmLwO7MCmTV9f2DbUv1roosYW BLs8dT8DoWLdQqFiyJW0jqumgfA3HJyXl52I7DY4p8zWwUFgguzpKn6CEHXmHXs8trx9 biE7f0WeMOZPETXTNszAMPNNp+MFlUd5W1rL72ZdjwWRcaFoJvvbqmPoXThjWrdLvPhx VIMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SHoyPeO+yKlHEZz3rBetsZcxV3gDKtY4M4wZKqAJU44=; b=cNgvfmtbpzs9GkfEvmPiagitkCvo4CKJmA/Aty8an0Go/YS47LN61ZxFh/x/AtFtRr ATKpetHJ6ZTMBKc9ZKhptm918hc0u5ZiJsOYkFRWBAwSRSSllCQbF58FmceX9Ef2dSQV La1puPLI9d27mubFrnTCB+h4byZ9w6lMS800zmWbm0Q72bOq5sX2pzpnK6GCGqVgET2O q0KtUDgeRfAWZ2/QWktoBZUSoEswyHcJDCCrDCsKR9kodoQEu87ZcFYf15OofPu7wO0s mi1psaV2AVLYZLx+k5gFXYBn6tlCjM2n9xhmBAIKC6NLq0XGhckTz+PX3JaziEVxStEl BYRA== X-Gm-Message-State: ACrzQf1pF9WakIGDe8nj7jN8cOO8jXuqJ7BO2ryzRc7GHMlZ1V7G1heg e9EAthzZXVkHZyGpan7bPq68is5Y7iFTg7YAppk= X-Received: by 2002:aa7:db07:0:b0:458:f6e5:ab71 with SMTP id t7-20020aa7db07000000b00458f6e5ab71mr9373877eds.330.1666212030128; Wed, 19 Oct 2022 13:40:30 -0700 (PDT) MIME-Version: 1.0 References: <20221018195122.8877-1-linux.amoon@gmail.com> <402500e8-b4fe-9b8f-d634-e329191af1b8@linaro.org> In-Reply-To: From: Martin Blumenstingl Date: Wed, 19 Oct 2022 22:40:18 +0200 Message-ID: Subject: Re: [PATCH] arm64: dts: meson: Enable active coling using gpio-fan on Odroid N2/N2+ To: Anand Moon Cc: neil.armstrong@linaro.org, Rob Herring , Krzysztof Kozlowski , Kevin Hilman , Jerome Brunet , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Hi Anand, On Wed, Oct 19, 2022 at 7:17 PM Anand Moon wrote: [...] > > > +&pwm_AO_ab { > > > > &pwm_AO_cd not _ab > > > No it has a conflict with CPU_B (vddcpu_b) PWM Uh, you're right. That's probably why the Hardkernel team uses a software based PWM implementation: [0] In hindsight they should have used a different pad either for VDDCPU_B or the fan. I think the most pragmatic approach (since the "GPIO PWM" driver is not upstream and I don't know if something like that would be accepted upstream) is to use a GPIO based fan as you did in your initial patch. Not sure what others think though. Best regards, Martin [0] https://github.com/hardkernel/linux/blob/c109dec94e7e819554830acfac4b6ed96e230179/arch/arm64/boot/dts/amlogic/meson64_odroidn2.dtsi#L356-L359