Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp13464563rwl; Wed, 4 Jan 2023 08:30:21 -0800 (PST) X-Google-Smtp-Source: AMrXdXsXpS89DbStg6X3iD1DcfcdrbFGsQPMgOVS2h63f7BGLJvm2csbBUzcGfUJ23lhaBqxhOjZ X-Received: by 2002:a17:902:f80c:b0:189:a934:ee3e with SMTP id ix12-20020a170902f80c00b00189a934ee3emr56629781plb.62.1672849821421; Wed, 04 Jan 2023 08:30:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672849821; cv=none; d=google.com; s=arc-20160816; b=b1lRy6v9KXLhOilJi/IKO4KR8tHgRsiH23jHqBhHK0NWMKAqlZSGfpedbNtukjjVOV e/BTALVtACHqRYvyOJvyVntFuVr3dA+zi9CWILMRyXgsnEj/I0GlBGLHBrL1E+CfmXlG R55P5nOGp1llvfXRMYHm3V14bHkoIEL5D1rfqOoUFcN4xQeux9fuUMcciKqcOTddq//H AP2A1NR6Cl1cgr407L14KkquQrDZZ4J2A5J/WiTt5+J3MWw/O7bA16QEZPfyJrcINEoY du8wxPktA/r1/YqocO8qqtXMIwMxkUYRA4WjUJQRvFElFhsysLZAVqvlOrTc/YdlII/G o4hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=h2I5YiRA6XiodeS/KuVaSUs/LqOTdKAuxamOr7TO1MI=; b=OXmRewwVs12MzRMFhhPMmwSuPUK6W20g6JxGnfZ1FXuOD4MFPQ4LhaSZ4AiRK3Tcxk uUipDyYlsm+sMhjcz6nCP2GULVplV0jB7Hj6EWQwUGsFj52vVGQXnexw5PytUh24wfD/ C/SWZZVaszLM8oDxfn5v5hugTzog1BqkJcDv4T3jGD9/WZhENrAF0YKFo0voUzra9uG1 2H2SXyy7a1bExJ1ufkTZilsGtwNZmf0t3UBThtc0etwVwn79COtgSbqPA/oXQRsjqsr5 m9wfkXVKqTT+wDwC0mt2BovIjdA+a8yspQ05GpreSkVABfCfM6f1JNfDGaikn0P8NwI9 6xxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nCc9rTUg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k4-20020a6555c4000000b00477e813f416si36658878pgs.718.2023.01.04.08.30.13; Wed, 04 Jan 2023 08:30:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nCc9rTUg; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239887AbjADQRu (ORCPT + 58 others); Wed, 4 Jan 2023 11:17:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239915AbjADQRo (ORCPT ); Wed, 4 Jan 2023 11:17:44 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2957CCD2; Wed, 4 Jan 2023 08:17:43 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BC5BC617A9; Wed, 4 Jan 2023 16:17:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4AED1C433D2; Wed, 4 Jan 2023 16:17:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1672849062; bh=PXjg8l9xNNWMxJbfGxkrZ5VoCzj53LmR0NTnWk0bFOM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nCc9rTUgLcNfiEG2oQB6HMDo1nBojPYPe8espWSXK9QYcoruovIrI5On8IV8+mrd+ 2mQwDrbYEB7i4lEE2H7h8ESEqTclcLCeIde+E8zxg7mmgmVioTcea1D+UIhRZvn6+2 oVe+NxDv35pzlQhlIJ9b7h/boosEe3qvzu+5reDIBQtSIAes/O6o3VFpn/m2hyjQ3w mdH/XPAADk9HM9L/MW5R+qjwPx/IAJ0iA+9JmMnu6ROy8SVXHYMOQjUlq8d1pTIq+i /+92aLdfWNO4ZTpQfJ7ITUkK4rOi7HJrKPriSHn1nFsUTgdZOY9H8k2NPdYgqGA+/E gQzW+ePQhpXkA== Date: Wed, 4 Jan 2023 16:17:35 +0000 From: Lee Jones To: Andreas Kemnade Cc: tony@atomide.com, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Bin Liu Subject: Re: [PATCH v2] mfd: twl: fix TWL6032 phy vbus detection Message-ID: References: <20221208215723.217557-1-andreas@kemnade.info> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221208215723.217557-1-andreas@kemnade.info> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 08 Dec 2022, Andreas Kemnade wrote: > TWL6032 has a few charging registers prepended before the charging > registers the TWL6030 has. To be able to use common register defines > declare the additional registers as additional module. > At the moment this affects the access to CHARGERUSB_CTRL1 in > phy-twl6030-usb. Without this patch, it is accessing the wrong register > on TWL6032. > The consequence is that presence of Vbus is not reported. > > Cc: Bin Liu > Cc: Tony Lindgren > Signed-off-by: Andreas Kemnade > --- > Changes in v2: > - remove comment > drivers/mfd/twl-core.c | 9 ++++----- > include/linux/mfd/twl.h | 2 ++ > 2 files changed, 6 insertions(+), 5 deletions(-) Applied, thanks -- Lee Jones [李琼斯]