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=-3.5 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 6EBE4C4363D for ; Wed, 7 Oct 2020 21:48:20 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 ECE112083B for ; Wed, 7 Oct 2020 21:48:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="GWu1EU9+"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nOiCFVqK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ECE112083B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=hh38FMRfgq+mKQWkbexNjGfmKTAhEeqX8yxbRIj8nzI=; b=GWu1EU9+r8FaUCbuYx+i7S7Ie 7tz7jg+4OLThNOYe/R37BpsPV2KiDZReV38C8Sj4odrPwHyHtaa+rht9nekKcfNHoBzsHLGrBc9Tl QdHcMP/V0F5Q07c5GEaQzBuOSF3gGefYLghinb80dQL8qfoR1DP0lUJ7uEIqEXv1ygXbZAOGWp+qa CrbWp2WoJEcNmlgexGvsZZOTId60vc7jHczbPjP/aF+40EPb8L5UbrxYqUUziBdRS9YGkIMSOnkro E/tGo59A36FvGoYCZjQyfsCpWIes2CwBjB/kwTPGPrFTYTWWe3F6pzT9aMH15Lo30YOUUAFE1CUWd VX5kNhPCg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kQHGi-0000x0-95; Wed, 07 Oct 2020 21:46:40 +0000 Received: from mail-qv1-xf44.google.com ([2607:f8b0:4864:20::f44]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kQHGg-0000wE-5U for linux-arm-kernel@lists.infradead.org; Wed, 07 Oct 2020 21:46:39 +0000 Received: by mail-qv1-xf44.google.com with SMTP id ev17so2060841qvb.3 for ; Wed, 07 Oct 2020 14:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=YqNUjigFoAXo2QafX/TTeVVXBpaXL3Be2L3u2zpujGM=; b=nOiCFVqKn9qpKVGgPb0MgXhOqUoxudL61nKQkOjg6IWYyDk7Mo60sg2BiYT+qgKZvC 9VaQkgDLA3ZFv1YeeJC8BhF9M8X0SCrRrSiTt+2qetxnyXbH6atyoKgXDCG+UE40ZIzZ 86eXvROXYmV9sEIjqxwP/Q0MBgczL3xkhw3tZ7MCJgP+byDpqTsBY2BbJSpPN9Wz1b9k cH5Ixg1DSgILYeRCDfE7unh/IUxVWkV3xpA7GsvrNGL/W/WZFUh6bZOOue7NP1YXbeOy HjjcZn6gKV+UzkojRivqPU3griS6IdQl+o2V6nUDg6cBBz2ClbxBjZtP7r4dqtDaoib7 +OYw== 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; bh=YqNUjigFoAXo2QafX/TTeVVXBpaXL3Be2L3u2zpujGM=; b=HeYdxMP1hemPp8HPjIn2iPzsA03dyOzBbOEMzH3W0uDazhdgoF2ZRTya/RwJd0JZBn aHLNJs1RRXl7pyGMlifGLoYPKpczvHPosPSnB5RvVl4VCQdkgucREKrbHiAfx7UXZn10 2vcZn34ojBKh8c2tPV+7O35Vciuf92YoO81xFu4ux1T630BbS3v34/O+EprFXglyHBNs b6gDSeTPAVie/WDOzGgkx/ryViKsxprOiD8F18OhZlLS4eaxcY32EpOyfx4w7o2Za0Oe DopRWQq6Rqd44sZDgZQX52HzC//5Z8WFtgNx7qNQXya0VvAzUFeZP8q6bvWDqfotX7ZV nUFw== X-Gm-Message-State: AOAM532BjVDpWKJQDcp6A695Yz0e0FBRScno/sVW4R2FEfF5kbKlnU+W IqmCOtFqzrUO1uJOObVzmBY= X-Google-Smtp-Source: ABdhPJzrDqRTfzp3kraZFbds/BuMxeQZZRTCB5lCKd7Q3veIzOCHzA9lsDBscGJUHmrCwPpXm8IlwQ== X-Received: by 2002:a0c:c492:: with SMTP id u18mr5342732qvi.18.1602107196335; Wed, 07 Oct 2020 14:46:36 -0700 (PDT) Received: from ubuntu (ool-45785633.dyn.optonline.net. [69.120.86.51]) by smtp.gmail.com with ESMTPSA id 128sm2408554qkm.76.2020.10.07.14.46.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Oct 2020 14:46:35 -0700 (PDT) Date: Wed, 7 Oct 2020 17:46:33 -0400 From: Vivek Unune To: Andrew Lunn Subject: Re: [PATCH 1/3] ARM: dts: BCM5301X: Linksys EA9500 make use of pinctrl Message-ID: <20201007214633.GA1972@ubuntu> References: <6687de05226dd055ee362933d4841a12b038792d.1601655904.git.npcomplete13@gmail.com> <20201007210134.GD112961@lunn.ch> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20201007210134.GD112961@lunn.ch> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201007_174638_280225_1A324222 X-CRM114-Status: GOOD ( 18.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Hauke Mehrtens , =?utf-8?B?UmFmYcWCIE1pxYJlY2tp?= , linux-kernel@vger.kernel.org, Rob Herring , bcm-kernel-feedback-list@broadcom.com, linux-arm-kernel@lists.infradead.org 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 On Wed, Oct 07, 2020 at 11:01:34PM +0200, Andrew Lunn wrote: > On Wed, Oct 07, 2020 at 03:01:50PM -0400, Vivek Unune wrote: > > Forgo the use of mmioreg mdio mux infavor of the pinctrl > > Hi Vivek > > Could you add some more details please. I don't know this > hardware. I'm assuming there are two MDIO busses, external as talked > about in the comments, and an internal one? And for this hardware you > only need one of them? But i don't see what pinmux has to do with > this? Hi Andrew, There are indeed two mdio busses. To access the external bus, 9th bit of the mdio register has to be set. And to enable mii function, one has to set the registers 6 & 7 which is part of the pin controller. Earlier the pin controller was not defined and I resorted to use a combination of memory mapped io mux to change desired bits. Now that we have a pin controller - which is resposnsible for other functionality such as pwm, i2c, uart2, it makes sense to have a consistent device tree Hope this helps, Vivek > > Thanks > Andrew > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel