Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7438926ybi; Wed, 5 Jun 2019 18:04:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWtojNztQkCELqOcX8k2Vpmj9S4yFAaPvBHGayw/NZnnzirQ9Sp1JGkF0kYOuUSqxxCDhK X-Received: by 2002:a65:4c07:: with SMTP id u7mr670370pgq.93.1559783069780; Wed, 05 Jun 2019 18:04:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559783069; cv=none; d=google.com; s=arc-20160816; b=y8k251NIMr2YGG+emOTRhQxw3idbHgskZ2oIoLWU6IN4lOVUPjN3lBYFnnpnoLoDI4 7l+wwaiE0m8nZ5SY305AJJxYxZpXmrHg0xuef01eccVw/NcW7vZqVxGSwXThtmGfjM4L Au8hu6iAwgP4H7mZ7JFvnlAKCsha38aR/IUJym/4fCFNVFK6IpPqn5Z9KSQV3HEnRBdc 3g33Bk8wdYuYmG9iHyGr/8YBotKC1ljx31Npz/NqOK7pO559I3TEG1mRPqg4/Oys/D09 Vcy5zkeDH5vQnpHBn9B1deh6z4QvjZ/G7+d+6A7Ypugn4Gp5bYsjZmHpckUYVTutvmH3 4gOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:message-id:date:subject:cc:from :dkim-signature; bh=A3e4mWtDvoL8bXfJvxffe+5ZazlEmjOb3McggPS9Avs=; b=RwVjcjMZrVQVgawNNqeJQilmtF7jVq21io+K8bwiIVkvkUnmSkjlHmVzJt7JFJvOV7 dCo6VsoyGrWX18lEgA4Ko9yqIbDM2U7JKuG16hF/ifdjufJaiyjhtTQLEVOfkvROQ1b9 NVFW/T7xFsYsVmz0MITGFfcIGDvjoI0BpGFCJzUppKD/iGDI6XZaneekEznwn2jaikT7 5Ai2/iS8VAsdqyX6BR4t+QXoKV+Gz6NkQLV1ZLB0D+PJXI73JjME55MImd3+JpjMuq+q QbjPKCdNbbdLzg8Hu7ZOVjjd7rjvgrZ0jCXPZf6qyA5J5Eb4Jx5d/qn+k0YtpAlcnZG1 YWnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=rSnkgkj7; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p23si454876pgj.356.2019.06.05.18.04.12; Wed, 05 Jun 2019 18:04:29 -0700 (PDT) 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=fail header.i=@linaro.org header.s=google header.b=rSnkgkj7; 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=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726653AbfFFBCy (ORCPT + 99 others); Wed, 5 Jun 2019 21:02:54 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:40905 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726581AbfFFBCx (ORCPT ); Wed, 5 Jun 2019 21:02:53 -0400 Received: by mail-pg1-f195.google.com with SMTP id d30so307074pgm.7 for ; Wed, 05 Jun 2019 18:02:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=A3e4mWtDvoL8bXfJvxffe+5ZazlEmjOb3McggPS9Avs=; b=rSnkgkj7ns3K16zuZcdEi6cb801U98fio5fbEzP2UdnS/Nm4wTOFB6zXqdsagDI7z4 LKdZInQq92yZmswl5tfO9W+Ot7TtGbvsHYYvsRNld4K+vceHus2drvCDK5sr/EnAap48 g4GtCQaKr8sOBQbiOUIwaEmhT8dw6tAFE5Zl9bU2jZODV/MWMw+XqU43kP4sAhggQXnu HzsRG1Eeqy3AAIaKEKkIz5DjBc6N2VPIPFjO2rs+H4cVjaXNAHwxbteF1LHbXD0M83I9 1M9XmhZ/Nwc3zlJpnE1z/3I/eq1YZgL/j+N3qg5CNtg2ehMuN5/Jjnrtr3sIdmpa+9zE /G2A== 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; bh=A3e4mWtDvoL8bXfJvxffe+5ZazlEmjOb3McggPS9Avs=; b=dlH7hcyPo+gFqAcfZq1roNTG3gLP83V0rIOACa9G3EXmuQBbJYDqsyHVSNcXKlwfYY VRoffPyxr0Z8DW2hFph5CKmOYeL7FDMAjA25srnive/9++B+ne73OYkd1FNI5v+Aplre vzrjm9KfWt1EYS5F1bvnQofDBPoJQ5iGjJObvAWnO2goyzslyv9np8wnzg0l/hi5o9rQ FPxiY9jrvsBO8+imptorj1vGc7DFDPRBHwmPDN9f/Lrl06UobMCB0G8dtX0GROCwGXG+ qw1elnvmUO5fwiN/vb3rxPiCQu2eZiYVjMG51yCiyWcB9VEnUgzfhCgzndyG0uIStBd5 G6/A== X-Gm-Message-State: APjAAAW8PU5kUKBjphwZG1h8DcsIqKxMk0LcVy1v+0GyVT7azAhnbayO kyDBB8nhYBrqWqazDRxiJNX7aA== X-Received: by 2002:a63:eb50:: with SMTP id b16mr711499pgk.150.1559782972862; Wed, 05 Jun 2019 18:02:52 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id 144sm170856pfy.54.2019.06.05.18.02.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Jun 2019 18:02:52 -0700 (PDT) From: Bjorn Andersson Cc: Andy Gross , Linus Walleij , Rob Herring , Mark Rutland , Alim Akhtar , Avri Altman , Pedro Sousa , "James E.J. Bottomley" , "Martin K. Petersen" , Evan Green , linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: [PATCH v2 0/3] (Qualcomm) UFS device reset support Date: Wed, 5 Jun 2019 18:02:46 -0700 Message-Id: <20190606010249.3538-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 To: unlisted-recipients:; (no To-header on input) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series exposes the ufs_reset line as a gpio, adds support for ufshcd to acquire and toggle this and then adds this to SDM845 MTP. Bjorn Andersson (3): pinctrl: qcom: sdm845: Expose ufs_reset as gpio scsi: ufs: Allow resetting the UFS device arm64: dts: qcom: sdm845-mtp: Specify UFS device-reset GPIO .../bindings/pinctrl/qcom,sdm845-pinctrl.txt | 2 +- .../devicetree/bindings/ufs/ufshcd-pltfrm.txt | 2 + arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 2 + drivers/pinctrl/qcom/pinctrl-sdm845.c | 12 ++--- drivers/scsi/ufs/ufshcd.c | 44 +++++++++++++++++++ drivers/scsi/ufs/ufshcd.h | 4 ++ 6 files changed, 59 insertions(+), 7 deletions(-) -- 2.18.0