Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8784076rwb; Thu, 24 Nov 2022 04:22:10 -0800 (PST) X-Google-Smtp-Source: AA0mqf6oM6167Y/wsjEHykVQJyOGSm6bZvhyNFRolaEV46IIAe69y4z53vduViXS5P9ttt6zZFqu X-Received: by 2002:a05:6402:143:b0:463:f8aa:d2bf with SMTP id s3-20020a056402014300b00463f8aad2bfmr30154159edu.358.1669292530454; Thu, 24 Nov 2022 04:22:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669292530; cv=none; d=google.com; s=arc-20160816; b=BsIruNtZt14w/wM9dEmQTt7BS/JIUxZN0m2tKFgrTdaUpfG1Oj8vWo4d5yoJV5OWlL 1h6uHL1P+KASENkkCspA9eA4Rq0Mqk/QItF5Nm/uJhGUJZtU797ZVRcysewnXtGuauO6 gXYiVzL9H18UYbEJF0V6AMiZKal41NK1z3G2bv5OzsmAi5Nm1VQqK6P/9fmYizonp4SU u0Q393Pd8F1FDNpAyZGRAVc5K4PAEL2uA7w+rQyc9hRIUjKf4Y6gCUDvUD4LCRBPgBVG 3uVfbm4JdS2Aoe0xY3ghXuTOeYFb7VcWP7aZaNGvIIO9Sks4/XxUb2FwTz8i+8KYfaio V90Q== 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=Upa7JOhV8Luz6o/HTdRR+MHYLEnrm6+OGyDErM/vu0g=; b=MPl6CbfC2dFdHTVbv8d8fYRHoMcqF/12wioemdWUawaV8Is8Lw8T0BAX0zOeaUdrDZ VXC2wV4aBKhhTxX7gOWvgHu3oKd/pyHkQNRCBApemOZlngj/EXywx7FozuiQXfttd7iI wSc7rlz9RXPVoeqmEMbIuFaWE1X1KGPKNl6Hl3PmdNc973SSEMbe+JmzNtsxTPMNype0 TGIcAQEmhF/9XwP3ghMo8n0yOsraKMM/JT2ApQ1mlrhhNiVCvt1+frVdjorFX9pC/bwM dX8VRvbrYsMMUOAgdl7udUARWZzkLlSMSBAz9q2zMAOYQl8kRqVdXW5Yyc/qUDvjcWSL A/2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=KBiG2Tzc; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 30-20020a17090600de00b007add62d9f38si667068eji.330.2022.11.24.04.21.48; Thu, 24 Nov 2022 04:22:10 -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=@redhat.com header.s=mimecast20190719 header.b=KBiG2Tzc; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229868AbiKXLw0 (ORCPT + 86 others); Thu, 24 Nov 2022 06:52:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229787AbiKXLwY (ORCPT ); Thu, 24 Nov 2022 06:52:24 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C93A620377 for ; Thu, 24 Nov 2022 03:51:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1669290682; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Upa7JOhV8Luz6o/HTdRR+MHYLEnrm6+OGyDErM/vu0g=; b=KBiG2Tzc+P5XywPrOGi1RpKOgO/2juZGZ5ZjGyM/jScPAP52ulQcChBG/xnYwvxE3L9Ecn u5iliIcrn7n7knLp1rSSdjUDAE9XlwawG6mELyyLu6GBOKdLdvSOLENilZ1M7eyQxCabIY gmV0YQ858eia3ocYqiOQYXwiedXeUk4= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-133-jjex_hpwOzKzEgr6YfvXgA-1; Thu, 24 Nov 2022 06:51:20 -0500 X-MC-Unique: jjex_hpwOzKzEgr6YfvXgA-1 Received: by mail-ed1-f72.google.com with SMTP id b13-20020a056402350d00b00464175c3f1eso832464edd.11 for ; Thu, 24 Nov 2022 03:51:20 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Upa7JOhV8Luz6o/HTdRR+MHYLEnrm6+OGyDErM/vu0g=; b=DpmqHhqEkmN/otod7ZeIKIpa9W9Iyk5HwYMSOFIgc3W5E3uKz0/zCyZE8tFsjbAu1m 3mShr6slgdFOcjalIU+6hZa8FNiUWl+LgHaXxRgUZmGFyYndb5PoE2y/+nriX04XnSAa AYMvbJzBWkRpJx+iEYakSq0KavGwjo+kZgfv5mTjRgazMQwXpz+y6ZVw6q+EVdSKg49P q5lr9Y86BqFpXK+q8zKWTcqnX3iiCBF98Y/u/9kJ6XwSSHD7ii2pYeYEUrHgwMXEOp4S wK/9HbK+yA/ELCwHL5TfhqCMQ3Fhij1h8xqXBbTDNC8IMeXpPv4RxRoYm0IjePP4TGdl sZlA== X-Gm-Message-State: ANoB5pl9OVI1uaZeHFjXmBxxOioFejDN18LidpbVUfNNaM3k9/JUL5wF /g7KLl++tMdAclnZBaJVYcqQJmdHJdxn78WAxNxc/HfwExYpLrnpHQcykR98pHnELheB28dFNLz +4hUj4EnZ9BCfC6tAAl2H70yA X-Received: by 2002:a17:907:c208:b0:7ad:79c0:547a with SMTP id ti8-20020a170907c20800b007ad79c0547amr17271773ejc.41.1669290679388; Thu, 24 Nov 2022 03:51:19 -0800 (PST) X-Received: by 2002:a17:907:c208:b0:7ad:79c0:547a with SMTP id ti8-20020a170907c20800b007ad79c0547amr17271757ejc.41.1669290679217; Thu, 24 Nov 2022 03:51:19 -0800 (PST) Received: from ?IPV6:2001:1c00:c1e:bf00:d69d:5353:dba5:ee81? (2001-1c00-0c1e-bf00-d69d-5353-dba5-ee81.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:d69d:5353:dba5:ee81]) by smtp.gmail.com with ESMTPSA id hs32-20020a1709073ea000b007a8de84ce36sm337523ejc.206.2022.11.24.03.51.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Nov 2022 03:51:18 -0800 (PST) Message-ID: <51f80121-2e8c-0e8e-6f89-a7dc214207b0@redhat.com> Date: Thu, 24 Nov 2022 12:51:17 +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 v1 1/2] platform/x86: serial-multi-instantiate: Set fwnode for i2c Content-Language: en-US, nl To: Andy Shevchenko , Stefan Binding Cc: Dmitry Torokhov , "Rafael J . Wysocki" , Mark Gross , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, platform-driver-x86@vger.kernel.org, patches@opensource.cirrus.com References: <20221124110718.3925934-1-sbinding@opensource.cirrus.com> <20221124110718.3925934-2-sbinding@opensource.cirrus.com> From: Hans de Goede In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 Hi, On 11/24/22 12:35, Andy Shevchenko wrote: > On Thu, Nov 24, 2022 at 1:07 PM Stefan Binding > wrote: >> >> This allows the i2c driver to obtain the ACPI_COMPANION. > > As far as I get how it's done in the SPI case the real fix should lie > among i2c_acpi_new_device_by_fwnode(), right? Eventually maybe, but not for the initial change. It is complicated, making this change has side-effects and we want to limit those side-effects to only i2c-clients instantiated from serial-multi-instantiate for now, see my other reply to this patch. I do believe that we eventually want to make this change, to easily give drivers access to all sorts of info (e.g. _DSM methods) from the matching ACPI fw-node, but as I said it is complicated... Regards, Hans