Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7851561ybi; Mon, 22 Jul 2019 22:10:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwGahIzXzC6OJ0C+952aMwob2httSIvm2fterFBV3/MoRJ/evo4rBs+OE7q7riluaAHWSx X-Received: by 2002:a65:63cd:: with SMTP id n13mr74445207pgv.153.1563858651255; Mon, 22 Jul 2019 22:10:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563858651; cv=none; d=google.com; s=arc-20160816; b=VAl1XGLjBQ1RaYgQ6ng0XqN6aRKGohoqe10ewiawXSxLtc8or4Ma8cAZGKMKtyc52F dDLP/k8oKBnIwtdYv5lpX07grzhf2hWUQ+bDIjzKQ/hhTmRPgZMq3SUlVibcyLDXOM1u 0d1WUox0jV4qm5znhX8QGtjbOxSgxD0gWocLCi+npPV7CcZoGcssGSPEySkRYaaYgFyw aN+mnFiejFU357hvvcRY5A8hr8rT3KA3YOzUvaHXzELdIqNxYdP57m9fwPg1YHJh0z4I q7P4hOtDeFHwdjwbE/0pLmpmjJ+76jQ7S19T3OOJR80aYYoQ336FDVAtf8ST092lW/bv oigw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=O9BbPnmI+pHoI/NQDPXVHcO4RcOKDp2TZ+FeQcswyuI=; b=Z38U9BsRVVL5D15u/OhjeSbg/pPnlAOVuxsOv4U/YJzrurMdyTMuayywiWbd9vbmQt y1yeQQZrpJ9z3i5QoXuCSKCBoOqdLAnmiecT+oFrA0rWyowE2EQm4rYG1Qv1m0VQTLVI E17Ke1FNsa+Q6aVwC1nchj1XbQ5C2fPKbASnOgKae+VppUpmNEQCSytJjUJyWn9KaaVN 6yaVAdNAEmaBygBuLrlTW9Nzx+EuKD1sS3KJpQOM9JC1YfouNAvBgpAwKqPwMne9tMJy 3ausz3EgNdO4kBNnENP9r0wZ67QG7pdLlkHdUmw1xfCEbwsAXZ80QyhxPf6Q0msAFE0o l4yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=H4APkLXJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5si9188867pll.439.2019.07.22.22.10.35; Mon, 22 Jul 2019 22:10:51 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=H4APkLXJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731466AbfGVTOP (ORCPT + 99 others); Mon, 22 Jul 2019 15:14:15 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:34459 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730882AbfGVTOO (ORCPT ); Mon, 22 Jul 2019 15:14:14 -0400 Received: by mail-pl1-f196.google.com with SMTP id i2so19599899plt.1 for ; Mon, 22 Jul 2019 12:14:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=O9BbPnmI+pHoI/NQDPXVHcO4RcOKDp2TZ+FeQcswyuI=; b=H4APkLXJRK/q7ukCstH9qo49f7JrC1BR5KVMbG+8RY+d6vqMcg1vyfHihn4f1tfloM WuNKUwAJlufYR0Qn0fAu83Z8xx1H7ZanZPEpW13uQ6ahzZm+rU5ixiOOUe+MRjd5xa+l kzekOMj36vdf9V0CWtNVbnu6PnNGDIpzEkEiU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=O9BbPnmI+pHoI/NQDPXVHcO4RcOKDp2TZ+FeQcswyuI=; b=LPOXHx/Xlypdf5dj7auVF6nWBXpiMu8xSCWeZ2B6kBbt/Wf/qWrgNtsZF67uhwYrW9 LGmrqvy0PLghoGrQgGUo49ufpoTWvEcEk1t/YoIfZkUFtDmHnQhFt3NoulON1OQtj2mz wBcb4ZwUfS2E/AcRRrNUa/0zTyxyU8Tt5UbHaiZObRtK7gR/qJjf/vC8pxpsGg9jF/ud G4KKY4kI2SJLKyH+2ikL2vjjVxoT9VtPbOF5AANoug3UOfjXHoh36GPLtGvGYB9Vu73v SjIYdf1crWv+a0ODoeKkpLCDDDOuU4ZcogHE9K6rmDC2/sGO4y5jU6WM/BszrkQ0aC8t iyaw== X-Gm-Message-State: APjAAAX6c47rQEALH29QQ6r5kYfDz79NQKB4+4EWjc5qT291H7ycKoSM ruiPLO9BIR1Xuc+KJwmKBA894A== X-Received: by 2002:a17:902:aa5:: with SMTP id 34mr79416847plp.166.1563822854072; Mon, 22 Jul 2019 12:14:14 -0700 (PDT) Received: from localhost ([2620:15c:202:1:75a:3f6e:21d:9374]) by smtp.gmail.com with ESMTPSA id t96sm36367885pjb.1.2019.07.22.12.14.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Jul 2019 12:14:13 -0700 (PDT) Date: Mon, 22 Jul 2019 12:14:11 -0700 From: Matthias Kaehlcke To: Andrew Lunn Cc: Rob Herring , Florian Fainelli , "David S . Miller" , Mark Rutland , Heiner Kallweit , netdev , devicetree@vger.kernel.org, "linux-kernel@vger.kernel.org" , Douglas Anderson Subject: Re: [PATCH v2 6/7] dt-bindings: net: realtek: Add property to configure LED mode Message-ID: <20190722191411.GW250418@google.com> References: <20190703193724.246854-1-mka@chromium.org> <20190703193724.246854-6-mka@chromium.org> <20190703232331.GL250418@google.com> <20190722171418.GV250418@google.com> <20190722190133.GF8972@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190722190133.GF8972@lunn.ch> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andrew, On Mon, Jul 22, 2019 at 09:01:33PM +0200, Andrew Lunn wrote: > On Mon, Jul 22, 2019 at 10:14:18AM -0700, Matthias Kaehlcke wrote: > > I'm working on a generic binding. > > > > I wonder what is the best process for reviewing/landing it, I'm > > doubting between two options: > > > > a) only post the binding doc and the generic PHY code that reads > > the configuration from the DT. Post Realtek patches once > > the binding/generic code has been acked. > > > > pros: no churn from Realtek specific patches > > cons: initially no (real) user of the new binding > > > > b) post generic and Realtek changes together > > > > pros: the binding has a user initially > > cons: churn from Realtek specific patches > > > > I can do either, depending on what maintainers/reviewers prefer. I'm > > slightly inclined towards a) > > Hi Matthias > > It is normal to include one user of any generic API which is added, > just to make is clear how an API should be used. as of now it isn't even an API, the phy_device populates a new array in its struct with the values from the DT. PHY drivers access the array directly. Is it still preferable to post everything together? (maybe I'm too concerned about 'noise' from the driver patches while we are figuring out what exactly the binding should be). Thanks Matthias