Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp535487rwi; Thu, 20 Oct 2022 01:53:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4yd7yMFF9pbuJ/Yvvm+MC/Y/iUrT1xFs39Pisgf6mgwppIXDLMDKjDf0zvygyXoTohNE17 X-Received: by 2002:a05:6402:414f:b0:456:c2c1:23ec with SMTP id x15-20020a056402414f00b00456c2c123ecmr11511795eda.420.1666256026940; Thu, 20 Oct 2022 01:53:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666256026; cv=none; d=google.com; s=arc-20160816; b=xS4Z8DHsttkCn6iExok0j2S9Apk6CkB1hg7YiOwlnjLl9cemzSbLQOpAvizRhCX9Ux YD0HebufzJyj43f8l8NLdOo54kL0joO+d+neT36HwnH/XEXwN87pMrlT8z5ir3ghCVAJ n7i+sqcgTczVhWjiGgrS+PDDQH8G1RCTDEHaXxe2C2mdATJehf2CqtU7Nx/cBQKRSAAS gbNaqRaC53dCETOYMQ6rluHO3TWFddfyUL6cbq8Yxc8SqtNGXwKxH8lVW47mGpTaJ2nK NLNQgdSegZJonQEPCoqKyhjKUU2ovAPmRGNDGDgnhvv1IUgvBcwcX1C1SNzEPsVn689I aSiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:references:cc:to:content-language:subject:reply-to :from:user-agent:mime-version:date:message-id:dkim-signature; bh=mhEUUAx17h0AgHtxJMeCII0Aci1ZEeSL8jXNszOE9M4=; b=OaEXgX/4z26E5hemlMUPCAxylQXc8VebWLENCu652ep+SmhX3zT9eejvKqOlduugGx CNkT4rMzvcvrzHwFEbN2MpPZIEhuKM9ncBRWQlJcIVKOCw69tedOyf2Sub6j5WGDB4rP soJVGca7v31PG+2G7B+sIYqcrz1d+c2zK+I+ZWDonFq8NcJ9+JoIMm9FdqGTkHnH4oiS lphwJWpnZD1u4mMWxsW5xfM1uqOnKT9Igfasy6Z+kaZ5eJOSWUSPrbS1LFM8Hj0CsV9s D7bb6OoNvZJ+4U2Y/H88ROH+7tnt/W1L8VrEFXqvcTkuKaIXySYgEsqnnC6T9ceFTVOW XOzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SGMXowYo; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ky14-20020a170907778e00b00789d185c39asi13327390ejc.62.2022.10.20.01.53.21; Thu, 20 Oct 2022 01:53:46 -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=@linaro.org header.s=google header.b=SGMXowYo; 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=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231237AbiJTIP2 (ORCPT + 99 others); Thu, 20 Oct 2022 04:15:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39434 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231235AbiJTIPZ (ORCPT ); Thu, 20 Oct 2022 04:15:25 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6DFAA3A9B for ; Thu, 20 Oct 2022 01:15:20 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id r8-20020a1c4408000000b003c47d5fd475so1723143wma.3 for ; Thu, 20 Oct 2022 01:15:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=mhEUUAx17h0AgHtxJMeCII0Aci1ZEeSL8jXNszOE9M4=; b=SGMXowYozhs41yaXnsLn+6I8DWByS05nCpogBo/gSwiquuK9eqEsbVsWuQKQ+Q9KbU Xvss5cdXVqIKC6wayAtZhK+eUKPYcyLjmj/OI2zfTMFSPCeIx+At6NyPkoCePWzDRv7R V6y1pr2HzjZfkl0uSjYyyuVTnxTuLHekFSLJiZlRBO6wOWKPtJBmSxVjKeoC1Q+K4Z5Y 2DsaXTJQ6Fpp/TXwYnlXRmsgd57l07vJySEOZ4HahHdfHdqa5p/uC7p8dCBm1yH7KyQy VYUDRgOWFYZA2CtSK+m0gjZ9fUym8nA8Rz5givWgXosqDLZHBAycT7Wvc6Xh5dFvtvUl MeSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:references:cc:to :content-language:subject:reply-to:from:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=mhEUUAx17h0AgHtxJMeCII0Aci1ZEeSL8jXNszOE9M4=; b=vkNNZdtxZ/AgOBWLRIIxe6YNj8QCp3yXmZXqWrcXq+TWcDDkppRHND+PqaDXNx4CU0 xzLv3dk990V6j9DC0vLekI9ivfnpk0N7G2hmaDw4CNz8fm/9tV9/x9/TbZxoHK9y2SNi WDtxLhSPnUDqT2xMKCLxWGR/srNlr6aWC0/8IFa5swBpM6l6NH9xw0gtWXf7rNMxvNxC ktlObTbNH963+H5XjmKSmmmEC6M7Bswg9EwWFR/V6TlXz3xh8jYkBhWd/lqil9lQ2eqn UhjF2+lGJwK1yUzIvAaJVdpDjHJo3KSGOHwzYb65AbzxJebu5SLzMJBV3zcRpoLzGpk+ YeAg== X-Gm-Message-State: ACrzQf08XuPwoqxft7Qj/l8csyQ4i6+HW8qyqxnSUWxaTP+zsCU0j2wH 2Qb+s+mxwtdTG+WpU0Leev8L3a2laHK3KaPu X-Received: by 2002:a7b:c455:0:b0:3c6:bd0e:f9b0 with SMTP id l21-20020a7bc455000000b003c6bd0ef9b0mr29253450wmi.21.1666253719306; Thu, 20 Oct 2022 01:15:19 -0700 (PDT) Received: from ?IPV6:2a01:e0a:982:cbb0:ef2:f28d:311f:c84b? ([2a01:e0a:982:cbb0:ef2:f28d:311f:c84b]) by smtp.gmail.com with ESMTPSA id q6-20020a7bce86000000b003b3365b38f9sm2127648wmj.10.2022.10.20.01.15.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 20 Oct 2022 01:15:18 -0700 (PDT) Message-ID: <6696b644-bb9d-54e4-0b3b-e4897a881898@linaro.org> Date: Thu, 20 Oct 2022 10:15:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 From: neil.armstrong@linaro.org Reply-To: neil.armstrong@linaro.org Subject: Re: [PATCH] arm64: dts: meson: Enable active coling using gpio-fan on Odroid N2/N2+ Content-Language: en-US To: Martin Blumenstingl , Anand Moon Cc: 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 References: <20221018195122.8877-1-linux.amoon@gmail.com> <402500e8-b4fe-9b8f-d634-e329191af1b8@linaro.org> Organization: Linaro Developer Services In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 On 19/10/2022 22:40, Martin Blumenstingl wrote: > 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. > Indeed I recall them using a SW pwm. Yes it's perfectly ok to use a gpio-fan. Anand, please fixup the ddr-active name and send a v2. Thanks, Neil > > Best regards, > Martin > > > [0] https://github.com/hardkernel/linux/blob/c109dec94e7e819554830acfac4b6ed96e230179/arch/arm64/boot/dts/amlogic/meson64_odroidn2.dtsi#L356-L359