Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp597221ybz; Wed, 15 Apr 2020 14:50:29 -0700 (PDT) X-Google-Smtp-Source: APiQypIeQzvecYHLqPtR2oyEYsmfnjS/VQG8Ep5Tr3hlvzGq45sxXKNUx78ffZjklcLJbZtS3HDR X-Received: by 2002:a17:906:90cc:: with SMTP id v12mr6960954ejw.211.1586987429281; Wed, 15 Apr 2020 14:50:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586987429; cv=none; d=google.com; s=arc-20160816; b=rqukjDw7ntVROSzxysDZMMkGo5iw6LCryutMqBKq2CLoEgwF/eNIDiWWKA1Oew/wPQ mthAZhGZxY4Nu2WzMVB2+Uqogo9+FtFZin0u2mNGTLAWD9QHuNahUYDfYzwsqZkm9DYS HwzSXcj33MqdXiglJh/+B+PxXvBy95z4L4ZuTm56HIFscY8ntH64PVgYd9n7LwCki6nA ZmlZaqPP/Cmi9nENf7bq9m249u48DxCgunwqqR2vP7N4NCF+9VjLUs2i/Q2W7RJEbjOT oM7T94mAknsCg7prsFw+ZaYUmxfnygY9MuniGBHbKZvtixru571Kv8nBdV3G237GYwYp cvNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=ViDMoOKYM5eKMxDsxHH7qVo/oFOUllzmSiKC3yZPO6c=; b=rwJqdhtN+SORPOXEIKAOGLv3Syo9S4aW68kcjJ3uqyYSNkA+NJGVyrlL8u2tp3OGym 6nkggNitCDES+lG5IA0ve6XV4tFGvpN8tnYCN8CdXmJTMe+6tsvwfhajS+Tvv9rYfxFw hyJXCfqjzVw8f8GEmeY/X+bmgJ26uXeqVRe6DX7fuh9cZEHKs8PGENpO8A2ki8FAtZCq nmN/gTtZ7/nWbBN6MuKs4uBunBRsM5/4r1teVhJ6Bmjm7l0ljwzatI73jkx9hYLTk7n3 zN4QOJBxmbmqphwib5yn+03rpsRT6mOMHUWX7Ngp/Cx5s6UzvR9i0nnV43lj5EACIAUF 2G6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lunn.ch header.s=20171124 header.b=a4bjsZvz; 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 e8si12182098edl.2.2020.04.15.14.50.05; Wed, 15 Apr 2020 14:50:29 -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=@lunn.ch header.s=20171124 header.b=a4bjsZvz; 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 S2504081AbgDNShD (ORCPT + 99 others); Tue, 14 Apr 2020 14:37:03 -0400 Received: from vps0.lunn.ch ([185.16.172.187]:37346 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730984AbgDNShB (ORCPT ); Tue, 14 Apr 2020 14:37:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References: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:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ViDMoOKYM5eKMxDsxHH7qVo/oFOUllzmSiKC3yZPO6c=; b=a4bjsZvzVTQKEboODtQWY+VzaR Uka9txjlohDs9CE42qN9gGt3beuSmKNSmtSo7sK+GvEmNmBdul/j9c1ITfwevq3/jPyfVKOK/ju0h cXqUEA7fx3zAhjjBHSzaQmtEoOu3GpTuVsEJOgDDdlfssYACYEu7t10Syh0LjvN7FKLA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.93) (envelope-from ) id 1jOQQW-002hvo-0W; Tue, 14 Apr 2020 20:36:52 +0200 Date: Tue, 14 Apr 2020 20:36:52 +0200 From: Andrew Lunn To: Robert Marko Cc: f.fainelli@gmail.com, hkallweit1@gmail.com, linux@armlinux.org.uk, linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Andy Gross , Bjorn Andersson , robh+dt@kernel.org, Mark Rutland , linux-arm-msm , devicetree@vger.kernel.org, Christian Lamparter , Luka Perkov Subject: Re: [PATCH 1/3] net: phy: mdio: add IPQ40xx MDIO driver Message-ID: <20200414183652.GB637127@lunn.ch> References: <20200413170107.246509-1-robert.marko@sartura.hr> <20200413184219.GH557892@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Unfortunately, I don't have access to documentation and this is all based on > GPL code from Qualcomm's SDK. > So I don't really know whats their purpose. Then please try to reverse engineer it. Just looking at the code, it seems like one register is read, and the other is write. So use that in the name. > No, this is also an old relic from the SDK driver. > It works without this perfectly fine, so I will drop it from v2. Part of cleaning up 'Vendor Crap' is throwing out all the stuff like this. What you end up with should be something you would of been happy to write yourself. > > Why the name am? Generally priv is used. I could also understand bus, > > or even data, but am? > Like most stuff in this driver, its a leftover from the SDK driver. I guessed as much. But this is the sort of thing you need to fix when cleaning up 'vendor crap'. Andrew