Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2041510imm; Thu, 9 Aug 2018 06:26:35 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwgseEEDcBws5JbMuGY6EDmKJW1+I5kbjWNJIloTIL3ISd5d0fzXFOyFZIcHzRXAIdEEPCH X-Received: by 2002:a62:cc4d:: with SMTP id a74-v6mr2442520pfg.200.1533821195592; Thu, 09 Aug 2018 06:26:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533821195; cv=none; d=google.com; s=arc-20160816; b=pGnyiVHWh9iPX0xPtwpSxeWIifxbqSdMLDnXOkmEx49abWPRG5EoTSP/64sb+eDguU FTSsLWIWys+XFrj5XgWVTi0hCB/91iaEwcFl7XgZWpODT4IjSWO8iX7KtNtNBJ9dgKJO hH2dUphDhvv+lE55xPbnPj57q4HgHTCfOn4kYDe8LdoUBQJlvnAmckH4VMp3iZTpCFNe 9x16Y461WvEQXGpHTi4zZyKM1gUBUsyw7tfJebvK/ytNaDAkP9MAVEPDw6rgFATvRhtl JNVlEdGGGkJPgoUwMTZIOwmpKIxM+uBcPermXi65x9fn4kxBiimBTISFwqszRvSQk+Tq bq8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:message-id:date:thread-index :thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=D5rQYCM0d18bPwByiibr7qVvc2viLhcmltu3Ck1g2So=; b=nzFpT0QTylq9cVRZV3naDskHHdc2AqwUQtYSVTwZ8w3Dm2GdtSv1qj/PZ8zwOyR6ka 6EHZNVu2ddCnK9qnFSL1uRtZXfYRn0wodxoIGTmsLtdckeVhWvSEVFTNYB+f2HLlwdrp ODV4WrfFZySkvKOBKQA4DAM8uGKz0eR4uuZ1LFV8OmyUpFJrU+vsgDHY3z05ybw8mAN3 ZWk7AoPO5/jXpvLsLd8PMpiAM9F2G1zQGu5xv7+2Aj84+UoIrWOQ9Yt8sOc41UDid2YC S5E5PK0tCm+Ww0j3FwlCbQBdZiI3P6So/R4SH3F2QFVSq1ETADU5vqF+oWOyVzsZiwjo ASrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@cadence.com header.s=selector1 header.b=Uv5FeoRO; 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=cadence.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u24-v6si6472246pgk.72.2018.08.09.06.26.21; Thu, 09 Aug 2018 06:26:35 -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=pass header.i=@cadence.com header.s=selector1 header.b=Uv5FeoRO; 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=cadence.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732104AbeHIPtl (ORCPT + 99 others); Thu, 9 Aug 2018 11:49:41 -0400 Received: from mail-eopbgr730055.outbound.protection.outlook.com ([40.107.73.55]:46823 "EHLO NAM05-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730419AbeHIPtl (ORCPT ); Thu, 9 Aug 2018 11:49:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cadence.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=D5rQYCM0d18bPwByiibr7qVvc2viLhcmltu3Ck1g2So=; b=Uv5FeoRO6Kk6l2EaQBukvgusBxYz2yVebCSZeEcsT+CyQgx0rwBXpwCEThZgWtaXdXODz+WYnGSXIY2uwX72dfSYATN05byVbfxoWQEyGlhI3EQDRzPn4xXglY+Be4HjYxS7avEV29fTjNgwN5WhBWNi5WNPdRNYCmrJZYG5lwM= Received: from BN7PR07MB4676.namprd07.prod.outlook.com (52.135.249.153) by BN7PR07MB5121.namprd07.prod.outlook.com (20.176.27.74) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1038.21; Thu, 9 Aug 2018 13:24:44 +0000 Received: from BN7PR07MB4676.namprd07.prod.outlook.com ([fe80::e94b:eb6e:2766:3208]) by BN7PR07MB4676.namprd07.prod.outlook.com ([fe80::e94b:eb6e:2766:3208%3]) with mapi id 15.20.1017.019; Thu, 9 Aug 2018 13:24:44 +0000 From: Janek Kotas To: "robh+dt@kernel.org" , "mark.rutland@arm.com" , "vinholikatti@gmail.com" , "jejb@linux.vnet.ibm.com" , "martin.petersen@oracle.com" CC: "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-scsi@vger.kernel.org" Subject: [PATCH v3 0/2] scsi: ufs: Add UFS platform driver and bindings for Cadence UFS Thread-Topic: [PATCH v3 0/2] scsi: ufs: Add UFS platform driver and bindings for Cadence UFS Thread-Index: AQHUL+RWfRq2hKddDki9emkp+1y3bw== Date: Thu, 9 Aug 2018 13:24:44 +0000 Message-ID: <1EAD7741-4CEF-4E23-9A3F-918F07B52E35@global.cadence.com> Accept-Language: en-US, pl-PL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=jank@cadence.com; x-originating-ip: [185.217.253.59] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BN7PR07MB5121;20:E/TTn6Bhq5mv1ggwEZ/aZGJgX8GLs7gXeEzS0gHczGtVFBi4CbL5Q3mn9IO4oP0gPvpPcNYYYj0OZ6wUc26yZgp9q5aYWC1DcZTzY44Wz+fVZP9zwPlksf1f0vanGYWEvmNv/Ofwfydbg6yPy+XgphhyDbCQ+EYyXL2+nbcUGtsUsW9GofAqDAuYbhFkfMQcqa3dhF3Wtrs4D5L/Mc97CDc+yDgFzdpPT+uZlhPXXCTZgTVZkJeRmvJAjoA9Ujx+ x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 7f4afa66-2608-4163-5da1-08d5fdfb78af x-microsoft-antispam: BCL:0;PCL:0;RULEID:(7020095)(4652040)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:BN7PR07MB5121; x-ms-traffictypediagnostic: BN7PR07MB5121: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231311)(944501410)(52105095)(93006095)(93001095)(149027)(150027)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(6072148)(201708071742011)(7699016);SRVR:BN7PR07MB5121;BCL:0;PCL:0;RULEID:;SRVR:BN7PR07MB5121; x-forefront-prvs: 0759F7A50A x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(346002)(396003)(39860400002)(366004)(376002)(136003)(36092001)(199004)(189003)(68736007)(97736004)(26005)(2201001)(83716003)(5660300001)(14454004)(33656002)(102836004)(99286004)(256004)(6506007)(66066001)(7736002)(81156014)(478600001)(81166006)(305945005)(6512007)(6486002)(86362001)(8936002)(316002)(6436002)(186003)(39060400002)(53936002)(4326008)(486006)(8676002)(110136005)(54906003)(106356001)(2501003)(2906002)(25786009)(5250100002)(105586002)(2900100001)(476003)(3846002)(6116002)(82746002)(42262002);DIR:OUT;SFP:1101;SCL:1;SRVR:BN7PR07MB5121;H:BN7PR07MB4676.namprd07.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: cadence.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: /tmMv56mSAKJDbr52eKRe9jLHdckqjQjAV6ZsMgqEGo43OvBD8FuDOO3g/+VaLAOw7g090EgEgxj1sPyFv3ZebB9dT2VbbGkoij67IUAG9nH9Lf7C9aHHWhh6udTfiwLbpOQIwy8ZbV9Gr8bgIaHWYlI6Z4zemcjmT8nSVc9kOtJkvlr+qgkp+DJDMyKzC5Admhy7xS3OT1Ji2inWn/J6NPf1aZ3GhiQKb1vEikC/FKDOOoZ/xoNmeVQi4Cp0PJbt9TqgPAQ+4+uXV8R/ybp+e5ULNam0z5Ti/SaMCXaMjA+4Q+bylOV/sxnf2Ky63ClA5nFcSHCtwVy4d85g8eJegAjGWquHWIl0HSQZ7UrZ24= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-ID: <600FC4CD23F98B49A639ADE73BC4D8A0@namprd07.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: cadence.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7f4afa66-2608-4163-5da1-08d5fdfb78af X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Aug 2018 13:24:44.3758 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: d36035c5-6ce6-4662-a3dc-e762e61ae4c9 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR07MB5121 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset adds a driver support for Cadence UFS controller. It was verified on Cadence Palladium emulation platform. Changes since V2: Updated dt bindings documentation. Changes since V1: Renamed the documentation file name to cdns,ufshc.txt. Updated interrupt and register mapping. Added license information. Added a missing PHY clock. Jan Kotas (2): dt-bindings: ufs: Add bindings for Cadence UFS scsi: ufs: Add UFS platform driver for Cadence UFS .../devicetree/bindings/ufs/cdns,ufshc.txt | 31 +++++ drivers/scsi/ufs/Kconfig | 8 ++ drivers/scsi/ufs/Makefile | 1 + drivers/scsi/ufs/cdns-pltfrm.c | 147 +++++++++++++++++= ++++ 4 files changed, 187 insertions(+) create mode 100644 Documentation/devicetree/bindings/ufs/cdns,ufshc.txt create mode 100644 drivers/scsi/ufs/cdns-pltfrm.c --=20 2.15.0