From patchwork Tue Dec 8 04:55:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yash Shah X-Patchwork-Id: 340746 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3F642C19437 for ; Tue, 8 Dec 2020 04:57:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 158F923A5E for ; Tue, 8 Dec 2020 04:57:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726063AbgLHE5S (ORCPT ); Mon, 7 Dec 2020 23:57:18 -0500 Received: from mail-mw2nam10on2078.outbound.protection.outlook.com ([40.107.94.78]:21740 "EHLO NAM10-MW2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727245AbgLHE5R (ORCPT ); Mon, 7 Dec 2020 23:57:17 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KEVzl+buGruSG+/qRc+V4HYAzkyNp6RFR76KfxYrwjjLG+A1sJhmA2c/21OFX2aRg7u2ZqQTjqeI92Zrw5Ylh6Ku7xdAqJ7K96ZTJVbg2Ve1396FNoagElmB4G2eW7ZQtcQM+bf8lRrInvlRyKrryXGIwtvs8a6y9VV6p3cv+sjtw9+J7lywg1AMQOXMuMqv27JdBHhDmAzXDgNlYqjGoxH/k53/J0elExZyUyyZiKxjXyjuEjmJNHFHR9tZOY3trgAIWsXXSO0M0qb0hWVp/M/O6oOH9yMoREzujiLkGK4cgpNv6hI0sz1IMGp8F4PS5uAassxqlk/Zzk8iDGjspA== 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-SenderADCheck; bh=N79OTZrrmmNuvMV8VCNul+2BOseccZypgFYJqQlM50w=; b=dl7Y4oA8Q0MzOf3L+no/SLkIzyUipWjP3REPj3dlg6cFq9kCl149dXnzWTk8YrWLSMbdSbtjY7eGvOAAtxxmieCbABIcFcv720d3StiLnqiiJm7aQpMXK+Vu8LufPEg2aEDLo9UQsehXl0cXnCmT9wHxWuy5+L/JUQxHk/SeifGlURwpHmHW83TLGFO5kwppqmOq094CqxBhrwm/mQnv64Sb2QliKgIjDNkBYBh1JfbyHq+cmwKp1rMoT1V1GuYQy2cPhaqRF/d2E49RJ1Iqwu+H0pGvhhduO+HUxWdHZ03pG9XiyKluQhv+3mUKJ7/dILy60GK+1oKrO+kXtSGtuQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=openfive.com; dmarc=pass action=none header.from=sifive.com; dkim=pass header.d=sifive.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=N79OTZrrmmNuvMV8VCNul+2BOseccZypgFYJqQlM50w=; b=fjXprMmT8EpFYPd3i4RThveHcVS0+u6wMFP0Wdi7zse5sw1YWDf3DHTS3E4Mm90FNgeAqWfDxkvjWL0wIR/WpMxNkGVoTHz4czd5Jg1yhcwbpfbbhqWHnJRhDZxnE/EDXZn8vBy5AdoCcj3Qh81C1tkOPhA3ztS4/Pk6NUvCIbI= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=sifive.com; Received: from BY5PR13MB4453.namprd13.prod.outlook.com (2603:10b6:a03:1d1::19) by BY5PR13MB3745.namprd13.prod.outlook.com (2603:10b6:a03:22e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.7; Tue, 8 Dec 2020 04:56:15 +0000 Received: from BY5PR13MB4453.namprd13.prod.outlook.com ([fe80::7c13:1ac6:9f2a:5eae]) by BY5PR13MB4453.namprd13.prod.outlook.com ([fe80::7c13:1ac6:9f2a:5eae%8]) with mapi id 15.20.3654.012; Tue, 8 Dec 2020 04:56:15 +0000 From: Yash Shah To: linux-spi@vger.kernel.org, linux-serial@vger.kernel.org, linux-pwm@vger.kernel.org, linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org Cc: broonie@kernel.org, gregkh@linuxfoundation.org, aou@eecs.berkeley.edu, lee.jones@linaro.org, u.kleine-koenig@pengutronix.de, thierry.reding@gmail.com, andrew@lunn.ch, peter@korsgaard.com, paul.walmsley@sifive.com, palmer@dabbelt.com, robh+dt@kernel.org, bgolaszewski@baylibre.com, linus.walleij@linaro.org, Yash Shah Subject: [PATCH v2 2/9] dt-bindings: spi: Update DT binding docs to support SiFive FU740 SoC Date: Tue, 8 Dec 2020 10:25:34 +0530 Message-Id: <1607403341-57214-3-git-send-email-yash.shah@sifive.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1607403341-57214-1-git-send-email-yash.shah@sifive.com> References: <1607403341-57214-1-git-send-email-yash.shah@sifive.com> X-Originating-IP: [159.117.144.156] X-ClientProxiedBy: PN1PR0101CA0041.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::27) To BY5PR13MB4453.namprd13.prod.outlook.com (2603:10b6:a03:1d1::19) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from osubuntu003.open-silicon.com (159.117.144.156) by PN1PR0101CA0041.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17 via Frontend Transport; Tue, 8 Dec 2020 04:56:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: cdbb8064-7d22-4259-3c3c-08d89b3597fd X-MS-TrafficTypeDiagnostic: BY5PR13MB3745: X-LD-Processed: 22f88e9d-ae0d-4ed9-b984-cdc9be1529f1,ExtAddr X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yI/MrqYCDO1ZvS9lEopau7oJn9xQ93MDNTxVzgtzwi2QhrhT3icF3oX5WNlxQJpsJswS2+fxXVXccMNkgDTWKZbFFYVFlITcgsSjN9yDZOUksB+xUFw6GK7HMFz7OpToccHWL6fvnCPU/5XgmhLi7w9508dwEQVU7pOEaA+MKL1bkulmQuXr0J6Vd3NFpZONBqAq+obJ3D+9jmI47zCsIHRQhWBi3jdqIFBSXu33iArR7bVUDlgV91oN146yxDnImBF2pEOg0zo8EH0uqAT7dVO8Mhps0ZOfdSkizq5hHA5z+yzsYQ+yEpzi14joRhqO0DlrO9ZhuoZADkoGqB3AfA== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR13MB4453.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(6029001)(366004)(376002)(396003)(39850400004)(136003)(346002)(4326008)(6666004)(6506007)(956004)(16526019)(66556008)(66476007)(7416002)(42882007)(2616005)(6486002)(26005)(478600001)(186003)(316002)(44832011)(36756003)(8936002)(83380400001)(66946007)(6512007)(107886003)(5660300002)(83170400001)(2906002)(52116002)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: gFYK+Ti7UwHCFaT3Eti8Y3v6wDoJ8M9lvYBKOaNVZSGGc3ipzoasLsXjP95ntFLkEQin0ctII69ZHQbNm7y3mKhFGvdP7vwW4eJmR2EeOCIWsph0fVvKeQyJKMZNsQnwVDvUlFZ7ihGDJ2IV4JcxwHaiWS4CeWMPrSvGQuSm+BR7MXCggwke8URYKw9hGmsbvd7Lm7PpnDMHNyjCu60m0nzLSfF1M/EwyMxr2aMLgH3yzRELWucE7KXKLNe7RUUlhmPDYM2+YtiRkSwFvM/lFQ9obdf6SYDSv+WVtJZZ/EdSmRkphsAsQMM7817yI0uIypJSJt89KY29a7qOWACVQ0srziCxOUfMigkgEkWHjZg4xbQ3GU8X9bkQSdYN8wFihCvAg4Oxw1zC2l7fT4vxCuM5Nj56eMVYxqJR3Ld8UlEzcymA2p/8Y1Pp1T0SfUYxB2JqJYimJeh85otCUtWNjHiYL5UOa0f5E4vevw3k79P/4xDCswvdjXFlQCQMYLVMStK0Xu30DBE/2W5I44YuxDhWH7JknVn3Tcdpto2GssuBJcLvzKByL+ajhAPEnPgEuhJO7V/WrxbllEwYhVKv0UX3z6GYfEpWuwOXv3+m9tuRKgzHg6PE2oBgyaHyp/OpM3PyW9QovChvsTfu+eBmKLLXkGx8yXgnQPJVaDZD8+cAHqKizMb4+TbVawLYgRsT0f1lsfEX2EXil7/CkUij8uPVDAES21jWqA7JyY7/ftc0BEnrV18FAZOAfj53W5vD3V1VMWTpSVRQrprn8bIj/DSVorilCZr5zNh7H7lej5iinrrUpzKe+2OdJalwLbv2xlzDpifGEpIXs7cYnlvFAgNCV7Tu3UDwVofQy9JwCJYcGLUcp+eNDXoXkyqE+yDwelVoGYwmDiYUxVZ8plEZnuH985BnTU18cX7rlVZkNZTbObaaA2/sIjwYAwqGjiHfRs2fOMA9P4jwQkYJx+W5i0PYC0afmKd+Jtph9bgXDNsAajCQ3syz6XOYQp40ylNZ X-OriginatorOrg: sifive.com X-MS-Exchange-CrossTenant-AuthSource: BY5PR13MB4453.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Dec 2020 04:56:15.6939 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 22f88e9d-ae0d-4ed9-b984-cdc9be1529f1 X-MS-Exchange-CrossTenant-Network-Message-Id: cdbb8064-7d22-4259-3c3c-08d89b3597fd X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: S4mCiekn6ZkE3tvpU0Sh7wQNCKRqF1PQLVzazc+ihMzX+5SWpzb2F7tw2RUNVF6miepl5ePe19EMvXEtGLqyUA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR13MB3745 Precedence: bulk List-ID: X-Mailing-List: linux-serial@vger.kernel.org Add new compatible strings to the DT binding documents to support SiFive FU740-C000. Signed-off-by: Yash Shah --- Documentation/devicetree/bindings/spi/spi-sifive.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documentation/devicetree/bindings/spi/spi-sifive.yaml b/Documentation/devicetree/bindings/spi/spi-sifive.yaml index 56dcf1d..6e7e394 100644 --- a/Documentation/devicetree/bindings/spi/spi-sifive.yaml +++ b/Documentation/devicetree/bindings/spi/spi-sifive.yaml @@ -17,15 +17,17 @@ allOf: properties: compatible: items: - - const: sifive,fu540-c000-spi + - enum: + - sifive,fu540-c000-spi + - sifive,fu740-c000-spi - const: sifive,spi0 description: Should be "sifive,-spi" and "sifive,spi". Supported compatible strings are - - "sifive,fu540-c000-spi" for the SiFive SPI v0 as integrated - onto the SiFive FU540 chip, and "sifive,spi0" for the SiFive - SPI v0 IP block with no chip integration tweaks. + "sifive,fu540-c000-spi" and "sifive,fu740-c000-spi" for the SiFive SPI v0 + as integrated onto the SiFive FU540 and FU740 chip resp, and "sifive,spi0" + for the SiFive SPI v0 IP block with no chip integration tweaks. Please refer to sifive-blocks-ip-versioning.txt for details SPI RTL that corresponds to the IP block version numbers can be found here -