Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1967523lqp; Tue, 16 Apr 2024 03:30:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX6zBYbo/5xllH8A6cIK28X+8qJDAI4KT3Re4Jus+cr2AI8l3++ngUq2EkUd29xJLnWYJkSvMybktujyBtbRY5mJuila2qoNqdUIWq4RA== X-Google-Smtp-Source: AGHT+IH6o9vK0vp/YZlqE4QI8sFH+5rUaXojZDqdPyo1Kxx5bP7mSXhq3uDAger69yw8AbcrP5+w X-Received: by 2002:a17:902:8d8e:b0:1dd:dde1:31dc with SMTP id v14-20020a1709028d8e00b001dddde131dcmr9503320plo.26.1713263425863; Tue, 16 Apr 2024 03:30:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713263425; cv=pass; d=google.com; s=arc-20160816; b=ENMUflBDf1NvqOBZYiOGzUKCAPVhceEvGpQEtkO8jUqYifakUE7hfpEVQO+7vUZxWx p+lFNSOaYFjwO1aJuEud9meyZZS1XcZmyBME6oEyfB6tSbZJAAELocz9SlWCbVIgtEzY FDmTvtFcore/bYSp8uQ1la8TDaPhP7nKi/cOX1CfDrm9wX9VW1i15t4IKqS8Lh1u40SU t849fI9UQmr8VEuCvPk5ZCPShZaMqMUvv1asINABBgoLzAfjIH9CJI5Yak6eoznBgSUS uzzjPct2vJyDpMhHDVgMJeSk13bbqfF5emdqgWHkV3SsxOr+llJgA3p1R8SiftqLfYRg d6Hw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=CTjrCNZbBSPJIq0cHJaUgYHpJavxftBIjzydI7AEWe8=; fh=pk8NFJ8dT6OvTaQqlDSeUrSx69RQWaAsM2zv2TR/Kdw=; b=FnBMEf9oj1Z+r35NhwUkRfRsoMSma88CqmkmqN14VN5h1x9YT6Js/spjilQieewqvI TXF3IcCLJc2eqrciwoOG8TiqVJSHEI2+kvMl0fYyvxIjqjkmM+GSiJT7Dfnvl5NGT5sp fr7NDpS1WgfxPuezTOHONjcdipT6KF+yY8WzrIJyYLq65jzjsiq+brCqGoBKEbvcWzMa OPMKXDmfyZ0p66S5NvLtw48GCTNaGzykyB61M99qP5pogQoqyCQ8Qx+13QDtSMFSlDnM 5ERCT0T+AulO3jlUTUtYn+0Kulk4y72Ks5LEcrRmv2FtH/wKhvnbSBjzoVFyqLUMElJM ZzDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GTyLr1Yn; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-146627-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146627-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id m9-20020a170902db0900b001e23069f4ffsi9830493plx.291.2024.04.16.03.30.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Apr 2024 03:30:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-146627-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GTyLr1Yn; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-146627-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-146627-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BA119B226E0 for ; Tue, 16 Apr 2024 10:29:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 20F4A127B70; Tue, 16 Apr 2024 10:29:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="GTyLr1Yn" Received: from mail-oo1-f43.google.com (mail-oo1-f43.google.com [209.85.161.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6B10127B7A for ; Tue, 16 Apr 2024 10:29:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713263368; cv=none; b=AeKMKimZL4YHh7bizR0yhLIu+FqE4PB+sCTLr+7CVDQvtyF/98coZ+GI1V1A9eHfpmk+y+YyQBZfeYKUabUGxodfo2s4/AAJ3ezhi11kRbJBAQyA8npuul6Suj1AeHczy8sxuiuQP/hjAhVV5KudpKlT+V50FjGNqqEUQh49TDE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713263368; c=relaxed/simple; bh=CTjrCNZbBSPJIq0cHJaUgYHpJavxftBIjzydI7AEWe8=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=UfUtT8XmD/sgUk+cfDydaa660MEPjeE6aKK4W9Jc4pBdrTCVFjIdsu8H9NCjng6jZ+4WKTy9QTPnaVkjZp0qfL7Q23zLTEIIz62S3J7ydgjL8Bt23CvEvOCYCAVzVUGneqstTaG1XAM84NNj3nsAFA8orOJrXDexu1NJeiKLGVA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=GTyLr1Yn; arc=none smtp.client-ip=209.85.161.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-oo1-f43.google.com with SMTP id 006d021491bc7-5ac90ad396dso1485382eaf.3 for ; Tue, 16 Apr 2024 03:29:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1713263366; x=1713868166; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=CTjrCNZbBSPJIq0cHJaUgYHpJavxftBIjzydI7AEWe8=; b=GTyLr1YnIn1Gj4hf0+sXQng3qRUeoJMvoHZuVwzJ5jduu/1O2AmTbphLHLWcWZeWFq GhcFiL4zxZ/EQpHDcQskAiye3kQ7wlint+B3aExxIDldjWzh1VDNUE5aa9vvQGxalitR jA6alvyNb7mcDPwqql+ZyoSCJ8cS/Fpxj8BoE1hymp4iARnByqOVfLsuJxT+dy2mvbG4 4romHI7a4BBz4Qbz8R4WQgTGaprtTg7BWSpQoDn+nosqEQsixw3NRpeLBAZBt6gE2voo n+EO6rJz4H1YSTDrBLG9OZuNf8zC2BHS3j7Oz6mICZqHLA70vrShcgVKCu6+CVGp4c31 80+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713263366; x=1713868166; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=CTjrCNZbBSPJIq0cHJaUgYHpJavxftBIjzydI7AEWe8=; b=gj+I48zO05c41ypsf7QRIys9SWJStsMMdH8xSjHP00IVdYGZ6BnxdG74UbnUK4VT6q Cy+LqKfBqj3Y+JWKnof3XzAHvfzFSrSNtGxFa0SvtgEghAJmh8CdktPlcahh+oCgVACD iAhQt8Q5dk33BtqvNDMtvJ2VFLAQnJuGWWWkIkzOwXczZKD3Sil1TmRRACB2RoaPPcuw btlfzUE/XUyq6SkP9PmwCM3rZuruDvcDYItGWmxO5khjJmt9tU5ySSiquLGYukuWO0uO ifrkUm8o7LeM/NO8jn2RM+OwhsuS4TXoNHbESDlomgbF8TOnPzT6EPE+WXaupsp3ieEW Nt1Q== X-Forwarded-Encrypted: i=1; AJvYcCU83CgnxGRszCSCt27w4FHDJyCUtqgbLwIdXwOx0SNAjlE1Qt6klmZICNuts7gnOJXSeyR0uXPtm7PjoWUD0R7QElvGd1UjXWoQRSeN X-Gm-Message-State: AOJu0YyRMfN9ACzLn48gZ7lX/WlXRWmAt5inDlBTwS8anTSaGZ2SIh8h 5DTRt2Y2y92mzjpkbc4xl2RovMqwFui7wXd6nvSIbDyhlhfqHgVX3VLtrTcJPw2UqBkjd3qPfBs mvCYAam4aOpYjXJ80GPisHNSmdW/nU7+J7GwIbg== X-Received: by 2002:a4a:98d1:0:b0:5ac:9f37:3ef4 with SMTP id b17-20020a4a98d1000000b005ac9f373ef4mr5487329ooj.4.1713263365969; Tue, 16 Apr 2024 03:29:25 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240404122559.898930-1-peter.griffin@linaro.org> <04d401da898e$fd57ec10$f807c430$@samsung.com> In-Reply-To: <04d401da898e$fd57ec10$f807c430$@samsung.com> From: Peter Griffin Date: Tue, 16 Apr 2024 11:29:15 +0100 Message-ID: Subject: Re: [PATCH 00/17] HSI2, UFS & UFS phy support for Tensor GS101 To: Alim Akhtar Cc: mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, vkoul@kernel.org, kishon@kernel.org, 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, 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 Content-Type: text/plain; charset="UTF-8" Hi Alim, Thanks for your review feedback. On Mon, 8 Apr 2024 at 09:30, Alim Akhtar wrote: > > Hi Peter > > > -----Original Message----- > > From: Peter Griffin > > Sent: Thursday, April 4, 2024 5:56 PM > > To: 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; Peter Griffin > > Subject: [PATCH 00/17] HSI2, UFS & UFS phy support for Tensor GS101 > > > > Hi folks, > > > > > > Question > > ======== > > > > Currently the link comes up in Gear 3 due to ufshcd_init_host_params() > > host_params initialisation. If I update that to use UFS_HS_G4 for > negotiation > > then the link come up in Gear 4. I propose (in a future patch) to use VER > > register offset 0x8 to determine whether to set G4 capability or not (if > major > > version is >= 3). > > > > The bitfield of VER register in gs101 docs is > > > > RSVD [31:16] Reserved > > MJR [15:8] Major version number > > MNR [7:4] Minor version number > > VS [3:0] Version Suffix > > > > Can anyone confirm if other Exynos platforms supported by this driver have > > the same register, and if it conforms to the bitfield described above? > > > > VER (offset 0x8) is standard UFS HCI spec, so all vendor need to have this > (unless something really wrong with the HW) > Yes, Exynos and FSD SoC has these bitfield implemented. Thanks for confirming! I will look to propose something once this series is merged. Peter.