Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp5397336ima; Tue, 5 Feb 2019 11:03:52 -0800 (PST) X-Google-Smtp-Source: AHgI3IZUyLC0MLjb4nJK1qGzxLenSaLfuCJXDKulyWHFbsG74nhtKlnJwbDBF2NT0EBQrYOOCsSP X-Received: by 2002:a17:902:7896:: with SMTP id q22mr6695745pll.280.1549393432702; Tue, 05 Feb 2019 11:03:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549393432; cv=none; d=google.com; s=arc-20160816; b=HkD6anY3+7PLn666bxNKURwlwTu2V1aaUgiHWQaCQdv1ZJi5zN8I8fv24OiTNlU2Lj LE0X97tviUaGwBYCQWa5H0JF4NUmUV/MLNaYWCNA0PdSodUHkcD5JBue67+FEllgsobr dcdLslaCGvWd7mQ6TYG17p7Va7YRdwfun7kdLp2ugIa3buk1TP/1qqaihrvF4IoI+j7/ YKP2/6kqkv/K0pIAdzcbSpGMtPgVEORAzn1r/vnOt2+10C6JZudzvVW3ZHcfGw11Ca7M A3t4iJwuThw9QGxYNaWz3DokncSD5GXN5hXPjy8l+DD5HWlvtqqjvjFhmgDCjjg1+8la LtEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=T6ZkVEchsabZqxtMQeoE3ctJ4zykBlH7lRtatYFb9wo=; b=DSJZrVovPRHbVGq9qrlcsytYqFoVgXK7eSCMjJ7XJ9iaqcDhpDygAlwfsGvYZHmtyq 7kRBXf1xLl7Qbk4EdOLYaUVSizLrPszn3obbRLoIbLCLsK7kfhUW4j8VjPf6XMhH/c5G sLd/J5y33Aq4cXj9mGtY7X3VLOnoo/eXXYKQO/BL1FMolevhHCPAT0IzJj/TqkyUF91Y U2CzRiXnzctDtoHQ0oQ+9nVyLiY1SnvMTaxo8uYAG9IYfMI1cmkFI+Fc3WIVRi5J3g2d qGrhgIhpCirtRLxXPt1BJhvMi+WMtODPIOncPu8pY+TW1PSwzwi3huIYPJU0JRhIEwhV RTtw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mRTC3J+j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x9si3858230pll.131.2019.02.05.11.03.36; Tue, 05 Feb 2019 11:03:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=mRTC3J+j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729441AbfBES72 (ORCPT + 99 others); Tue, 5 Feb 2019 13:59:28 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:42996 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729356AbfBES71 (ORCPT ); Tue, 5 Feb 2019 13:59:27 -0500 Received: by mail-pl1-f195.google.com with SMTP id s1so1894190plp.9 for ; Tue, 05 Feb 2019 10:59:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=T6ZkVEchsabZqxtMQeoE3ctJ4zykBlH7lRtatYFb9wo=; b=mRTC3J+jKMLMwOF4TMLfYeTfGl7DlhlggCf4bPCgHrsdtxYV+6fS71EeyaDxdaZVd+ 8xGolxtXoz4+IC00roQHBljzgcbHnWxzW1H0Idr7UdSKk1espV/44Wxt6JBxJHkK4RZn t7UAe+3KsAn2eSb5gvpYWMgjKuPPNjJkSRvyo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=T6ZkVEchsabZqxtMQeoE3ctJ4zykBlH7lRtatYFb9wo=; b=nWyiyv1RM8phYaAfnGUbl4t9iqXbWdycvygCL8Do939B7pya4HM912s1V4qy230Fbl 3dNx9aKsS0DCNDflPY+717RP9bM+MlwP/oE/CGtGYJhjGsGRuEs2WYjzec3/XLFKfBqA 5pIaQuq27lBxbPaIvFzbrLQXpjXSDBtSPL5bcgOsRnnsMkCG5Juv80HSRwLXHD/xW6rO SSaDZkNhO3J9m6PQjqY9ddYLD4FGNHFAK++8k8SIoLx8n8bcEZWXsIYzc+hwurTprcg8 SG9t/b51ANAfRfv5ItkiDRkytWDKR3a9E6mBzddrMk9RXHda+lDUXb0tjZEt0p+pdM/J /hjw== X-Gm-Message-State: AHQUAuZr6AkhyGaozLA1pr1qPIr/dWtAorLYPr1aiASdeBNHXEUn/B+J IEhrOXuuOupMHHrzPBrjiFAm9Q== X-Received: by 2002:a17:902:108a:: with SMTP id c10mr6597175pla.131.1549393166546; Tue, 05 Feb 2019 10:59:26 -0800 (PST) Received: from evgreen2.mtv.corp.google.com ([2620:15c:202:201:ffda:7716:9afc:1301]) by smtp.gmail.com with ESMTPSA id m3sm6424435pfi.102.2019.02.05.10.59.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Feb 2019 10:59:25 -0800 (PST) From: Evan Green To: Andy Gross , Kishon Vijay Abraham I Cc: Stephen Boyd , Marc Gonzalez , Can Guo , Vivek Gautam , Douglas Anderson , Asutosh Das , Evan Green , Rob Herring , devicetree@vger.kernel.org, liwei , linux-kernel@vger.kernel.org, Subhash Jadavani , Rob Herring , "Martin K. Petersen" , Mark Rutland Subject: [PATCH v3 1/8] dt-bindings: ufs: Add #reset-cells for Qualcomm controllers Date: Tue, 5 Feb 2019 10:58:55 -0800 Message-Id: <20190205185902.106085-2-evgreen@chromium.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190205185902.106085-1-evgreen@chromium.org> References: <20190205185902.106085-1-evgreen@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable Qualcomm UFS controllers to expose the PHY reset via a reset controller. Signed-off-by: Evan Green Reviewed-by: Rob Herring Reviewed-by: Stephen Boyd --- Fixing up this aspect of it made me notice that this patch [1] hasn't landed yet. It really ought to. [1] https://lore.kernel.org/lkml/20181012213926.253765-1-dianders@chromium.org/T/#u Changes in v3: None Changes in v2: None Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt index 8cf59452c675..e2460b666ae4 100644 --- a/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt +++ b/Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt @@ -47,6 +47,8 @@ Optional properties: -lanes-per-direction : number of lanes available per direction - either 1 or 2. Note that it is assume same number of lanes is used both directions at once. If not specified, default is 2 lanes per direction. +- #reset-cells : Must be <1> for Qualcomm UFS controllers that expose + PHY reset from the UFS controller. - resets : reset node register - reset-names : describe reset node register, the "rst" corresponds to reset the whole UFS IP. @@ -76,4 +78,5 @@ Example: reset-names = "rst"; phys = <&ufsphy1>; phy-names = "ufsphy"; + #reset-cells = <1>; }; -- 2.20.1