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 X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92BE4C4338F for ; Sat, 24 Jul 2021 12:48:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6E67A60F36 for ; Sat, 24 Jul 2021 12:48:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234250AbhGXMHs (ORCPT ); Sat, 24 Jul 2021 08:07:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230449AbhGXMHr (ORCPT ); Sat, 24 Jul 2021 08:07:47 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AE29C061575; Sat, 24 Jul 2021 05:48:18 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id n6so5061667ljp.9; Sat, 24 Jul 2021 05:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RfMSh6YLaZEkpisGzz8tzT+CWBhFXuhceR7+JI0KV/M=; b=kA3ig6s28YpJPVSPJ4rtpTNz6R12Y92GVLIz6CG/yYbl686dISHG8qmMtBV+Nx9UFM cAfH1i8HmgS9Qv9/1rYlY2QcUc5E2O1mrRYQTv4a0nuPS9WliPcBxIQUng5dFmFb2cpV 4nM9QvwpGgS/ySlcc7v6fypZSFiaWGG4lQt4knNUwvQu+otuc0etkjVBkpnORVpIh1qG Os0pIBT7MSQvtArgSdVC2uo/5ZQhV94cBj1Oks2JsfHFkv+SXF9lhC6bPTG0UGf/Pj4r vPwhWodCbpjrG9VbxxoUowMoG9TWURnoGhn9XnxbtqhDr6OY84F7//Vyn48ITMTjHdmV 3mwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RfMSh6YLaZEkpisGzz8tzT+CWBhFXuhceR7+JI0KV/M=; b=GsO9BvQ8DD6VBHC7/3XL3iIn84xrHVvCp7nu+tU7FDEhaphEEwnYh47L0TtTxUORf+ KN74ZO5bVpIMF0M+2oNZlsDgr25+8VJR9mtcGLoCzQmqkNa1athv9QUOvgoyt5C61IUl Pt4fN4/RPmWxvtQ3Oy2cuqrQYuGVcSgWlCKIB4Dq+Y10Q8hCA8RPVUHliHXV5b9gxGC1 punxSj3lFxO3VMvickIfvk7Rl9e95gzgsz303VPueDan3AhvDu5HvuB1+xHjwFiT1OSH AmGsOIjF1kBRNkbZ6uzom4o807gc6nK7sdNARyxzxm6KnfaKlVpkFQ/EPdZUKKnVcjGj st2A== X-Gm-Message-State: AOAM531/MOgYrVlTY0YG3AdBFjLy74vjvI0FjKSNum2rBam5zwzjoKnZ dbnUUY/Rd0P5QQgB8pLhJPvjhg1hI4nk2sUXz1w= X-Google-Smtp-Source: ABdhPJwTKMzqfmKrpi+o6iZEl3eiwHJlpHehq/87sN2KhUYNKmn4LsVc1dET97l4kEBYxCo3vc5v0zH5kuzC+9kKgQA= X-Received: by 2002:a2e:a164:: with SMTP id u4mr6069456ljl.121.1627130896569; Sat, 24 Jul 2021 05:48:16 -0700 (PDT) MIME-Version: 1.0 References: <20210723112835.31743-1-festevam@gmail.com> <20210723130851.6tfl4ijl7hkqzchm@skbuf> In-Reply-To: From: Fabio Estevam Date: Sat, 24 Jul 2021 09:48:05 -0300 Message-ID: Subject: Re: [PATCH net-next] ARM: dts: imx6qdl: Remove unnecessary mdio #address-cells/#size-cells To: Joakim Zhang Cc: Vladimir Oltean , "David S. Miller" , Shawn Guo , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Rob Herring , netdev , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Hi Joakim and Vladimir, On Sat, Jul 24, 2021 at 2:21 AM Joakim Zhang wrote: > I prepare this patch to fix dtbs_check when convert fec binding into schema. > I realized that we need a "reg" under phy device node, but I also don't know how to add it since > the phy is obviously not on board. And I check the phy code, it supports auto scan for PHYs with empty > "reg" property. I looked in the U-Boot code for the nitrogenx6x board: https://source.denx.de/u-boot/u-boot/-/blob/master/board/boundary/nitrogen6x/nitrogen6x.c#L343-356 and it scans for a range of Ethernet PHY addresses. As we can't pass a reg property in the dts in this case, the patch I sent that removes the #address-cells/#size-cells properties looks good, right? What do you think? 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 X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 597C4C4338F for ; Sat, 24 Jul 2021 12:50:25 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 18D4060E73 for ; Sat, 24 Jul 2021 12:50:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 18D4060E73 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Y8i4UZF09Qeb+I3CzsipQ2LE606D2QeACelvLypaVV4=; b=SBn6F6tMTp0vg7 3+JOorixd7pmwtPiRQ9r5tjqyxN32XmhbsxJmf6yufcvFnrrTQouQfKAPiOtZoj5VxTs/rEebfdfS HJtcMm4yYE4mjrhI55eo7QI5hWGXbf/thcoq3JCIX90T8BmOQKe4+QW26m0zie7og5fWdksnrfPb9 ukezY/9aJIcpodqJu6ETxSPiYXqmwSUQIgFBCvgcrQTRjgwkeMCkJCbt5GOXUtrtruk9omp5xb2FK 1D1ZgSG4T287sIzjCGpNq7tDJEQ7aik6ycZVe3dP4Wk9yXQEuUsthYtd40A5OUxuW+1S+qWrR+F5R ZvMGEJoQUtvn368lp4CQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m7H4p-007BcH-9O; Sat, 24 Jul 2021 12:48:23 +0000 Received: from mail-lj1-x231.google.com ([2a00:1450:4864:20::231]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m7H4l-007BbV-0m for linux-arm-kernel@lists.infradead.org; Sat, 24 Jul 2021 12:48:20 +0000 Received: by mail-lj1-x231.google.com with SMTP id h9so5077305ljq.8 for ; Sat, 24 Jul 2021 05:48:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=RfMSh6YLaZEkpisGzz8tzT+CWBhFXuhceR7+JI0KV/M=; b=kA3ig6s28YpJPVSPJ4rtpTNz6R12Y92GVLIz6CG/yYbl686dISHG8qmMtBV+Nx9UFM cAfH1i8HmgS9Qv9/1rYlY2QcUc5E2O1mrRYQTv4a0nuPS9WliPcBxIQUng5dFmFb2cpV 4nM9QvwpGgS/ySlcc7v6fypZSFiaWGG4lQt4knNUwvQu+otuc0etkjVBkpnORVpIh1qG Os0pIBT7MSQvtArgSdVC2uo/5ZQhV94cBj1Oks2JsfHFkv+SXF9lhC6bPTG0UGf/Pj4r vPwhWodCbpjrG9VbxxoUowMoG9TWURnoGhn9XnxbtqhDr6OY84F7//Vyn48ITMTjHdmV 3mwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=RfMSh6YLaZEkpisGzz8tzT+CWBhFXuhceR7+JI0KV/M=; b=Rd3HI2N+egkssEPzBTv8r8MyW+6/qU/RyzHyDMxcfzaExeXdJz6Oysl2EN+dUQApjR fWN/t323G54YPI9ZsXuhptuZtJuFzH+L3Vx4uAIJNL7fdUWDSTH1IeF7tX0UwnGZxQbJ F52A6rjX6SpWdY48TlyDHCuRsheEH8zbl1+Mzj+iQ83njE8T+9LAdgxKCdm7+FJ2iY7g OsusYDrDinRbrSIK2z2sp8MHa6SGREpUccCdL58D/joCDQOmSAbtPe9v8KfsvNjDgGqk eQdluGkh9NMFMBann7S62HF9jQwcpYNIshIkXjheoWeNQXis9DZICe2eFKXri+N/FF/x QuQA== X-Gm-Message-State: AOAM532ZEpY797fmjLm/J9pEOuDM65z5OURvWqqv/z+OKI+a0BqvQLgt D5qO0XrGnniAG8jCIzeoeYEdetXKC6xb8gApad0= X-Google-Smtp-Source: ABdhPJwTKMzqfmKrpi+o6iZEl3eiwHJlpHehq/87sN2KhUYNKmn4LsVc1dET97l4kEBYxCo3vc5v0zH5kuzC+9kKgQA= X-Received: by 2002:a2e:a164:: with SMTP id u4mr6069456ljl.121.1627130896569; Sat, 24 Jul 2021 05:48:16 -0700 (PDT) MIME-Version: 1.0 References: <20210723112835.31743-1-festevam@gmail.com> <20210723130851.6tfl4ijl7hkqzchm@skbuf> In-Reply-To: From: Fabio Estevam Date: Sat, 24 Jul 2021 09:48:05 -0300 Message-ID: Subject: Re: [PATCH net-next] ARM: dts: imx6qdl: Remove unnecessary mdio #address-cells/#size-cells To: Joakim Zhang Cc: Vladimir Oltean , "David S. Miller" , Shawn Guo , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Rob Herring , netdev , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210724_054819_121573_2AC91430 X-CRM114-Status: GOOD ( 12.17 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Joakim and Vladimir, On Sat, Jul 24, 2021 at 2:21 AM Joakim Zhang wrote: > I prepare this patch to fix dtbs_check when convert fec binding into schema. > I realized that we need a "reg" under phy device node, but I also don't know how to add it since > the phy is obviously not on board. And I check the phy code, it supports auto scan for PHYs with empty > "reg" property. I looked in the U-Boot code for the nitrogenx6x board: https://source.denx.de/u-boot/u-boot/-/blob/master/board/boundary/nitrogen6x/nitrogen6x.c#L343-356 and it scans for a range of Ethernet PHY addresses. As we can't pass a reg property in the dts in this case, the patch I sent that removes the #address-cells/#size-cells properties looks good, right? What do you think? _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel