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 1FF18C38142 for ; Mon, 23 Jan 2023 13:31:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231773AbjAWNbe (ORCPT ); Mon, 23 Jan 2023 08:31:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230102AbjAWNbb (ORCPT ); Mon, 23 Jan 2023 08:31:31 -0500 Received: from mail-ed1-x533.google.com (mail-ed1-x533.google.com [IPv6:2a00:1450:4864:20::533]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 192DA22DF1 for ; Mon, 23 Jan 2023 05:31:15 -0800 (PST) Received: by mail-ed1-x533.google.com with SMTP id x10so14549920edd.10 for ; Mon, 23 Jan 2023 05:31:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-transfer-encoding:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=GkjxihmP/RRWK9VQjwwJeH+rgfGTtQy2RZ4I1GLbrDU=; b=vHSNQV/7Cvxi6YzE+tqk87TGmEcBMgLct+Terv07pZF3n71NZN6mToSwaUAOYpTCga pJy06uVoXqTFZnC/6UBpYWDt9F2xS20jLL1/fbBNf6PvUiIa2G48SkTlJ2oUujdd19i6 Bo6JAlZGxR92dinRojnEsD+8GSYo4FavkzLX/6x5a0RDgRy4e3BSoUn7F7iRbceS1dG9 t8M54LxReo40rfyoDI+fYKvpZ5adpC84aEbwymRhUVehut/facqPw2EMMGQqR6UTAe5N 2CCp0FIMYeVV25x2LKKoSid3BCYLbNMk5fi4mpN+j+FtXoV6aKoyL2FVOF2rc7YE0cFn em4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:references:cc:to:from:subject:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=GkjxihmP/RRWK9VQjwwJeH+rgfGTtQy2RZ4I1GLbrDU=; b=K8r4C2gVrQaIbnNpL86bLXk01B91vUQEFkgHBVu6KSFQW45eY4QYaXQ3IJ9brpM2mn OMBbmWtvpvkmUDIRUBJdF3Y4f5JiaG7qWfyUzWrWR6HcPIkxSEz455HAqM6lwZ60bR3A yMIUCT12XkyHzox9s8tqnMt6LP+qfevpK/NRYyy2oAoyoh4V9/oGL9DZUw2+12Ltym8H J45xbbT8MNNun7HSH+Z4fHdR7hlCV5RJiuNvxRedVY3X6YC+sayB5goZpzUm0RtSnGPb ZV+D4kF1vaeISm7/9B80VIwkNBSce+9C8Jpl0bEmmHBcETgMX+snEIdBIKiy/lHdBqjV YeZQ== X-Gm-Message-State: AFqh2kolPLV5MXJMwXrbU3eAc2xJ5NF6pExlF0SRZZlbfcfhD64v1wTm uAwNcvCOZKvQaVPA4iYK6m+W5Q== X-Google-Smtp-Source: AMrXdXs57UGIVOWJpcsAwWfrPzF3LhZYGwEOq+MGAQpt7mZGi71TkrneWPjA9V5dUxH1xnOKP3ESHw== X-Received: by 2002:a05:6402:2315:b0:49e:6a70:d9a6 with SMTP id l21-20020a056402231500b0049e6a70d9a6mr15642326eda.25.1674480673013; Mon, 23 Jan 2023 05:31:13 -0800 (PST) Received: from localhost (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id 18-20020a170906311200b0084b89c66eb5sm22003696ejx.4.2023.01.23.05.31.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 23 Jan 2023 05:31:12 -0800 (PST) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Mon, 23 Jan 2023 14:31:11 +0100 Message-Id: Subject: Re: [PATCH v3 2/3] phy: qcom-qmp-combo: Add config for SM6350 From: "Luca Weiss" To: "Johan Hovold" Cc: "Dmitry Baryshkov" , "Vinod Koul" , , <~postmarketos/upstreaming@lists.sr.ht>, , "Andy Gross" , "Bjorn Andersson" , "Konrad Dybcio" , "Kishon Vijay Abraham I" , , X-Mailer: aerc 0.14.0 References: <20221130081430.67831-2-luca.weiss@fairphone.com> In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon Jan 23, 2023 at 1:03 PM CET, Johan Hovold wrote: > On Mon, Jan 23, 2023 at 12:22:32PM +0100, Luca Weiss wrote: > > On Mon Jan 23, 2023 at 12:15 PM CET, Dmitry Baryshkov wrote: > > > > There are two SERDES regions. One used by USB part of the PHY (at=20 > > > 0x1000) and another SERDES region used for DP (at 0x2000). As Johan= =20 > > > described below, vendor kernel handles the DP regions in the DP drive= r.=20 > > > Possibly this caused a confusion on your side. > >=20 > > Ack, I think I got it now. I also see the registers used downstream > > now, e.g.: > >=20 > > techpack/display/pll/dp_pll_10nm_util.c:#define QSERDES_COM_LOCK_CMP2_M= ODE0 0x009C > >=20 > > So now .dp_serdes should be 0x2000. Do I need to change anything else > > also? I think not? > > You also need to add new dp_tx/rx pointers to the offset struct and use > those in favour of the current ones if set. I think we hashed that bit > out in one of the previous versions of this patch. Thanks for the persistent help, I've sent out v4 now, I hope that's good now and we can get this into v6.3 :) > > Johan