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.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, 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 2E7C0C47404 for ; Wed, 9 Oct 2019 23:10:32 +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 0047C218AC for ; Wed, 9 Oct 2019 23:10:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="BLUMt+FW"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=netronome-com.20150623.gappssmtp.com header.i=@netronome-com.20150623.gappssmtp.com header.b="j1N3WnyQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0047C218AC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=netronome.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: 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=XkG92a0PpvGOwjkMZj9vs/ACK8QxsruZCM4TrkQDHbg=; b=BLUMt+FWu+GaGp d+l6NG73X/hraONAkeBlkaL/jrTGLW/XEPpcV9Bi+2o+3ST7KAV7sgxXjaykGLpeFh1ODKyDR8uII sQkKC5qVL8xK6pe94Q1k2c3E/cWn6FAAbqXz42NZmfm2LGKAbN7vXNvR4ferv+AMT2MdcRx48xCZK 36NxEJPvGJlCpA+BcQYynx1xLAnwY5JID5KR6fQH8SDv/enbADdL9iJTmdLAIpduzYTyJmuq+i7QH 3tQPEGh6ucQ3rUT38fLY7d/wtg0cXLtjuzYoNzeJNrt4+ZuMR7QLYNkBHhckHa1/Wh7+Q9/2CwBtD W+N7wdGSnn0ddPpzcWkQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iIL6F-0004z5-Ei; Wed, 09 Oct 2019 23:10:31 +0000 Received: from mail-qk1-x741.google.com ([2607:f8b0:4864:20::741]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iIL6C-0004xt-Nx for linux-arm-kernel@lists.infradead.org; Wed, 09 Oct 2019 23:10:30 +0000 Received: by mail-qk1-x741.google.com with SMTP id p10so3827960qkg.8 for ; Wed, 09 Oct 2019 16:10:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=netronome-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :organization:mime-version:content-transfer-encoding; bh=NTimbsKgKVFDwuRCQXDTlqAXzNdTJ0Hr/Eiu/ueYeWQ=; b=j1N3WnyQePch5c3ATnoCW8Gc5+utVUM07IPkUm9U5i1N1JvfqxJFhHzkKW934vUUlP WkvTVLgvTE4vl+TZ523OqX2PD2BC162vDZeljPWx3plErfZrydgfhBIbUm4Si1O7JuQ8 KFdNtHeSfIjs8hVYdCqBuC7z01mVYUvA2DLlo76GRCdf/CtgLkEnXA6Z0trETa6mPkHf qw+2ujEP6/yOZsntZfx9+c3uhSPh1prUi4yCGrwvmiRrE5zjnK9zpU8wB6QCwFRuoqmn 0HkXxV68gwvc4Sb8Ap5qeAJpn5pEnFjJ6dNTOpqRIc3z4GHLSG68hnzwQN8ar5PGZY96 8tXg== 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:in-reply-to :references:organization:mime-version:content-transfer-encoding; bh=NTimbsKgKVFDwuRCQXDTlqAXzNdTJ0Hr/Eiu/ueYeWQ=; b=LwCERzLnvYJp07lTO3oEBX19+pj+od5lN/Lnd21QuzkB1qeY8cE/wkaDRJ7mShXT3P o3/Yw0QqbShVXxjnPLLckYQ6HfVlh+Ft6vas3zHvoiXQEu2u+AVcKYK2rJ1nEo/fXCBF Mo0SsQ08EPSvV8+zZPQmt0GJPBxahGTDvt//m2pxrQTZ2x+AQ83J4iRPJPwX7beetGeC iJWpzKc9zdFOyygMkkk88l7ajRpp68iOW2ItmZOOqShcAesO71LtIzkeW1ctr5uvkzVA L6RFLtwB3xjEWFwqwjNOcQSfCU0RN6xKnqD90WMG24rc/faydOoG25PLdIA4rI3KjBp0 4EEQ== X-Gm-Message-State: APjAAAW0ks7uL+mCQbtEwubjFpHY8aI0xirfajLaqXLOL5IoFc7ca2DU DohhQrw5YszTLtKfAiVcHYciSw== X-Google-Smtp-Source: APXvYqxlFI2WcAzy9H2hDmeqvaySLV60xIVp+vEfJOOvBA+AepOhJJvAg79EbiCxLrXZdFhnQYnNxQ== X-Received: by 2002:a37:6114:: with SMTP id v20mr6535756qkb.329.1570662626464; Wed, 09 Oct 2019 16:10:26 -0700 (PDT) Received: from cakuba.netronome.com ([66.60.152.14]) by smtp.gmail.com with ESMTPSA id h29sm2161423qtb.46.2019.10.09.16.10.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Oct 2019 16:10:26 -0700 (PDT) Date: Wed, 9 Oct 2019 16:10:11 -0700 From: Jakub Kicinski To: Antonio Borneo Subject: Re: [PATCH] net: stmmac: fix disabling flexible PPS output Message-ID: <20191009161011.117c7f77@cakuba.netronome.com> In-Reply-To: <20191007154306.95827-4-antonio.borneo@st.com> References: <20191007154306.95827-1-antonio.borneo@st.com> <20191007154306.95827-4-antonio.borneo@st.com> Organization: Netronome Systems, Ltd. MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191009_161028_837407_3468A397 X-CRM114-Status: UNSURE ( 9.92 ) X-CRM114-Notice: Please train this message. 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: Alexandre Torgue , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Jose Abreu , Maxime Coquelin , Giuseppe Cavallaro , "David S. Miller" , 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+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 7 Oct 2019 17:43:05 +0200, Antonio Borneo wrote: > Accordingly to Synopsys documentation [1] and [2], when bit PPSEN0 > in register MAC_PPS_CONTROL is set it selects the functionality > command in the same register, otherwise selects the functionality > control. > Command functionality is required to either enable (command 0x2) > and disable (command 0x5) the flexible PPS output, but the bit > PPSEN0 is currently set only for enabling. > > Set the bit PPSEN0 to properly disable flexible PPS output. > > Tested on STM32MP15x, based on dwmac 4.10a. > > [1] DWC Ethernet QoS Databook 4.10a October 2014 > [2] DWC Ethernet QoS Databook 5.00a September 2017 > > Signed-off-by: Antonio Borneo > Fixes: 9a8a02c9d46d ("net: stmmac: Add Flexible PPS support") Applied to net, queued for stable. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel