Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp552293pxk; Thu, 1 Oct 2020 08:43:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXU8YCvQGt1LwQfvytTBe1JqHM5/OHGWUp0M1JoPb5ATM94rd4qsApdrJtenHizZhK/gz5 X-Received: by 2002:aa7:c504:: with SMTP id o4mr9192668edq.82.1601567032696; Thu, 01 Oct 2020 08:43:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601567032; cv=none; d=google.com; s=arc-20160816; b=Na0kNHI7/77YB6tNhlDBNAzwAVCSpp0M3HrExGqgV5eoPSr5CEDGHWr6SPLu1G60MK mQAikme4Q7Tnrkhyr/eVIFKzoywGTxFyY0B8AbHIqI7JRqf4OAqE4EOet+XxMKXLMeOG Qi03SDdabobNNYh36VJi5pfVGXPJ3n+bY/m3Jzjy56fR/r5qIk9kcNVAWuZmTI6tAUZz x8pN/yhxX//IX9Hmv3JoOS16KF0LBZyolcakEGJVb+ZUIan4ouS6dKRzEF8kNheOBx11 NMrJyd4c6U/j/MW8tOZbBpC420swNGP++84S3YDZfBRGUX6/kXG5ZSZKmLxk7MaZHS9o +mBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=CRuZs9KHdyyYtPSV5xRlxB+ahr3F1mpnApAGbMQJe8k=; b=0PGGhIsbzct8W7fP6/WR2LWIW5gUw7/MqUt/deNH32PVKV7dXvWgWuf+MaEnsdJ2Sj 0Js+KVIkU6Baoyz/2gMDgL/OVu+RL2tSoKjOycEPIIV7DP5ZhoZigJKW/qifGSP3X00Y dSigtuV6mGA+hqCKz/7eBn/U7Q3L3zzS6y8T0tjXjqFY7NzG1bLSp1Np+BYyoWSlQB1u O3z/pFW8nRd8GUSSMJ6fsWgPjLNq8eb5t2E2dahuRqgKjwVAFEJPLjtx/Cvk7NsPwb4T Uk17OduYKn9Dhocpt5wC9h5fbv0a1jEozoL1Oe+nvTAQFWNqg+xHsprlM7kL6iX6NwIQ WuGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hr0a0OQt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v24si3710870eju.655.2020.10.01.08.43.29; Thu, 01 Oct 2020 08:43:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hr0a0OQt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732517AbgJAPkY (ORCPT + 99 others); Thu, 1 Oct 2020 11:40:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40632 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731885AbgJAPkX (ORCPT ); Thu, 1 Oct 2020 11:40:23 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC372C0613D0; Thu, 1 Oct 2020 08:40:23 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id n14so4867788pff.6; Thu, 01 Oct 2020 08:40:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=CRuZs9KHdyyYtPSV5xRlxB+ahr3F1mpnApAGbMQJe8k=; b=Hr0a0OQtfgl4zIji3XUa3fFfK5RfJpAdY+yQbTzoZFPH2Qaj5Ekstbrf+p376/SWuX ey4jfFLEpIQDoFFQ04RY0xw/ZVkato24qgCdFW4tmDTFbxHbZakFX19SqtroY5RVY/ed MypLcyzoRvaek0+JXyylZo+szdxuhwoTTCtB+NDiO9EVcZ/fHGQBU8vj2krdUCLtJLWt ph+LnPVIJwpFTfMqEakJU9vQ0eDcs60i/i38w3DNdDYEW29leIjYwGnq+2bvNijooqDr Ay6MKB735oJdFDj3KkgKn84B/PbZLeHHcV/uuBU24GcbZ6VTjcllfzz0O+eRADTe6yR1 Pf4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=CRuZs9KHdyyYtPSV5xRlxB+ahr3F1mpnApAGbMQJe8k=; b=qnC9QxLQl0aIrASN51Lg6BQU6pET0WTKuwnsgCzC/SV5Rc2me9lZSHQ61a5Abb5sVS mycUwOSpEwEEj4IuANP/Sa5WFJ9HUUiJiwOwG/Uo9YCQVywifWeKIn1jmdqqcwUfzspf sXCU48fFip8uJz1BfNyGf4D4etud01ch0/0j3fx86v3D1AmP4sdD+zlmArilPj58HaOQ vhTujT6HQ00q9+bjDQ/d8YF8NDMPr+gPoe0ZsIbQprzHR9vOXDhe78YduQfo19y4r02w cSCiWIXL6nP+y8WHtfWYuQh3pRIQlZ4g0zA299XAXHu8WUIx6boTiHJYKtWUFh9qVLo5 aumQ== X-Gm-Message-State: AOAM531ifbmdVWyARrY5zYr3YAnfXenxQhS3lGhn8xfIB46BubPkAtax MwXENA+CQ0Sm4c9H3M0Q4SvyRYLEASBSdB98Wv8= X-Received: by 2002:a63:d648:: with SMTP id d8mr6561587pgj.4.1601566823284; Thu, 01 Oct 2020 08:40:23 -0700 (PDT) MIME-Version: 1.0 References: <20200930071342.98691-1-tali.perry1@gmail.com> <20200930093117.GY3956970@smile.fi.intel.com> In-Reply-To: From: Andy Shevchenko Date: Thu, 1 Oct 2020 18:40:04 +0300 Message-ID: Subject: Re: [PATCH v1] i2c: npcm7xx: Support changing bus speed using debugfs. To: Tali Perry Cc: Andy Shevchenko , Wolfram Sang , Alex Qiu , Kun Yi , Benjamin Fair , Avi Fishman , Joel Stanley , Tomer Maimon , Linux I2C , OpenBMC Maillist , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 1, 2020 at 8:34 AM Tali Perry wrote: > On Wed, Sep 30, 2020 at 12:31 PM Andy Shevchenko > wrote: > > > > On Wed, Sep 30, 2020 at 10:13:42AM +0300, Tali Perry wrote: > > > Systems that can dinamically add and remove slave devices > > > > dynamically > > > > > often need to change the bus speed in runtime. > > > > > This patch exposes the bus frequency to the user. > > > > Expose the bus frequency to the user. > > > > > This feature can also be used for test automation. > > > > In general I think that DT overlays or so should be user rather than th= is. > > If we allow to change bus speed settings for debugging purposes it migh= t make > > sense to do this on framework level for all drivers which support that = (via > > additional callback or so). > > Do you mean adding something like this: Nope. I meant to use DT description for that. I=C2=B2C core should cope with DT already. I do not understand why you need special nodes for that rather than DT overlay which will change the speed for you. --=20 With Best Regards, Andy Shevchenko