Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp907178rdb; Wed, 1 Nov 2023 06:22:17 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFD/CUIS6ah//UnxXSQt7d5ClETdfqWI3tlZSlhFWfw1fcwNeGVtLGP3Jz3Bt0z2RqRval2 X-Received: by 2002:a05:6a20:7489:b0:174:2286:81f4 with SMTP id p9-20020a056a20748900b00174228681f4mr14815504pzd.14.1698844936546; Wed, 01 Nov 2023 06:22:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698844936; cv=none; d=google.com; s=arc-20160816; b=t119tZZw+qOcUiG4zPNaXiUf7jgRTvjWtLIibVQbyO8YuF4z4l4xnz7QQ11dNgxmet IqFtlEskiS4PLhbzplqcYXwnEM0SuicyHVTTDPMS6KRryVbs1WA0nmaqHSXZ0ArtFnM8 7nks4aWX2yZ9er6iMxSI8a7hCpfb4tQsRgn9N1TjxVS8zSVld6+qz8yctL4vxNPjLEsa UulfC3As7FIEPfrGXvUJ21Mo4ps9uCANILOkfP98TNXcOFO9GTeHAQcPKaK72iJrZnnB oimAN4i6VeQ2xJQ7/Mryb/dSCnNoDnMYp+KUreBzK1Oy5+7ta78ngHM5ITbe5btDeSZR 2RGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=fTZGkY03HE3O8L5UizGWjCWSFnz27c8Zq89DTc21l7Q=; fh=dD9wOfwFlI+4kJ1lU7g3mgjrYSYIG7mM4QV2sBYBbHY=; b=R+TTJ7x6cDWRGb73+KGvDLAJ3YNCGa0FA48WwlPesgzIrUT8ySdv7P7W8096mzY1nm a7KCVgeewxC/zBUrCk8d5up+niSnzjXtjyYXxtdEXJIKWvTKVoLs/ss4Yu9hp5L8s68B 1L2nA57VxqCFoxFDvGrmSYIilt1w0/eyYy0W9zMfMhuty8ekh/1Ip1XRX+2JeTAS+hP2 x1JTinqWEEGlCcHTZ7csNmkBN37xeA1CPsFn8EwVwDj7adAIG+BQlxs2jPde/9XGeG7V 68O4/niiOd7cHInixFD3cHsFplfGvwUgHcTFVcQrnniSkkLdYYYXvzZ6vbLAI6ZVwwyo cvPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=KLptjDmu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id m3-20020a170902f20300b001bc5a4f56fcsi2787200plc.554.2023.11.01.06.22.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 06:22:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=KLptjDmu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 6A39B807C85D; Wed, 1 Nov 2023 06:22:03 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344136AbjKANVq (ORCPT + 99 others); Wed, 1 Nov 2023 09:21:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344124AbjKANVp (ORCPT ); Wed, 1 Nov 2023 09:21:45 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5FB94FD; Wed, 1 Nov 2023 06:21:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=fTZGkY03HE3O8L5UizGWjCWSFnz27c8Zq89DTc21l7Q=; b=KLptjDmueC7lG8F5Qj23yozjFU Mg93eV2M0Lo9dMPjed/qt0VczCYZJYbFIrPVCx+EzVsY6WI9Up1Nqmf04t3R/YFDtBu0qL7WYod3y ALg2pDOXXEblD/S1pTUi4ssd3uANusNuIWNz+BmJdvbNFV8PkFILAGXPRgV0H4Wr9uwQ=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1qyBA1-000gi8-KI; Wed, 01 Nov 2023 14:21:29 +0100 Date: Wed, 1 Nov 2023 14:21:29 +0100 From: Andrew Lunn To: Christian Marangi Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiner Kallweit , Russell King , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [net-next PATCH v2 2/2] dt-bindings: Document bindings for Marvell Aquantia PHY Message-ID: References: <20231101123608.11157-1-ansuelsmth@gmail.com> <20231101123608.11157-2-ansuelsmth@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231101123608.11157-2-ansuelsmth@gmail.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Wed, 01 Nov 2023 06:22:03 -0700 (PDT) > + Marvell Aquantia Ethernet PHY require a firmware to be loaded to actually > + work. > + > + This can be done and is implemented by OEM in 3 different way: > + - Attached SPI directly to the PHY with the firmware. The PHY will > + self load the firmware in the presence of this configuration. > + - Dedicated partition on system NAND with firmware in it. NVMEM > + subsystem will be used and the declared NVMEM cell will load > + the firmware to the PHY using the PHY mailbox interface. > + - Manually provided firmware using the sysfs interface. Firmware is > + loaded using the PHY mailbox. sysfs is a linux concept. DT bindings should be OS agnostic. It would be better to say its loaded from a file in the file system. I'm not sure mailbox is relevant here. All you really are trying to say is that if there is an SPI flash, the PHY will load the firmware itself. If not the driver will load the firmware. Andrew