Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp2332705ybg; Fri, 5 Jun 2020 11:10:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxlest/XIQthj0wHKHylGMMPbgDCZl1kFSt8Ti97i5yhBYlsS0mCDyJ0fO76IkOnQRcT9Fb X-Received: by 2002:a17:906:7e5a:: with SMTP id z26mr8486873ejr.263.1591380655588; Fri, 05 Jun 2020 11:10:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591380655; cv=none; d=google.com; s=arc-20160816; b=VOBr6K9U8YPG+/w895VQyEpxicXMjPmIH9ggCmIKH9g5hElvFnG3GYxe3uNxa5EvEW k+z5S6CETF5IvuI5TvipcC8EpjL9pbFxeI6yxxyjTE5/aA42qO1K9Kff0l8RcFpEN7kS RqqBxU3mLCNfq3sp0eIzTg70RQrzwzblJdaLl3G5vI6OSYPpfOktrLQw2HC1MlfXX1yN MQM/G6Qg/I7Vz1KjGpZqB6O+Ty6FciQTIkXgpmaqBxWkx1xbTgCrbo+QWIIlwOxfVbKO jKHOFBfovsOS17bo/xfvCvsGMI3mguP7BJQjJ3x6zNOoaY08RA4Nxn+A+O0Sms0mo6mg uAaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=qOWKSN6fy8i1wsii+C9kQcUD/H3uhG0+JUSv3RW0hT8=; b=B1l3E9evKVsElIn8KQJ6oWPVamqkcrMxY9MnrA6uul4bMJU9pf4wkKak8rauIeRT9O Xitccs6hKixWYiHgI0KpGbHZ0HsBeIWLTn+Pak5rG4wRYLcphbUwTNhnDwDLxbjZeDLO H3umjqVqdso4DgkXyzbOILvk9ANQhFAkfpFdD/UKARBKkH86r0gx8Lp6y7odQVp+VTxv ZNcqnd2FKOAPG6sbCMsNUgMjW/s9RH5oCQlL2iS5FHShfop1Svbddp1GoAkzWFUJN4ii vY7Ue/qxgpO4ABGvahMcUbkdSJg5sPNqVyg/RIheTeGIBzOR+XlqUVKxQHhAk46j9OmT HsiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@earth.li header.s=the header.b=EDGj7zDa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y17si4755324edw.149.2020.06.05.11.10.32; Fri, 05 Jun 2020 11:10:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@earth.li header.s=the header.b=EDGj7zDa; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727004AbgFESIi (ORCPT + 99 others); Fri, 5 Jun 2020 14:08:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726077AbgFESIg (ORCPT ); Fri, 5 Jun 2020 14:08:36 -0400 Received: from the.earth.li (the.earth.li [IPv6:2a00:1098:86:4d:c0ff:ee:15:900d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20426C08C5C2; Fri, 5 Jun 2020 11:08:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=earth.li; s=the; h=Content-Type:MIME-Version:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=qOWKSN6fy8i1wsii+C9kQcUD/H3uhG0+JUSv3RW0hT8=; b=EDGj7zDa0TosrsbOciky1SiUJp hH5AbltKRt7XwbyothGG3DvtRN5/x8PcufbF4rTxO1RvJkDXpt5juFNR0pgzaRqAtBvK6KYRlAHm7 Kx30rPWd7H71ZMLfPQfuyY+rxZOI1hF0TfFQd403uzctnlHu86hrmm5oE40bqaIhfohWWfVt+KmT7 Utv38QoYMznVK1t/o2+p+iZLlB9JDc6t6r3U1UHQNoytKfdF7BaToc1aWs7nbZbcb5Mak6uraC29h 2aP++vY/IOw78Vnqbum7SqfKF+pEWeXs9cl29thqP4VaVLMDx0mAmGDVE5wF50NSiJGKEJpTIfNcO lhTQpTkw==; Received: from [2001:4d48:ad59:1409:4::2] (helo=youmian.o362.us) by the.earth.li with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhGlZ-00037H-Ea; Fri, 05 Jun 2020 19:08:29 +0100 Date: Fri, 5 Jun 2020 19:08:24 +0100 From: Jonathan McDowell To: Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S. Miller" , Jakub Kicinski , Rob Herring Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 0/2] net: dsa: qca8k: Add SGMII configuration options Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 This pair of patches adds some SGMII device tree configuration options for the QCA8K switch driver, and the associated documentation. At present the driver does no configuration of the SGMII port, even if it is selected. These changes allow configuration of how it is connected up (i.e. connected to an external phy, or to a CPU, or to an SFP cage) as well as allowing for autonegotiation to be disabled and a delay configured. Tested on a MikroTik RB3011; the second switch is connected to the CPU via SGMII. Jonathan McDowell (2): dt-bindings: net: dsa: qca8k: document SGMII properties net: dsa: qca8k: introduce SGMII configuration options .../devicetree/bindings/net/dsa/qca8k.txt | 4 ++ drivers/net/dsa/qca8k.c | 44 ++++++++++++++++++- drivers/net/dsa/qca8k.h | 12 +++++ 3 files changed, 59 insertions(+), 1 deletion(-) -- 2.20.1