Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp909990pxb; Fri, 15 Apr 2022 15:04:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/vluPQZ111B+14gJEVd3+nKNpCz5quaME2gU+AJE1dxOg3IQtWReieGXIgUOixOTWl8rq X-Received: by 2002:a17:906:7947:b0:6da:892f:2503 with SMTP id l7-20020a170906794700b006da892f2503mr775856ejo.710.1650060295207; Fri, 15 Apr 2022 15:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650060295; cv=none; d=google.com; s=arc-20160816; b=PRVyt7mXiXN4cRl4ZI7YBza8bCArFZ7Q0hkJmbFeuN1+A2CvBtdJKMJs59zlF98aLP AagacdkBbYKNLjyQHNoX5bxBbjMHLivbMed2B+bIxhaUqr5XNNnvdKmBHgjViWbvNQah JZCJRfgrJDWE/Srv9+f2Ye0KF1W69jDPQj63o7JKWBVf5w6rj8Okn56+OLufLhajIwQx WJTT3yUeizePfB35va0QrmFPeaRrF92VE0N3ATmSIVWdxwvE7gwE+OwLZyJunlq4fiO6 iNyPomr+296S8R4NfkpOCleAMIGcIf7yyElLFkS3L7TCaVi04dwXUwCxBafkt3jmIguq GTbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gpNgIptFu2NPeH+O6ltj5ksGu9IupM2oxhLFxoxidvI=; b=kri2ZJE1RiYK2V0sUoDlLhdRKmsn8gENAQJy5Zs+BaA0/Kc1ArZMa/V87Kb1DRPGaD w7qjWEoVgwrDELpi1GAx1Do+52D9iU2zq1jshGSOh3CT6TwRkfjRHuwrH6BM+XYzSX7g uGDkiVd1BUnzfAO0cAhq+D9Z5IOieGFRKDP5PCI4UaVQMTuUm118QOEpvmIbWAFGesGf 5Vz3ySBIddITyXYM5B3zJvLDw6T4T680HPZDDquUMIN066ImUjExLx1G1wd4N9KVxeyu 9NfajKNWoFX6BTgLr4djsfXOsnWhSNOyMVEmvkW8pL/gs6zU5YDturbvU89IHqZqygcw UVDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=J2IiTg+N; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b8-20020a056402278800b00418f6ca5909si2041011ede.339.2022.04.15.15.04.30; Fri, 15 Apr 2022 15:04:55 -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=@intel.com header.s=Intel header.b=J2IiTg+N; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243637AbiDNM41 (ORCPT + 99 others); Thu, 14 Apr 2022 08:56:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229738AbiDNM40 (ORCPT ); Thu, 14 Apr 2022 08:56:26 -0400 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCEB092330; Thu, 14 Apr 2022 05:54:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649940841; x=1681476841; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=rj+6tUX+bw1tLSJ0e26tOOsFBu+/kktSZig0hs8PVoQ=; b=J2IiTg+N3yz4s0dQwrCBmCwph/GuEDAeHRFGUQJ/CuUvnU/BDds/y85j WE9tl+dfU7bp/cRII0kZb5PmyPzkpiZC3H/Dyw4TRwPa/7Tk0+PxrF1lp a8B7cCLxysBWEiIanQNwEE+iPPy9PvtPWye5uMV2AN+Z2iQchXUAlFSw6 svIpPEi3dK013wUdhLGE9EcWgRkklYqGx9R1oKVhzWDSmTOAQv+7SwsGe SxwYLmZ73AHJuLzwdfTUVRA5DNVy+kZwEpjSr/9IUjVd29M6Xd5OCAMW0 LK5+IfQ0BbrqgFDUUNtKzESqV5jlZJfVVHK/DKk1ZuEUuAMwvDCSk2/Ln A==; X-IronPort-AV: E=McAfee;i="6400,9594,10316"; a="263098836" X-IronPort-AV: E=Sophos;i="5.90,259,1643702400"; d="scan'208";a="263098836" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2022 05:54:01 -0700 X-IronPort-AV: E=Sophos;i="5.90,259,1643702400"; d="scan'208";a="552670090" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Apr 2022 05:53:59 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1neyyy-002K2W-HG; Thu, 14 Apr 2022 15:53:56 +0300 Date: Thu, 14 Apr 2022 15:53:56 +0300 From: Andy Shevchenko To: Nuno =?iso-8859-1?Q?S=E1?= Cc: Jonathan Cameron , linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Jonathan Cameron , Lars-Peter Clausen Subject: Re: [PATCH v1 1/1] iio: core: Convert to use firmware node handle instead of OF node Message-ID: References: <20220413180202.19220-1-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-7.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Thu, Apr 14, 2022 at 09:17:22AM +0200, Nuno S? wrote: > On Wed, 2022-04-13 at 21:02 +0300, Andy Shevchenko wrote: > > Switch the IIO core to use firmware node handle instead of OF node. > > This will allow to get label from firmware on non-OF systems. > > > > Note, this doesn't change of_iio_*() APIs for now. > So I was actually planning to send the same patch today or in the next > few days. I do also have the conversion of inkern.c so I guess we can > move in 3 different ways: > > 1. If you are planning or already have some work with it, I'm more than > fine in just forgetting my patches and let you do it (you are cleaning > all the drivers already) > > 2. I can send the patch (without this one) already for reviewing... It > won't apply because I think there will be some conflicts with some of > the drivers you changed already. Fun fact, remove of.h from iio.h and > you see some drivers relying on it for property.h and mod_devicetable.h > > 3. Just wait for your latest patches to be merged and send mine next > week. > > Up to you :) Thanks for letting me know. I think the best course of actions now is to settle down with what I have sent and you then rebase your stuff and sent out for review. I will help with reviewing and I'm glad to hear that you are step ahead of me. I wasn't planning to chase the inkern.c in the future (at least nearest future). That said, it seems like fits the #3 from the above list you provided. -- With Best Regards, Andy Shevchenko