Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5997480rwb; Mon, 5 Dec 2022 06:48:15 -0800 (PST) X-Google-Smtp-Source: AA0mqf4ouuURCCtuDkEl2dyR3Jm9Oz34VZun8dWZ0lMOR+oO3ANKVN7KtiILlaqwd4wZUPFV2rj7 X-Received: by 2002:a17:90a:9bc8:b0:219:c638:b718 with SMTP id b8-20020a17090a9bc800b00219c638b718mr7688377pjw.143.1670251695037; Mon, 05 Dec 2022 06:48:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670251695; cv=none; d=google.com; s=arc-20160816; b=1JqRipUAZgd6swJMJypdpXH8RmP6mSkVntH2e+8i3NO3/B2H0BcX5ORwDbFMx8DpUk AORrAAVXjNdKf/TXBZOmjTNaxo9OG0/Poe4bdnOh2s5QfKqW6jdHAFlY9rta8BC4usv8 7425FevWE2fnwv1vaLVUsVCuIELJENN9L8IX/ehbmVewj5gsKGWaMayqe74WIB4iu1jk d8IV2po9Chka4tKT1xHzcPp1UMTP9UYh+1fW+pQAFbxriNnxh9RLkN8uWaiNKCYAzRcr MtszZoe1HPqmpuzw/iO9VAuiDglvjcC5B87PMF2o3W9rWYTYGnG2W0fshe5kfilfiGaR Js7Q== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=OCoMYgXbBxnqRWLKYiDSeNq352BHInTi58YBC30b2vE=; b=Iu+oLgzcaqwytZD4PWx8TlMMyc36iBseKpdy7dB3DShZbJtgQ2w1aF4PjixSqfg1Ua uFjGOK18gbJpiHqPFTa4kZzi+svQel6qtttHvUyooGscTWgAsaM50Cygk+5qQiiHZw8V UkUgq5uT0fOKBzYAUU8pm1ufzVcI13PJA9P2rrLEE4V1F/bAR/Cq1IYdbwv4E+c2cv3W 4zeW3TIhheSNULPzqCRmqhlNbYc5m96kKwiz+LOJQ/qo6jHPaRMbsfX5j76vRbQMIn2i gvLAfxwHZ/cy2iBB0jEeYPh+ZUnXcFLVGQqPyrYAg7l2BEQEx1rlBU2cv9u9xm8wGMvH mNNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=e7rhKO6e; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i125-20020a625483000000b00565d37ee1casi13761032pfb.166.2022.12.05.06.48.03; Mon, 05 Dec 2022 06:48:15 -0800 (PST) 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=e7rhKO6e; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232004AbiLEOWE (ORCPT + 81 others); Mon, 5 Dec 2022 09:22:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33914 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231963AbiLEOVq (ORCPT ); Mon, 5 Dec 2022 09:21:46 -0500 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F1F301A206; Mon, 5 Dec 2022 06:21:39 -0800 (PST) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 09C776601E6A; Mon, 5 Dec 2022 14:21:37 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1670250098; bh=B08ZCRyfqEVr3DGfEAF/s62Wj4pjhb1yJOJfzrepg1w=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=e7rhKO6e5PFiyGRzo6fSbBaBtA3fm2JhrwJinvIXyWf9cWlN4yHb0QgGu4g378x2W 8zV0CuFaDK7CBJy4/Zp+/SaqaCSjV+xjMUZKnJsEtawXO0mZMd1Rslq5gCvaQhzefM ZD3o8IaUSJpBxgBnkyPlm1Ui/KJb1j2aemCXDMohmIKgIPNr7s8Dn5JKk/qBwxfmvt u1iux4lYT49LkDDcW9UAoAoEgC2UTWUFeC2jqZK0YM0+4coAj5lpPO9JqFRs/ZNbyM t6L29oTY9nPufD30SClr8+W8ncNc3suY5mpN+mzzMmKp7RDSRY0aAcK0jEOvftP2Wm 6JZY14hXXQ2Ww== Message-ID: Date: Mon, 5 Dec 2022 15:21:35 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: [PATCH v2 3/9] spi: mtk-snfi: Add optional nfi_hclk which needed for MT7986 Content-Language: en-US To: Xiangsheng Hou , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , Mark Brown , Chuanhong Guo Cc: linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, benliang.zhao@mediatek.com, bin.zhang@mediatek.com References: <20221205065756.26875-1-xiangsheng.hou@mediatek.com> <20221205065756.26875-4-xiangsheng.hou@mediatek.com> From: AngeloGioacchino Del Regno In-Reply-To: <20221205065756.26875-4-xiangsheng.hou@mediatek.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 Il 05/12/22 07:57, Xiangsheng Hou ha scritto: > Add optional nfi_hclk which needed for MT7986. > > Signed-off-by: Xiangsheng Hou Is there any operation for which you need NFI_HCLK enabled, but at the same time PAD_CLK and/or NFI_CLK can be disabled? If NFI_HCLK and NFI_CLK must always be ON at the same time, adding this clock to spi-mtk-snfi.c is *not* an optimal way of doing things: you can, at this point, set NFI_HCLK as parent of NFI_CLK in the MT7986 clock driver instead, without making any addition to this driver at all. Regards, Angelo