Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp2269022rdb; Mon, 20 Nov 2023 06:47:24 -0800 (PST) X-Google-Smtp-Source: AGHT+IFrspmw5MZr3STl6up0IvM50SxALm08pVqA8Si5WZs9C7G7JW3SCFylJd9LQko5d3C7W5fh X-Received: by 2002:a05:6a20:12c2:b0:187:f200:5e99 with SMTP id v2-20020a056a2012c200b00187f2005e99mr6794482pzg.60.1700491643811; Mon, 20 Nov 2023 06:47:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700491643; cv=none; d=google.com; s=arc-20160816; b=AVUbaXN0RtcyRSXJ8AD1z5OzFYHXtztkvHahcS6nB7J88TlpbdGuXqOxunpYV3jWzv 4xZBExPiR6XIg4kKg53L2JTIa5GzUiRfc36x0C3F/d86FbTb+izo4N78eaCTgVwm4Dr0 tLX4RSVj/9USVvgP+1RHHDqvrQ+9PtikZubvSIYNKZbT6CnDqVuIZR2WSZ/+QYP+oJRZ TBFDZA6WD4y/JqjK3CLILN1p8W553vI4Mb77amWKAL+BVJ3ZVOnHB5r7oHP6+yYCPVP4 J6u1dd2hEaZB2pM+msXylkVO0A0fx1dBE2QL29h/p3Zf1e55dEBhR7biecHMv08mqUHP 8IyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=bbe2xN3jrXdtM2/3W83hJzJ1oRyYmpO72BYg3AWtNQI=; fh=iCbyhM7/h9vzeD68ejfrz+NBF8OfUuJK/t1vwECF0SM=; b=HtDlTInhkvmU866r6mekP0ZbqckpEQPxnydkC1QBMfjwHHMcaabsHAKElfaccVSDdy mhIdCEAKDipqBzmPbGVacONEvypyNv2MYA2MgILnRSd6J54JZjwMmi4FU2R9IHTUogHL N7GLcvs0rUxWjOnXutaW2tzrdFpW6KHVlAyydlcK4om//0kt6xTGIepOJ40RF/Fe5yjy jHuvrGF78ETcOgn/bwv4yheQGjkMa732VheL7UeyC5bO4L2e4D8r0X7cMBLI3IjbI3SB oN7DMDAOPYn0OjnQ9H0i22+3c8uuXKdyN2VwE9793pEzKyXCbDJANU9ivjAMR2uHGrw/ 9nDQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id fj27-20020a056a003a1b00b006bf349fd067si8176126pfb.156.2023.11.20.06.47.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Nov 2023 06:47:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=sntech.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 7A48C80530DB; Mon, 20 Nov 2023 06:47:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230030AbjKTOqr (ORCPT + 99 others); Mon, 20 Nov 2023 09:46:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229906AbjKTOqq (ORCPT ); Mon, 20 Nov 2023 09:46:46 -0500 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 444E3C1; Mon, 20 Nov 2023 06:46:40 -0800 (PST) Received: from [194.95.143.137] (helo=phil.localnet) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r55Xp-00089h-Fo; Mon, 20 Nov 2023 15:46:37 +0100 From: Heiko Stuebner To: Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Alex Bee Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org, Alex Bee Subject: Re: [PATCH v3 1/5] phy: rockchip-inno-usb2: Split ID interrupt phy registers Date: Mon, 20 Nov 2023 15:46:36 +0100 Message-ID: <3530941.iIbC2pHGDl@phil> In-Reply-To: <20231119121340.109025-2-knaerzche@gmail.com> References: <20231119121340.109025-1-knaerzche@gmail.com> <20231119121340.109025-2-knaerzche@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Mon, 20 Nov 2023 06:47:05 -0800 (PST) Am Sonntag, 19. November 2023, 13:13:36 CET schrieb Alex Bee: > Commit 51a9b2c03dd3 ("phy: rockchip-inno-usb2: Handle ID IRQ") added ID > detection interrupt registers. However the current implementation assumes > that falling and rising edge interrupt are always enabled in registers > spanning over subsequent bits. > That is not the case for RK3128's version of the phy and this > implementation can't be used as-is, since there are bits with different > purpose in between. > > This splits up the register definitions for id_det_en, id_det_en and > id_det_clr registers in rising and falling edge variants. > It's required as preparation to support RK3128's Innosilicon usb2 phy as > well in this driver and matches pretty much to what the vendor does, so I'm > not expecting issues for other SoCs with that change. > > Signed-off-by: Alex Bee Reviewed-by: Heiko Stuebner