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 1E389C43219 for ; Wed, 23 Feb 2022 15:27:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242025AbiBWP2B (ORCPT ); Wed, 23 Feb 2022 10:28:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232586AbiBWP17 (ORCPT ); Wed, 23 Feb 2022 10:27:59 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BBEE9583B6 for ; Wed, 23 Feb 2022 07:27:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1645630050; 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=kH8WIN2Y5/0MeVxcsZQrx8+wnwcyD8nghWH8KM7iDsA=; b=KqGPnCiA9/zHrRCA/5D8/wtJT2Ta5jx2iXBBfODLq8XjCNaXE2N/vsB+GQkrTj7vtNPZDY 7BZZBLsQxERDySUZ8/byMA052D8md+SvUj/yxf6H/MylTItoOU8qVCDMaFFTUn+HUZl+Uz duGPRj6oLEwBUTM6XmQd0UVwhlzqu/Y= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-150-BO0E3l16PWGP6Wz35ZMnqA-1; Wed, 23 Feb 2022 10:27:28 -0500 X-MC-Unique: BO0E3l16PWGP6Wz35ZMnqA-1 Received: by mail-ej1-f69.google.com with SMTP id nb1-20020a1709071c8100b006d03c250b6fso7139429ejc.11 for ; Wed, 23 Feb 2022 07:27:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=kH8WIN2Y5/0MeVxcsZQrx8+wnwcyD8nghWH8KM7iDsA=; b=CrEeY6lWwC9wyH7bYh6uHE3kgvU080VCP04LggLQVUiaAoSN2KDpqxgjFydCy6N0z5 ddJx64rc4kZZavPYTmhSvS9ZYIHUfZWdJc8I/li1Hb7gdKtvWYszvj28aeZFZWzL7agm FexHP4P4GE7W8Tj8pTtJZHK63RiGcfFovYdu2sn7gu+S1gS7aZ4V+qBZHuqbOoPrPWIy u2CGyUzZAeHIFva08A8+WeT0KEwhTLErnEvQJv2LGd9tmaMrdK0RXdkkpDZaq/qdI8Z+ MQ2RY6WHClJW5EuMJiwScMJ/PHYo8eWCXdldnnAn7o/VQ2fkYCmQHyMHxetFQKbhBqeK qqxw== X-Gm-Message-State: AOAM532qb4xe1cOYWKT5u/unTfjKGAhxpfaXwCZOXgl29T5tvUE8G1H8 oO/vBATd5qb/ImJHj8dPK0ER7C5kFixneCuMzp4nsS5Ha9MO7EP8IjvjsPUd7urRZfm0Fl4wKyd Mkn+6GKopmail6VUTHmx3KwF0 X-Received: by 2002:a17:907:3f95:b0:6d3:feb2:ef88 with SMTP id hr21-20020a1709073f9500b006d3feb2ef88mr207543ejc.480.1645630047619; Wed, 23 Feb 2022 07:27:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJxd10eUh+0Ou6b2l+D1KhQmrVXRkGHIS5KWx3uTpl+yTqghprex4MQO/OYDY3rFz0PeTTOFsw== X-Received: by 2002:a17:907:3f95:b0:6d3:feb2:ef88 with SMTP id hr21-20020a1709073f9500b006d3feb2ef88mr207520ejc.480.1645630047444; Wed, 23 Feb 2022 07:27:27 -0800 (PST) Received: from ?IPV6:2001:1c00:c1e:bf00:1db8:22d3:1bc9:8ca1? (2001-1c00-0c1e-bf00-1db8-22d3-1bc9-8ca1.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1db8:22d3:1bc9:8ca1]) by smtp.gmail.com with ESMTPSA id fn5sm7554851ejc.179.2022.02.23.07.27.26 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Feb 2022 07:27:26 -0800 (PST) Message-ID: <2a34b9e5-be7b-9f08-d9f8-bdd40f06ff87@redhat.com> Date: Wed, 23 Feb 2022 16:27:25 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.4.0 Subject: Re: [RFC 10/10] net: sfp: add support for fwnode Content-Language: en-US To: Andrew Lunn , =?UTF-8?B?Q2zDqW1lbnQgTMOpZ2Vy?= Cc: "Russell King (Oracle)" , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Greg Kroah-Hartman , "Rafael J . Wysocki" , Wolfram Sang , Peter Rosin , Heiner Kallweit , "David S . Miller" , Jakub Kicinski , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, linux-i2c@vger.kernel.org, netdev@vger.kernel.org, Thomas Petazzoni , Alexandre Belloni References: <20220221162652.103834-1-clement.leger@bootlin.com> <20220221162652.103834-11-clement.leger@bootlin.com> <20220222142513.026ad98c@fixe.home> <888f9f1a-ca5a-1250-1423-6c012ec773e2@redhat.com> <4d611fe8-b82a-1709-507a-56be94263688@redhat.com> <20220223151436.4798e5ad@fixe.home> From: Hans de Goede In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 2/23/22 16:23, Andrew Lunn wrote: >> As Russell asked, I'm also really interested if someone has a solution >> to reuse device-tree description (overlays ?) to describe such >> hardware. However, the fact that CONFIG_OF isn't enabled on x86 config >> seems a bit complicated on this side. > > It does work, intel even used it for one of there tiny x86 SoCs. Maybe > it was Newton? IIRC those SoCs did not use standard EFI/ACPI though, but rather some other special firmware, I think it was SFI ? This is not so much about the CPU architecture as it is about the firmware/bootloader <-> OS interface. Note I'm not saying this can not be done with EFI/ACPI systems, but I think it has never been tried. Regards, Hans