Received: by 2002:ab2:7a55:0:b0:1f4:4a7d:290d with SMTP id u21csp537953lqp; Fri, 5 Apr 2024 00:57:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUzNkq+JnJX+AmGSFSVEu/uFmgChUW+dSQ12qHAI4PvfmPeLm1KC/sXFROVZKMorRavWEVQzYEP2MHJI/Jj99wrBLavAju5FEBlV3S3fg== X-Google-Smtp-Source: AGHT+IFl+VhVtaX/1VVn8W69j2YADZNxobzahFP2rpc2410csP6GfhxAkWWR8eB7Tyl4wcLlnwhy X-Received: by 2002:a50:9ea6:0:b0:566:2aff:2d38 with SMTP id a35-20020a509ea6000000b005662aff2d38mr550506edf.26.1712303855621; Fri, 05 Apr 2024 00:57:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712303855; cv=pass; d=google.com; s=arc-20160816; b=ek4+0a5HMHldfjSjsMLeQxAXWVx30R86W+QsXuV/ytw+hZ8D5wfOgdv51tzNmM2Y2j WuI1xT5q5M2PCFVzXIGzY1vZ/KVLEGWvfB9zSGkGKVfPc0ymKm8KbDk8yQtwmY4XBeH6 BXaUP/wVpQ3GZ1Sod/YV0OOu2oK1P5k4aZxbocBSIxa9sAgzDxx6RiDN5/s5jLaVaFpX HSCBhcJd44Iuy7BDrIdqPYgAnVvCBpSaItHPt5vsu80Emuhs41r8D4RFEcLstJ0rlxBc f9tj9AoQYkQTrbe0XufuxS5EHWYzvnDTm2dxrEoGOZyQRHprdY0epj5/dSSWAkgbVZ7r ZJMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=VXTRHXAuYk0uJRIcQfrBOfh54yxZZILDlJesYQg5I5s=; fh=A1mYTIWcsDexD726i8yme8ic3h6eGrh/9Rg+DKaRdEo=; b=yXkMX4MVTLL4m3nZ6RId7rH2Egqs2rWgGn1n1aTcXKnwXNg15g+eRI23hgxNukg/ra YhbXt7+vmlyJyBdgiiF6okRXJbwfZ7Pn1PdBhwi8il4RgvdBjpsTDpvembSsiaS1qI7z cqmI1JzePyhvPW9J7oFMXiFJZI1cX4t1tHnPDuSAo/TwiWs/9YlK1NvcTiL2R/l9pa2V RB8My8uDPOlIgOQl8yWsdQZz86dIdZQzT5W+2QCULwtZeKmMekHKhEDfycxbgKlFGtbM pFZq1D8xz4SjJ0hm3R+Uzr+le8x3oT5u8FaG/W7n7otJ18iKVz9FTERgFazFigyo3qYl aFew==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YZnYtHhy; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-132605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132605-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a19-20020a05640213d300b0056e357118a0si3834edx.535.2024.04.05.00.57.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 00:57:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-132605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YZnYtHhy; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-132605-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-132605-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 5CE181F2185B for ; Fri, 5 Apr 2024 07:57:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CBF43143876; Fri, 5 Apr 2024 07:57:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YZnYtHhy" 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 C88B714290C; Fri, 5 Apr 2024 07:57:03 +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=1712303823; cv=none; b=p60sVtClb9F2s2vRdxT1o4sAcdCK7bIJ2xizPUGqMQOWFAbXL2DKaCaN27jCM6Cc0bEJ1huLUDo+c/Uv91usmVZOost/iw72YCBHTmlVNdpobjCpqzXGCaw31CMwniPM0Io26OhLp9KVXbEDPA8s7BrekRN5wWni6Jy9WG+yBxs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712303823; c=relaxed/simple; bh=33wFx3NkD4cy+uyEswkMiyavXJ0x0BjDGcMLOKy8nGk=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=HfT9Ozk6RGFwQjUdwVOrpkelmmoIao/JlAzEdM9cqVIuddrz876vW5/nAAADHfmLGURK1KYCg1v05iw1wOFlcRxcxwx8bKqugTJbqG78/98jz3Tr+eImuVay4h3o4gl/eadF/4GtlTANeDqJAXcPVhaId1rqI6VWwuwwfmYIyG0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YZnYtHhy; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2E649C433C7; Fri, 5 Apr 2024 07:56:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712303823; bh=33wFx3NkD4cy+uyEswkMiyavXJ0x0BjDGcMLOKy8nGk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=YZnYtHhyVvxCy6lfsRe3qGaptJiDkHysPaiao2gil6amh7xrIv1XWvpfp36beZO0e 2UGp5336jfJKbU15WyCxOo1IZXg6dUmuV+7K2xEw2MS54Kmnb18Ui1Gq7qjNjT0enw fjtOihOt86YiYaX7inPOS7Bpt12C3cM/JLbJnRhsZ58hSiqS0WEwpSxTOZexwYtOhz 8mtc5eZ266MLmW/k5GUUxhpfCFsKcA4Vxk5Ba/9UYGjbbylBVPD2XyqynJD2KrWviu 04YEkVKkTW8xID0e41B/oJHXhxXBWyq4WzddbmflilfRDsyY8xA9xIGYuPZtMtMYW1 jYduPs+RN4WJQ== Message-ID: <9cc2e219-e720-48fd-9b27-69e99ddaa6b3@kernel.org> Date: Fri, 5 Apr 2024 09:56:50 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 10/17] phy: samsung-ufs: ufs: Add SoC callbacks for calibration and clk data recovery To: Peter Griffin , mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, vkoul@kernel.org, kishon@kernel.org, alim.akhtar@samsung.com, avri.altman@wdc.com, bvanassche@acm.org, s.nawrocki@samsung.com, cw00.choi@samsung.com, jejb@linux.ibm.com, martin.petersen@oracle.com, chanho61.park@samsung.com, ebiggers@kernel.org Cc: linux-scsi@vger.kernel.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org, linux-clk@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, tudor.ambarus@linaro.org, andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.com References: <20240404122559.898930-1-peter.griffin@linaro.org> <20240404122559.898930-11-peter.griffin@linaro.org> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFU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uZwJCLykjad45hsWcOGk3OcaAGQS6NDlfhM6O9aYNwGL6tGt/6BkRikNOs7VDEa4/HlbaSJo 7FgndGw1kWmkeL6oQh7wBvYll2buKod4qYntmNKEicoHGU+x91Gcan8mCoqhJkbqrL7+nXG2 5Q/GS5M9RFWS+nYyJh+c3OcfKqVcZQNANItt7+ULzdNJuhvTRRdC3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <20240404122559.898930-11-peter.griffin@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 04/04/2024 14:25, Peter Griffin wrote: > Some SoCs like gs101 don't fit in well with the existing pll lock and > clock data recovery (CDR) callback used by existing exynos platforms. > > Allow SoCs to specifify and implement their own calibration and CDR > functions that can be called by the generic samsung phy code. > > Signed-off-by: Peter Griffin > --- Acked-by: Krzysztof Kozlowski Best regards, Krzysztof