From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 91673C4332F for ; Fri, 14 Oct 2022 09:52:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229907AbiJNJwc (ORCPT ); Fri, 14 Oct 2022 05:52:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229763AbiJNJwa (ORCPT ); Fri, 14 Oct 2022 05:52:30 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D7B31B76C7 for ; Fri, 14 Oct 2022 02:52:24 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id bj12so9272083ejb.13 for ; Fri, 14 Oct 2022 02:52:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20210112.gappssmtp.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=299L7Zs/XJUb9u6JhyOpi3WgUrHdMmQAEsWR3uOjIYc=; b=JOTiuopG8km3XtuX5HfQFp6ORVzx7LLvrQ2isr87H2o5ZimMUKe+djV7os1u6GUxAP tSKR4RAfbO9EhFwI3uwa+u18qUlWC9nH2ssNu3hbQLb8mIJOLk3wL7WiyhA8kJSGWEyx hpvtalFBKFgSm6cbXN8Rl9q32sGNmoUv340a1u3xTJ6AqmYOvWFT7Ruacnf3Lr6Fav+0 sT2/vAhaRTM1qmqtW6R7GsgGlA8MEIa2exqjVXqfq6uQviD/eXlsqgZ0SrCjNaNuHg7G Kd2hP4B5H6zkXVv2FzsaC7r8W5QRauYiVEtw8yC5jEkN0HogjFHHdsGibILaGmY6UZT6 pm1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=299L7Zs/XJUb9u6JhyOpi3WgUrHdMmQAEsWR3uOjIYc=; b=j3pFBILHTArdn+u6FhqbicNcNUjSfrylfTHUSmJBDr4t+ef23ZwS377UWKehZxa7nu pfUTksoyAd5cIdzqdxhdKH/w7P7zeh0mQUXDG+i0wAOwraz4tdsEfCoWlj1h9QvPPSc+ QQKNwr1J/iiOZcHG8cTzmNZ+bRW4SGBG2LrauU7g12IREX5kP67qJeFgtmtXo8SkaMQ5 xlxDvSfY36i/T41YPktBq8+8Uw2hldH1f95ugj1/530HMjEiacaS+dbn4brBh/3BwGaT 0RJjvqrNem0K1xNJXJKKWa27h9BabiuhHzzYq8pe5A2YGtgQUp/sQrbk6htNyOkDRslP fIqg== X-Gm-Message-State: ACrzQf1yRsU2Y3N/K0P+oKBcjUO6EDb/xNdMTkQXNWvjI4iREKZ6MLQe T2j6HfXkdSDgcKVjifn0Rr5azQ== X-Google-Smtp-Source: AMsMyM6e+X4YGgA/fu0UmpKGVoZyo9IBlfy1KHM0430kLf7hh912Jq/15taqlNOl5o46hecGERfePw== X-Received: by 2002:a17:906:4fcd:b0:78d:8059:17c with SMTP id i13-20020a1709064fcd00b0078d8059017cmr3005758ejw.423.1665741142164; Fri, 14 Oct 2022 02:52:22 -0700 (PDT) Received: from localhost ([86.61.181.4]) by smtp.gmail.com with ESMTPSA id z10-20020a170906714a00b0078b4801c40bsm1208101ejj.216.2022.10.14.02.52.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Oct 2022 02:52:21 -0700 (PDT) Date: Fri, 14 Oct 2022 11:52:20 +0200 From: Jiri Pirko To: Jakub Kicinski Cc: Vadim Fedorenko , Arkadiusz Kubalewski , netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, Vadim Fedorenko Subject: Re: [RFC PATCH v3 1/6] dpll: Add DPLL framework base functions Message-ID: References: <20221010011804.23716-2-vfedorenko@novek.ru> <24d1d750-7fd0-44e2-318c-62f6a4a23ea5@novek.ru> <9a3608cf-21bb-18b1-796a-7325a613b641@novek.ru> <20221013081725.501b0f58@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221013081725.501b0f58@kernel.org> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Thu, Oct 13, 2022 at 05:17:25PM CEST, kuba@kernel.org wrote: >On Thu, 13 Oct 2022 08:55:34 +0200 Jiri Pirko wrote: >>> AFAIU, some mux devices are not smart enough to make a decision suitable for >>> autoselect for the pins they have. In this case the autoselect process is >>> done in the DPLL device, which selects mux and not the pin directly. At the >>> same time there could be muxes that are smart enough to make a decision, and >>> it will be autoselect on top of autoselect (and several more layers) and it >>> doesn't sound great to me. I believe Arkadiusz will explain the mux a bit >>> better. >> >> From what you write in this reply, I have a feeling that these details >> are not really interesting for user to see. So I tend to lean forward to >> abstract this out and leave the details to HW/FW/driver. > >Are you saying we don't need to model MUXes? Topology of the signals >imposes restrictions on the supported configuration, it's not something >you can "abstract out in the FW". > >My thinking was we can let the user ignore it and have the core figure >out the configuration of the muxes if users asks for a pin behind a mux. >But it's better if the mux is visible so that it's clear which signals >can't be selected simultaneously. (IIRC Arkadiusz may have even had >muxes shared between DPLLs :S) Yeah, that sounds fine. My point was, the user does not have to know the details and muxes could be abstracted out in kernel and below. Not sure why the mux would need to be visible to user. It it needs to, sure, lets model it. I have no strong opinion here. > >Anyway, I may just be confused about the state of the series because >most of the points you brought up were already discussed. I guess you >were right that off-list reviews are a bad idea :( Yep :/ Let's please move it here to stop the mess.