Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4295607rwd; Sat, 17 Jun 2023 10:43:00 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5qT9Fz40Z+G5MGxiVgEnNv2PLnnfNCnvotpMiA2NnL/nESvW0YOlX8ZRcLViQttcYPTXJ+ X-Received: by 2002:a05:6a00:1a8c:b0:652:4291:7cf5 with SMTP id e12-20020a056a001a8c00b0065242917cf5mr6187699pfv.9.1687023780129; Sat, 17 Jun 2023 10:43:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687023780; cv=none; d=google.com; s=arc-20160816; b=R+3ORcvT1EjAq8rtxjYMl6FTk6DRtZnmV1YGpT3CUwbTjMcFk3HHoD1mp9ZJQif9fa NkiZ4cjFOY0Jx44mYJZ6cyUh2HqgZ0e4rpruksOrDcgrpeAHH8aUxN1AxhSC2L7bF+qj TA1IIkB0Sd7eBqn5ZvXb1ano7WI/bVkj8EFSRbQgdpASyy/pt6C9k6XgJ+j3xYWbIEPS bCyM3xudwAu5NYcCh7hiI/63cwIMAxxBOf7Nen5293t4Ii4dWdttPW7WH0GFJAGFWyMW 5ame6K0oD/Hh6f3j/BdVBIyoUj4wvWhwN15v/nZiOjCt33akYsEM7gqUy1XNKBjfGAJ+ BNlw== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=xCt3kM+nBMBe594FBcfTM0tt8nk7YD6lBO7D+bNK+No=; b=hL7TE5FKlaUMr9Zhmb699u5t7CADDn+f5CWNxyFqYj12kwIFz19WKlqPjKoufLgZIv xS7/y0R/hxWIgXkN5itIqcpnCDUL02SZOMuvZC6GneEmA+LnNZTYpm/lazNokFL8n+ma O1QNUxGF+OvIGcBgTso6eN/6+9GSf2uvdx/vDowP+LoEjKfm6QmbCFZv/6Pi8QLxQl1j vVqV3hrYf9fN8+6nnIun0KefyDYvbF09DwMfgaapmyUe9IbWyzi9RG8ATIPnUS2yDQId 65FPVHdkbEkGjw3dEkcWG0CfpTLB3xd4a0zbKfdCqF2Csus8fmzH/L/JVhv6iScGyTm8 lEYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Du9+514D; 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 q15-20020a056a00088f00b0064d28796335si16554610pfj.92.2023.06.17.10.42.47; Sat, 17 Jun 2023 10:43:00 -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=Du9+514D; 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 S1346274AbjFQRUw (ORCPT + 99 others); Sat, 17 Jun 2023 13:20:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346363AbjFQRUh (ORCPT ); Sat, 17 Jun 2023 13:20:37 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A291296A for ; Sat, 17 Jun 2023 10:20:33 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-51a200fc3eeso2638992a12.3 for ; Sat, 17 Jun 2023 10:20:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687022431; x=1689614431; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xCt3kM+nBMBe594FBcfTM0tt8nk7YD6lBO7D+bNK+No=; b=Du9+514DgcGtUB/CaouAziyCXzCocuhrAmwZwLu6Z6o0f4YiuIHbJOceqpoKwVRKrb IMis+k9vJdE5dbGMD2oCg08ZrpdMEe5vS/XLdO+vYFSCKeJS7p4QgoYChiyLTQDqXq0Z 2PYg/KZD7wTPTOCfHXVr7RUZyt1AxrTRvcCLXg2sKU/iZDSbWGas4gC9BsuQSMuhZjhT ey8zHuLGJtKL7v+T0V6TfRQuPizD1MfVzcLXv32b2wcNQzoosSzCTA034X90qaXaZMV9 eVuvlLjZiUUoqePtRhUTmBi2jur4eeNEeWHCWhq/3tP/stLhB6WkNFh/A+SbQ81JaNx9 i2GA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687022431; x=1689614431; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xCt3kM+nBMBe594FBcfTM0tt8nk7YD6lBO7D+bNK+No=; b=fgcV1ffydJIt9x/xntOystF+FKK0gZZ6dMEfjQqoe6dEzxcDIpiBKpDqkHXXKhn6VJ ihrok7LYHs4NruZHDzbQuHxnyKvDiGhYgmj1YFaYkNUoyBnNJ6S40msgnS/cXnMVNgwi ZO3GOGaFsO46fbdwAtnU72OhkQw8coQHNz60O8t+fuzExQ2aedvRh3ggg+/aeUALdff3 pY07RqltntN9yA5hWARUcqg9SxYeCXCkdRYN/jPOupJX4vFCjsqojE7SBdO2t5D8fZNW 6qLLAN/UrXiRtwOSCpV0OzEIVFic0sgnkhgaLO3VkGjcUCzOVi22ZK+CRszDIifYoyri 1imQ== X-Gm-Message-State: AC+VfDyxczgCyQKn0N/msT6h8bQRMInaOUbH7k8tvTGIPA5GUx8SyaTx poKKvNFWlTDVjB5TMGtrTmQBFQ== X-Received: by 2002:a05:6402:1252:b0:514:a0e9:3deb with SMTP id l18-20020a056402125200b00514a0e93debmr4012221edw.23.1687022431641; Sat, 17 Jun 2023 10:20:31 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id b13-20020aa7c90d000000b0051879590e06sm1375373edt.24.2023.06.17.10.20.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 17 Jun 2023 10:20:31 -0700 (PDT) Message-ID: <10f01535-ab4f-b0d4-306b-a90f4ad19008@linaro.org> Date: Sat, 17 Jun 2023 19:20:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v3 2/9] clk: ralink: add clock and reset driver for MTMIPS SoCs To: Sergio Paracuellos Cc: Shiji Yang , arinc.unal@arinc9.com, devicetree@vger.kernel.org, john@phrozen.org, krzysztof.kozlowski+dt@linaro.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org, matthias.bgg@gmail.com, mturquette@baylibre.com, p.zabel@pengutronix.de, robh+dt@kernel.org, sboyd@kernel.org, tsbogend@alpha.franken.de References: <20230617052435.359177-3-sergio.paracuellos@gmail.com> <05e3ff33-ad4e-d2fb-dfd5-7b5265881b74@linaro.org> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On 17/06/2023 17:37, Sergio Paracuellos wrote: >>> The case of >>> searching for compatible is a mess since as you can see in the >>> bindings there are tons of compatibles to search for, then (this code >>> is common to all ralink platforms). >> >> Compatible is one of the ways using ABI. > > Ok so it is also a broken approach, then. What is exactly broken approach? Fetching by compatibles? Somehow many other platforms do not have problem with that, even for multiple compatibles. Why yours is special? Anyway, it is not a correct way to get clocks frequency. There is CCF for this, although maybe Ralink does not support it? Best regards, Krzysztof