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=-9.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham 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 BF41CC4338F for ; Fri, 30 Jul 2021 23:04:43 +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 8458860F3A for ; Fri, 30 Jul 2021 23:04:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 8458860F3A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lunn.ch 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=3ZXNra1xVOVA7J4Bm2gZyaEVR80OGVJ9MuXpVu0h81w=; b=qUj+CseVEN7nw1 DWW9uPjlDSsbjqfV95P+HIFgd7GMARaLyynWB8Mwn5XS9z3pWCHZuVvwbIJPT1uwY5FxfVzz5v1cN YVFSexkZONSXI68TnPp4fo5si8SiFjKQjLWSpQ8RttryRCBzyUQ9ivjzVYFbyebsyOO459Nxrc4YL KflQpcGx2rVoO7WmhqTDrFv4p6lhKg7IeADs0MAlN3HAh+/4c/uS7+Q8EACaQFwMZFT0/9M/FoeDN QNfyU+uxi8jGnWMm5kt6R+7zqXfa9GqPPJePosOV8um10iRzSUvFYTyDHwgHtl2sCV4yuH1XOcILl N2JqJ8MM6cMrFnS9kOEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9bVx-00AUNH-NE; Fri, 30 Jul 2021 23:02:01 +0000 Received: from vps0.lunn.ch ([185.16.172.187]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m9bVf-00AUI1-M6 for linux-arm-kernel@lists.infradead.org; Fri, 30 Jul 2021 23:01:45 +0000 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=fecisuUqt5tAOvTWYMo0oEZ55db2uBe88AyyQqYCy8Q=; b=0q6rBWRe2ML/YbpZxFLrjvQOhe lk6X9YZwMgm1a7WqcDv7VjnQtaOYUcl3f5yTc0/+/xtZr+THJNAhkV6mlWfVQ6Mnrxja2X2u6kXYv XJOZI24LEo9hoobDKzlHDwRcRT3iEKbe8RC2AzhO4F5ErwP2Mcm4Lt24ftGmCU3bEzd8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1m9bVV-00FWvd-6j; Sat, 31 Jul 2021 01:01:33 +0200 Date: Sat, 31 Jul 2021 01:01:33 +0200 From: Andrew Lunn To: Linus Walleij Cc: Gabor Juhos , Helmut Buchsbaum , Frederic LAMBERT , Linux ARM , Imre Kaloz , Krzysztof Halasa , phj@phj.hu Subject: Re: [PATCH] ARM: dts: ixp4xx: Add devicetree for Linksys WRV54G Message-ID: References: <20210729082658.2815884-1-linus.walleij@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210730_160143_771230_DC5D634C X-CRM114-Status: GOOD ( 15.75 ) 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 On Fri, Jul 30, 2021 at 02:15:57PM +0200, Linus Walleij wrote: > On Thu, Jul 29, 2021 at 5:33 PM Andrew Lunn wrote: > > > > + /* This set-up comes from an OpenWrt patch */ > > > + spi { > > > + compatible = "spi-gpio"; > > > + #address-cells = <1>; > > > + #size-cells = <0>; > > > + > > > + sck-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; > > > + miso-gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>; > > > + mosi-gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>; > > > + cs-gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; > > > + num-chipselects = <1>; > > > + > > > + switch@0 { > > > + compatible = "micrel,ks8995"; > > > > Hi Linus > > > > This does not exist in mainline. And when it does, i guess it will be > > called microchip,ksz8995. See microchip,ksz.yaml. > > As it happens it does exist, so this was what I was using: > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/devicetree/bindings/net/micrel-ks8995.txt Ah, that driver! O.K. I will take a second look at this. I suspect there is code in userspace actually driving the switch. Andrew _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel