Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp327326rdh; Wed, 7 Feb 2024 06:06:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWE7zUYbYA5R5AHPSz6WK9bZCcfim4dl6+cSLSbqSADiSMfvMitpPwrr+04gfCMD9leSqwWE4NTYPLpCch66rgDsr/UYHAci51LzoAsig== X-Google-Smtp-Source: AGHT+IFzFx7EqP5BNKLD+cIbIu/8DGcAzsX69TD5mNF5Pz3N+QcJZrr3CQlhiiuDEZ0NlSQB48Pn X-Received: by 2002:a17:906:1987:b0:a35:fbc4:4c20 with SMTP id g7-20020a170906198700b00a35fbc44c20mr3797630ejd.6.1707314809578; Wed, 07 Feb 2024 06:06:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707314809; cv=pass; d=google.com; s=arc-20160816; b=cby2XBeJrF8PSzP8GTQEIizKoqJCd1NJrD7wNe8WXimZrZ9XfFrzM3GCaEKn8Y0W67 rB8LT/drCVnprmC3p8FxqtWfSdmklEPfd7vs+nf/ogSlX+FuRPX9nYcBI+WyeIeMHbfY gBw9W74nK5PBBl7GpjJPuPrqFgF0iAoOreLwDMC6QyakslkztTc8T2QXCWs0G9oDVUNY 0ZHBt4jerwW9zk2pIXvaoxEnzsIv4ArigL+5+kRhbcNbUsD4Lt3cdbhisC/iWb+80jqy i8jGeJ7ckqpYk26dQACXXfhuHLd9dxIceIsdbiStBqWqsPtxOLHo1MOfBMLXTbqbOEec Q3FQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gHQ5CM2eHdftwLIrpqn6Q53mqeKkUqjOzMFpIKguNRA=; fh=AtTZsGLJMWWekAJKi+FnrX60/4nTavcH+5PIDx00Cg0=; b=yzc7c/C8lfghqnroH3uXifUGsV1Rl5RPxNcouSvYm3ynZLOeHHqJ3ZVeNkyd9d7zzc KLeiWYssrw9MLOfsZ5DDKd4KoI46XvLWYZRaKRVXlfKYim4WcMTPlVWbA4cMuTmXCKlU SgYUQ3o9q2YcErfGlzZ16JOGzO08POhwtSm8RRRhrKza8n7kECBwLTkz6W10MXlpInY+ nd93Wrq5ey+TwlyyYF86HrBbjh+gImN4Ldwt2HTNFEJK7TniLDlDzoZboChuDaAQqKkX jkgxrjxUZD3tz5QZ+oBeST6ngyAeTt0FtfRjmiy8QtYZ0zsDgFjpzqIPyjloqrSmk5Ku S3ig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IV6HDBHa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-56596-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56596-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCVIEHm99WogDXEKBqSZt6/DGH4HUI5b8obK3H6TMQ4WFLDv721ws4+XcPQYwt15elogYM3cDUIjd2BG+zB2xu0KOaBlxzBlFmx9rCXwdA== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id t23-20020a1709064f1700b00a3837d4d5d7si999922eju.312.2024.02.07.06.06.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 06:06:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56596-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IV6HDBHa; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-56596-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56596-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 504F31F2438C for ; Wed, 7 Feb 2024 14:06:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 45EDD7AE60; Wed, 7 Feb 2024 14:06:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IV6HDBHa" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 60EDA7C088; Wed, 7 Feb 2024 14:06:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707314801; cv=none; b=WP3HrCCQDclCRIuug6/nUu0z6cV++PMvrQ22sEmM+TY8nPhu2EsP9vWPtfSLOzVYfCIFZjJ5hjnitrUTimvRsm1oDGiwjzOvUPQusuvKXThEuNZVjKBODjQq256KVNGxBRwo4lNVHIzq683Z6XHh94BRY5oV+7FPCggb75ViABo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707314801; c=relaxed/simple; bh=ZZh2zTyS9CP/+FQ/BuELNpqH1LEwwITFg2cvWsaj4Zg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=rL693QFCAvgs+NDTmcSkXNVQb1TuJ7m6QqtyV0Evz4dkK55n4svDmWRIC0QCzuXHfL+ncvzAzwMlMj4z60KR9gUUKYenJRXRoR32d9mkx9Lki0h90z3ggTbwlTJyhteBgCMMD2xP8zr8nvRYjrlS1BCF0Hkjdfb06HTN4iKQdm8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IV6HDBHa; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5518BC433C7; Wed, 7 Feb 2024 14:06:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707314800; bh=ZZh2zTyS9CP/+FQ/BuELNpqH1LEwwITFg2cvWsaj4Zg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IV6HDBHac8FFIrL3H75dbmU7s5Cb6moJ+VkCQLwuVuDS4Fwhp498+Ux4j+8Kx226D +qY4jSwCtZ/D4cwV9kkvxql+cSTOV8vroWLaHBihJicKmifkf8CjyGVBERD6iOxZgo t9snGvsmHq6eX8mqcSbirEf6a7OPzL8aSj0yooJ5FcnTxS4oezRCw5nRndXL3wnNB7 W3uhFfNGjGt4WO+CHGzKy5YA36h2d7hnKXzkd4wrfWVBOvv4CPAR+ypTNpl31pS2hj aft8nAneOjptcLMWQO/v+SB0ZuiOHfly7b93WJhWaGzGZkF0EOkbrzOqLwkzFJ3t8i E6yfcU/DCrKlQ== Date: Wed, 7 Feb 2024 15:06:37 +0100 From: Vinod Koul To: Cristian Ciocaltea Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Johan Jonker , Sebastian Reichel , Sascha Hauer , Andy Yan , Kishon Vijay Abraham I , Philipp Zabel , Algea Cao , 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, kernel@collabora.com Subject: Re: [PATCH v2 2/2] phy: rockchip: Add Samsung HDMI/eDP Combo PHY driver Message-ID: References: <20240205-phy-hdptx-v2-0-a7150814c047@collabora.com> <20240205-phy-hdptx-v2-2-a7150814c047@collabora.com> <374f5069-9f3d-4ad2-a6da-b38a143a0c99@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <374f5069-9f3d-4ad2-a6da-b38a143a0c99@collabora.com> On 07-02-24, 14:39, Cristian Ciocaltea wrote: > On 2/7/24 12:16, Vinod Koul wrote: > > On 05-02-24, 13:24, Cristian Ciocaltea wrote: > >> +static u8 hdptx_grf_read(struct rockchip_hdptx_phy *hdptx, u32 reg) > >> +{ > >> + u32 val; > >> + > >> + regmap_read(hdptx->grf, reg, &val); > >> + > >> + return val; > >> +} > > > > why use wrappers, why not call regmap_ apis directly > > Agree, no real benefit, will drop them, except probably > hdptx_multi_reg_write() for the extra savings. That one is fine as there is good logic on the helper > So I'd keep using that one if there's no strong reason against. ok -- ~Vinod