Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp2603565iob; Fri, 6 May 2022 06:39:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxNbJk7luUk2gNiBvkectNMwhOBUOf8bsTwGBK6UUbGvsla45DNezUUrwfmt5OSAOmd+nSU X-Received: by 2002:a17:906:1ecf:b0:6e7:fdc1:255b with SMTP id m15-20020a1709061ecf00b006e7fdc1255bmr2986098ejj.340.1651844343064; Fri, 06 May 2022 06:39:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651844343; cv=none; d=google.com; s=arc-20160816; b=zqLupChIeGzoSMEBdjhQNLl67+bOhfHYIr1w1TQZAq9PyLWb7xrSWOxd7JA81SQoyA z84yrNjSB3VzbRoT2OEYzCah/OR8k8w9ct3r0IqdIZXiwT2TGzktBQqmTZBwag7FNiGB muRFvsm0VPka5L1iAd8ZMtxaqvz61I+979U3sO1n0nrDGsWD+BKD6JQ/7c0x8MA2bGsr y70ZtzMt8cxiuZLeK8SaoWSw6CihADX11FUTu9y/Gw24NNIRu15RBM0JExBt1cdFjda0 fk6skrzi/tj9tw/qsXL6w4bj7asdmKzdHsnR2Rv1H3VBz65YNKN9/nf3qBBHP+mRGBa+ 8LAg== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=aZq5jO8c2cQjpNu/6cSRu86328iJHgS0Kgbi++2VnQk=; b=YpMytPv+S8bT+ip3QErF56Wbo44dFjGQkJLxAqQ9B7ILz+Ei95UoLUGlJiY6c50Ih/ NYldQIQzdj0VFdErjs3C28+cP/jr7G4KV96ULqcrcu72cKQBrT2vq3TwmTldt/hIUTuc ipGkd5L2zYl2ZJuTd6Hv6ZZe0TFmsjRvLvSVH5BQ4C/IFwerayQx04h/PhnNuy/7lE4n UEoAMCzXFWukw+mbUjFdEVfMKvec+rAm3vOu1Ro+6T2E70Q6Di6N0BroM046Fgc8/a87 cfi8vG0CxNlVPZid64d/93gX5Vn8yPf8WWaX6SKLkqufxyOtOfcLr1z+GUlSMCBBFjZv VZQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=t9rEggc8; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jx15-20020a170906ca4f00b006e87cd34739si4273562ejb.103.2022.05.06.06.38.38; Fri, 06 May 2022 06:39:03 -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=@lunn.ch header.s=20171124 header.b=t9rEggc8; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359455AbiEEMVY (ORCPT + 99 others); Thu, 5 May 2022 08:21:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1355567AbiEEMVW (ORCPT ); Thu, 5 May 2022 08:21:22 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DD1E54FB5; Thu, 5 May 2022 05:17:43 -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-Transfer-Encoding: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=aZq5jO8c2cQjpNu/6cSRu86328iJHgS0Kgbi++2VnQk=; b=t9 rEggc8JstJI8HquYLGPX7K2BbrWG3xtlnbc5OBWAZzd6tAddeHR6S3uzlGNzNnpsgY73ujkYD4fd/ uo1KRNTnmkYJPUMERaGHOKvsAIS299g2tf1xHtD5/TV7sqtYzry9CVbxv8trMehsTnNzawMVoo4je TzI5G6zMq8PYzt4=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1nmaPw-001LnC-7I; Thu, 05 May 2022 14:17:12 +0200 Date: Thu, 5 May 2022 14:17:12 +0200 From: Andrew Lunn To: =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= Cc: Rob Herring , Krzysztof Kozlowski , Pavel Machek , "David S . Miller" , Jakub Kicinski , Paolo Abeni , Florian Fainelli , Hauke Mehrtens , Jacek Anaszewski , devicetree@vger.kernel.org, netdev@vger.kernel.org, linux-leds@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , Vivien Didelot , Vladimir Oltean , Jonathan Corbet , John Crispin , linux-doc@vger.kernel.org Subject: Re: [PATCH 1/4] dt-bindings: net: add bitfield defines for Ethernet speeds Message-ID: References: <20220503153613.15320-1-zajec5@gmail.com> <235aa025-7c12-f7e1-d788-9a2ef97f664f@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <235aa025-7c12-f7e1-d788-9a2ef97f664f@gmail.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, 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, May 05, 2022 at 07:19:41AM +0200, Rafał Miłecki wrote: > On 3.05.2022 17:36, Rafał Miłecki wrote: > > From: Rafał Miłecki > > > > This allows specifying multiple Ethernet speeds in a single DT uint32 > > value. > > > > Signed-off-by: Rafał Miłecki > > Ansuel please check if my patchset conflicts in any way with your work. > > Andrew suggested to combine both but right now I don't see it as > necessary. > > I'd still appreciate your review of my work. Such binding may be > required for some hardware controlled LEDs setup too I guess. Please look at the LED binding. It is an LED you are trying to control, so that is the binding you should be using. How do you describe this functionality using that binding. Ansuel code will give you the framework to actually do the implementation within. Andrew