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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CADB4C5AD4C for ; Thu, 16 Nov 2023 15:00:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345397AbjKPPAe (ORCPT ); Thu, 16 Nov 2023 10:00:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34864 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345391AbjKPPAc (ORCPT ); Thu, 16 Nov 2023 10:00:32 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 72EE8D56 for ; Thu, 16 Nov 2023 07:00:27 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23A0CC433C7; Thu, 16 Nov 2023 15:00:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700146827; bh=6yJFsAiIgRdd7mwN0bgpBt2+ND8YpXifms7Wy+EMAl4=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=BuzTlnhBTSCVNJ2gexMe/7CqYKGP1TYRYYy7izwRPvdtfmxFwKiqFMa3NtB7BbAkn 05U/3gPilj4S1bViWANu6WbeLRqBlQorzeTN2WD7Tu3hZU1Yms7so5UMbWmNm+iw57 fVoRBblDeTKYYUqHnm9G1/dUes7nSa8qXIuNhhb9Ytt3Kx8WEEaP5w0Bl/A5xt+29W 0QIDlOaQfDrL8zj12ujGKCMQP1WgsEb1DPq1doBDosqoe29tTB6j4gXazGxuBNvxkE nYOZ6eICUMtOQvfl+NhoE7msov1FloN3iaOHQ5wGWlFX1qWPjXV3iVq145UdF+Liv+ Ud+d67ymKS1fA== From: Vinod Koul To: Kishon Vijay Abraham I , Siddharth Vadapalli , Roger Quadros , Andrew Davis Cc: linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org In-Reply-To: <20231025143302.1265633-1-afd@ti.com> References: <20231025143302.1265633-1-afd@ti.com> Subject: Re: [PATCH] phy: ti: gmii-sel: Fix register offset when parent is not a syscon node Message-Id: <170014682469.545161.9778178408196778168.b4-ty@kernel.org> Date: Thu, 16 Nov 2023 20:30:24 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12.3 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 25 Oct 2023 09:33:02 -0500, Andrew Davis wrote: > When the node for this phy selector is a child node of a syscon node then the > property 'reg' is used as an offset into the parent regmap. When the node > is standalone and gets its own regmap this offset is pre-applied. So we need > to track which method was used to get the regmap and not apply the offset > in the standalone case. > > > [...] Applied, thanks! [1/1] phy: ti: gmii-sel: Fix register offset when parent is not a syscon node commit: 0f40d5099cd6d828fd7de6227d3eabe86016724c Best regards, -- ~Vinod