From patchwork Wed Apr 24 05:13:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ji Sheng Teoh X-Patchwork-Id: 791950 Received: from CHN02-SH0-obe.outbound.protection.partner.outlook.cn (mail-sh0chn02on2103.outbound.protection.partner.outlook.cn [139.219.146.103]) (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 19C3F1E868; Wed, 24 Apr 2024 05:13:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=139.219.146.103 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713935621; cv=fail; b=Zgbr53vr/U82UelIhehcKgHF861ii5nKqmNSdVFJOlk3ZmLrEbu34Nuvyq1gpwPIgFPgcp/QVd9yBsqs5gSJbArkOXrhFAumQJW0FWlPDqvT8vKHQqBfAaTQbCnDze+7EKaI6/2rl7+MI2DztPqtDk9YAZ6wWqg2Xhf56YTHPr0= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713935621; c=relaxed/simple; bh=Q148yCO2x5IVUrJI+bbwSpr/D1G+lYOWzP9Ai+MW8YA=; h=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version; b=iiYeFKP2PpXl6MMPD5eXv2wTCXMLrIae9y65m8sefdR+2nw7z0rQKpTem4MclQN68pk0BR9hc92/loVT5Ch/bhlFZx4Qu/mlsseXPPmfuRXmmiTQOnOb//bBagqZ4Ijrd/ArRDr1joTPM16r2YRtToZaxCJAnMlF8fp+TCDRnHc= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com; spf=pass smtp.mailfrom=starfivetech.com; arc=fail smtp.client-ip=139.219.146.103 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=starfivetech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=starfivetech.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MTxZIiKeV5E86rJpkJ2JvwbSgHYRXN6aF4nZCuHmhrbyS5ORuJgFcc0EBWt0CqnVszacJ5L7zW0LmBHdfiAtZqsglj25z6b/mpVbrTr1ho3NPoqdPkfMseyZYynhXrJhp25ukX59WTDyP783OImXBls3mq1RHVWkJ2WglqjLj/ejUvva0QCz833xjQVjJ98P/+GpQyi9rimrFL097ILcMuT1t2EVdPdoZclwymZlynTt1ZQJft/e9O/T4kbNIwIJlSSPaTOETI5wANFt8JK+LW06nzUeX7VjzXFDtqeuYVPxnQr5VB7byIIMBlllWmpGTO5qPQmq7BeCkta3Jc/Dzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Sa9knZs56Z1m7Hwwmcsi6o9N1FeHYOvRIxMx+x9MG7A=; b=f0+Lz5doLydCIaJanyy9eniEuA3eg+d7mDlCXQxQScMALUZGOp2aMCbK4D2A5yo4wizM4kR8Aqu+xW1ab2+Nkrv8sLJDsrSxSAXme008F4Fcj6KIfKGZeYNZoiByzFT2w097XxfYZPbOQ0jrj04F9yKzJw5hfj9G7jOr4c271V5oGAURrz54+pUw1GwppRi3UCEVtmFwFLFyuhnzick4aTg5C9ATPlKCM7iRAjSbio7pD4G7j9+AFPbFdA30oX0i5yf+3Iz7Zu8nj6n+obB0y8RfSx64+M7yc8l3lF8LCjlCWgiLbxDNnHE6E3jw2qtFiv2W9IY6zjh4o3pPWTUwRg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=starfivetech.com; dmarc=pass action=none header.from=starfivetech.com; dkim=pass header.d=starfivetech.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=starfivetech.com; Received: from ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn (2406:e500:c550:17::9) by ZQ4PR01MB1268.CHNPR01.prod.partner.outlook.cn (2406:e500:c550:16::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7472.44; Wed, 24 Apr 2024 05:13:32 +0000 Received: from ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn ([fe80::301e:ec80:4356:8b14]) by ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn ([fe80::301e:ec80:4356:8b14%6]) with mapi id 15.20.7472.044; Wed, 24 Apr 2024 05:13:32 +0000 From: Ji Sheng Teoh To: Mark Brown , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Philipp Zabel , Michal Simek Cc: Ji Sheng Teoh , Ley Foon Tan , linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/2] Add optional reset control for Cadence SPI Date: Wed, 24 Apr 2024 13:13:15 +0800 Message-ID: <20240424051317.2084059-1-jisheng.teoh@starfivetech.com> X-Mailer: git-send-email 2.43.2 X-ClientProxiedBy: NT0PR01CA0024.CHNPR01.prod.partner.outlook.cn (2406:e500:c510:c::8) To ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn (2406:e500:c550:17::9) Precedence: bulk X-Mailing-List: linux-spi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: ZQ4PR01MB1154:EE_|ZQ4PR01MB1268:EE_ X-MS-Office365-Filtering-Correlation-Id: 4d9235c5-8023-4156-fec6-08dc641d491e X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: rQTYTSmW3LeyjObv+R+GbD6jHyKOnKM0bhD052iZxcDuIcEMOf1V4CKb8rU0uHJKTQbZ+xACDhvsDMkmYVFS3r5wi5W9fmkdMW4owlPNYg9RoXTef8AKT376lliEEpBdNaWgAcvVUeLfkHhnd5oq/Upd8aq/QZAxFwnEzzRvG3olGJu7ZgXgSUZ3q9wphtfQUFaPH/nCjt0oKn2f2Xqs3NdP/nId8l83s5Nc7IUoMzKdTkT/pL+QlgdWR/XunqAJxkAWJnq1dQRnxCJTHvu8XgUEVzpHxHcRM5n1aze+fekK7jrW7SJu9+LM6t9Uoiv5NLagbtJrBopVWYaqmMYsKojzOHo3/wNzuQyJOPJtO14YlW+ebX7Y/brZeEAzuZzC4kfKJ/XbRwUUFaFabjZs2i485Dlt9f8H9LJkBuH24AtzAokiXxbBCX6BRl+EYVlMrNGV6PqZH947u0gZjJRTZp4/FsMjbgifJAA4F9DAc7t8OLRRAA5lBwAokEmUrbUO0syTyuJNz2THf2hG8YUSp6F90QQPC7aFi3FZQKq+4I2q2K8uwDV84n+/f4E0OGNICcCq3rBZfyEBmB9sByV+TOdFYq3lOjT6VbkrddF0ReWksXKWcKbv+rg7ji1whXIm X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn; PTR:; CAT:NONE; SFS:(13230031)(52116005)(1800799015)(41320700004)(366007)(38350700005); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: kztyJIAQAtMwaLf7rZ+PA3Q9IeIdg/w7G9gpvbNY1FDldNg0gjESTqjh54BVauBea/rWnykY/jl3DdgcZleLnizSTycBEGfsJKAMGZqE5I1Tp5fKhK+LOULk5YqcoyaRJzn9GbTZWdQnj5fMVbN3ankA+SoAyXDt/LnjaMK1aJKLtEoI9aK3ctr+XIMcUiask/fh2ADWjAQ6oh8Ro+OM9dmygMIz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mSRetGcP+LYEyvSzQl8MiwrfBoDEZ1f6/UY+9TQZhjccTwwScvCvXlzQjlrFKJIa0RrE9vRUkE3WuCYx9wUS1EkLiFfyeLp+jG0sQeKCGQkikKnr1A9VQ+WqKlpSC8k0ZopdIdxo+yFG6OOJT5FS2dv6IO7Ne47vvzbW/WJFTrLH8/Jc3l8MWfsjmCTb/KkgcerROhNAWHJ9rVsMYJVok/DMWktCGxzIKbuvCfpW+TIoMxS14+LSYp9NsNKo9PALkoWQc4GvUJo0vWi74oy3ugZf0S12JnZRgNoF5R3o3r94aqWyD9ECR+Yak77NjLSMhVOD/wgFw== X-OriginatorOrg: starfivetech.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4d9235c5-8023-4156-fec6-08dc641d491e X-MS-Exchange-CrossTenant-AuthSource: ZQ4PR01MB1154.CHNPR01.prod.partner.outlook.cn X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2024 05:13:32.5627 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 06fe3fa3-1221-43d3-861b-5a4ee687a85c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: eBdeguKbeSJslo3N81GkwzobCo816gesANfngIY4a+0pN493UPzIZXJIkbMtOp0z62PE1oeoNBTp90sRiVA/nPKiMWDrkpK12RuGBDIZv84= X-MS-Exchange-Transport-CrossTenantHeadersStamped: ZQ4PR01MB1268 The first patch adds optional reset control to support assertion and deassertion of reset signal to properly bring the SPI device into an operating condition. The second patch documents the optional reset control into dt-bindings. Ji Sheng Teoh (2): spi: spi-cadence: Add optional reset control support dt-bindings: spi: spi-cadence: Add optional reset control .../devicetree/bindings/spi/spi-cadence.yaml | 5 +++++ drivers/spi/spi-cadence.c | 12 ++++++++++++ 2 files changed, 17 insertions(+)