From patchwork Sat Jun 1 07:07:16 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 10971191 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A0D876C5 for ; Sat, 1 Jun 2019 07:07:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 914BB28BCD for ; Sat, 1 Jun 2019 07:07:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8556728D61; Sat, 1 Jun 2019 07:07:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CDEAF28BCD for ; Sat, 1 Jun 2019 07:07:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=XJWk3G7Qx8p3IqnElYiUFRNsSOpbU59NKblKnQuoruI=; b=mv+iC8zg0m/8jK aTspec7CZOd6GxPidrQbB/FbP7XJuIGYKo6auqQ/A0367AMfCJoocpV9LrfHXtgWIHTDUI/kTTwXK dsbg+IWZpVF2uvIxI2IjtFu0/zkSg2Gk4BLmKZlZwsWE1ebE0cgWeb6VopRRfLiJyPvVWIznWgKDY b1NTvtRHzH7jsJhBXe3rUwFu3VdHAUFBFT6+tAO/beFCAHmWGY5+x0HYjajKcj6mOhb9lDhkfFkYA LcLUGpzub0QOA+ZhSiNIvGNOcGJl9uxXaqgpVvaznhwr4JcbbuQWZDP1KmbGp4xzJRgKlDo9Qpy2s 89IN0AeASiqA6Xo+c8tA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hWy79-00024K-Mg; Sat, 01 Jun 2019 07:07:39 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hWy71-0001vx-Cn for linux-arm-kernel@lists.infradead.org; Sat, 01 Jun 2019 07:07:33 +0000 Received: by mail-wr1-x442.google.com with SMTP id h1so7872451wro.4 for ; Sat, 01 Jun 2019 00:07:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=K0CSuChjUZ2dt5vxKaxZLuqnfriivl17ufNwPPlIjqU=; b=mFcOgLijA/T2qQ9lKLfEvyIJMWjvmtP+ojGIqAt3gFFOuA6O1wf8bdZNjH1J/Xq5pQ EHgHiCDyjLrnRX0nthUcHhKhT5ugBDaV6Svt0qXc6kzWs7IB3NPqfNHhoCgvo5Pni+xN MxpWou0qpCWO5wPUTocShVh0RSzEka+qOHp50k5a20zHqbPfAalfz2ARbK1rxNb/SiY4 UXxeM5V2B04kOCWPM3Z0xcaomwAN15VVMQAh6MQ9ztK5/Z6T6HALCcr4qnzhxYw0qR6m HUrKy2scg5LHj2MXhlxBw8eWyDzfAyCkOW/Juf0zavFIVXMvUO/L5Wb8m4hZKRxT8p+/ /YAg== 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=K0CSuChjUZ2dt5vxKaxZLuqnfriivl17ufNwPPlIjqU=; b=SnfynS+HA9ezqUSGC2Ws0C5QbG3H8h4p2xMds9bErOTModIpoTVVe5610e79HCnlDa IHs+CJcy8YLDdTuyLL0Mlq3jM+PmJQTw/yqZlIH57BBEidFAj2N1xZpD0rAoucZuL4Nz eQDe+4C5U+eBrzyQYaDnusfxaCzdn/5/xtR6aX7mxQ3T+tmLpZ4GSfxQZyvKFIY3mLa+ /RmgKUydn0gh29pArPiV5V2+ZgT4+VoXiBypb70rjb0QVmn1B38qfbiUUrBYkxIhs/iz 4g+ktQ43NJoUGCYsrjLBv+d+lVQgv5sQpziIW8MxRtOJE01f8a+xOrvip1JW8SiIhGqY Kwew== X-Gm-Message-State: APjAAAUR9rTZjhWbbTFTBQaDobh12gji34QNHsBKMEYF9/0YtFjjajD3 NSONtDez+N4VTX5JCfPOiCE= X-Google-Smtp-Source: APXvYqykAVBSDvAGzBbYBaAVXBT2T31urQMO2nwOW+KwGhkdT7S/27ni+Z6LhFgQ+5RZbC4DUmiq+A== X-Received: by 2002:adf:f6c4:: with SMTP id y4mr9073889wrp.37.1559372848519; Sat, 01 Jun 2019 00:07:28 -0700 (PDT) Received: from morpheus.roving-it.com.com (2.e.6.5.c.a.a.1.a.8.0.3.1.e.3.c.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681:c3e1:308a:1aac:56e2]) by smtp.googlemail.com with ESMTPSA id h8sm19008382wmf.5.2019.06.01.00.07.27 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 01 Jun 2019 00:07:27 -0700 (PDT) From: Peter Robinson To: Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/3] arm: imx6sx: udoo: Use the correct style for SPDX License Identifier Date: Sat, 1 Jun 2019 08:07:16 +0100 Message-Id: <20190601070718.26971-2-pbrobinson@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190601070718.26971-1-pbrobinson@gmail.com> References: <20190601070718.26971-1-pbrobinson@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190601_000731_450386_54B0A8A1 X-CRM114-Status: GOOD ( 17.11 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Robinson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Use the SPDX License Identifier for GPL-2.0+ OR X11 Signed-off-by: Peter Robinson Reviewed-by: Fabio Estevam --- arch/arm/boot/dts/imx6sx-udoo-neo-basic.dts | 39 +------------------ .../arm/boot/dts/imx6sx-udoo-neo-extended.dts | 39 +------------------ arch/arm/boot/dts/imx6sx-udoo-neo-full.dts | 39 +------------------ arch/arm/boot/dts/imx6sx-udoo-neo.dtsi | 39 +------------------ 4 files changed, 4 insertions(+), 152 deletions(-) diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo-basic.dts b/arch/arm/boot/dts/imx6sx-udoo-neo-basic.dts index db0feb9b9f5d..b6fbceaf6889 100644 --- a/arch/arm/boot/dts/imx6sx-udoo-neo-basic.dts +++ b/arch/arm/boot/dts/imx6sx-udoo-neo-basic.dts @@ -1,43 +1,6 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR X11) /* * Copyright (c) 2016 Andreas Färber - * - * This file is dual-licensed: you can use it either under the terms - * of the GPL or the X11 license, at your option. Note that this dual - * licensing only applies to this file, and not this project as a - * whole. - * - * a) This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * Or, alternatively, - * - * b) Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, - * copy, modify, merge, publish, distribute, sublicense, and/or - * sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following - * conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. */ /dts-v1/; diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts b/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts index 5c7a2bb9141c..c6005cd284be 100644 --- a/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts +++ b/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts @@ -1,43 +1,6 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR X11) /* * Copyright (c) 2016 Andreas Färber - * - * This file is dual-licensed: you can use it either under the terms - * of the GPL or the X11 license, at your option. Note that this dual - * licensing only applies to this file, and not this project as a - * whole. - * - * a) This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * Or, alternatively, - * - * b) Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, - * copy, modify, merge, publish, distribute, sublicense, and/or - * sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following - * conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. */ /dts-v1/; diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts b/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts index 13dfe2afaba5..ad8b8a663a70 100644 --- a/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts +++ b/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts @@ -1,43 +1,6 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR X11) /* * Copyright (c) 2016 Andreas Färber - * - * This file is dual-licensed: you can use it either under the terms - * of the GPL or the X11 license, at your option. Note that this dual - * licensing only applies to this file, and not this project as a - * whole. - * - * a) This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * Or, alternatively, - * - * b) Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, - * copy, modify, merge, publish, distribute, sublicense, and/or - * sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following - * conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. */ /dts-v1/; diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi b/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi index 53b3eac94f0d..386707c1bfe0 100644 --- a/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi +++ b/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi @@ -1,43 +1,6 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR X11) /* * Copyright (c) 2016 Andreas Färber - * - * This file is dual-licensed: you can use it either under the terms - * of the GPL or the X11 license, at your option. Note that this dual - * licensing only applies to this file, and not this project as a - * whole. - * - * a) This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * Or, alternatively, - * - * b) Permission is hereby granted, free of charge, to any person - * obtaining a copy of this software and associated documentation - * files (the "Software"), to deal in the Software without - * restriction, including without limitation the rights to use, - * copy, modify, merge, publish, distribute, sublicense, and/or - * sell copies of the Software, and to permit persons to whom the - * Software is furnished to do so, subject to the following - * conditions: - * - * The above copyright notice and this permission notice shall be - * included in all copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES - * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT - * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, - * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR - * OTHER DEALINGS IN THE SOFTWARE. */ #include "imx6sx.dtsi" From patchwork Sat Jun 1 07:07:17 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 10971195 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E942A1575 for ; Sat, 1 Jun 2019 07:08:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D94EB28BCD for ; Sat, 1 Jun 2019 07:08:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CCB3228D61; Sat, 1 Jun 2019 07:08:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 77DF828BCD for ; Sat, 1 Jun 2019 07:08:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=O2l6XH4JRPKxwNbaivgR+x4AruwcQ89rJI5J+Qtr/ok=; b=JSyZMjUZZYSzbr 1wuBCdjVpBSuh6xtQeiXdG3tCNSsCAqD/BfaVOq0/KVN+iO35vgJgKFh8pfqMpV5T/7CS0SA+itNX GloVoCTooExSpKdtSelKHU9Cq89GkrubnCHs2Wj4EdrRBW9X8dEVMkVEebD06g72hrU3RP/JHaEs7 GP9Lzp8zJClTw31WMyDKCn4pk+3MOeyvvvXzRK55oiK9CrU1Ph/lrT+lq1ULQ357RNpKsRftRfJwy Ipr0TWPplbpEDYyiA5JNSS8nSWNw21+s04irTJVanCnvrQz7i/Aq0lmn1kH4+mK8mvAcJrH4hDbik 41cFTP6go7EqFYsVJD4g==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hWy7U-0002bi-Mr; Sat, 01 Jun 2019 07:08:00 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hWy74-0001w9-9S for linux-arm-kernel@lists.infradead.org; Sat, 01 Jun 2019 07:07:36 +0000 Received: by mail-wm1-x342.google.com with SMTP id t5so7196249wmh.3 for ; Sat, 01 Jun 2019 00:07:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=J9T/H8O+Bo+86NWDkyKHynPMMBXWFWWk75NnIJsXS1M=; b=Bu9Q2cBIQQSskjlH4tHEeVo6UEq4/Ctril9JWNNojmlUJ7EQUywlhRMmRsZuVv82Ht Bu+/YPbHri0E806Jvhla1rOYpA4dReszJ5mp2gB7zczhTvh3uzdk05ixRCeIosjBmT9b cdqGX79BFnbSRNE9LLBSHofchHZFWheOXs/dVMxkaW4ZUaIPDwaZ+EgAzm0e/3nBIaD2 8O/uqv+KN8YbMiuzsRe5MX8OtmerHJRSEH5lIblmHryin89t4XYE5l8mi+rtTrWwt2kn B6KyzyJeu3AY5Efp+6AWHTnDL2B3p7qiZxtk/5dgAazluOPIc9/qMKIoqvhUm//praAt D+zA== 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=J9T/H8O+Bo+86NWDkyKHynPMMBXWFWWk75NnIJsXS1M=; b=TlIaYn7FditX/fnJfmnUBHRbW0zA4lYN9JhTZTFbapseipXx8at6sHDK9kSXowDOgi dbpxjC+7nxedZLjpxIZ2pKvug8MomgUx6cQ1aYz2qzvx/P3f1iAEBDcfljkUFjtyNhc0 GI0s9iVhQeq5mwcqpbMpgTp7P/jH2M4Csd0dZ6fYGfwkMCvCc6CtLFKy1qOImuaJ5brS A9ckOKFimXGAWcKOHrUkX2mO8y8MFMaSxTyWhhnspPw0UfnG2gPAqdlr1mslSaS5Tm5+ EccgB27VMpvKMuNqpDH0kyvBEsM12Ag7MhUoOBcsxShM6iCbU5S+MBU1crbLuoyEgIkj dt0w== X-Gm-Message-State: APjAAAW2xwmOHWr7V8K4L4Ltj7omcxvstST18dRRY4zDHfQXB6VjuqjS il2uqMqIVc5O8bPQB6tcBLCuAUw3 X-Google-Smtp-Source: APXvYqy2EBe2XAPiC7k++q1UMSmUfXIPBlRu+3RMG3Tc2OEWg2DOWrxOQLAEEjmn/gGI+ITGs3/XUA== X-Received: by 2002:a05:600c:218d:: with SMTP id e13mr8057626wme.101.1559372849818; Sat, 01 Jun 2019 00:07:29 -0700 (PDT) Received: from morpheus.roving-it.com.com (2.e.6.5.c.a.a.1.a.8.0.3.1.e.3.c.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681:c3e1:308a:1aac:56e2]) by smtp.googlemail.com with ESMTPSA id h8sm19008382wmf.5.2019.06.01.00.07.28 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 01 Jun 2019 00:07:28 -0700 (PDT) From: Peter Robinson To: Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/3] ARM: dts: imx6sx-udoo-neo: enable i2c-2 and i2c-4 for onboard sensors Date: Sat, 1 Jun 2019 08:07:17 +0100 Message-Id: <20190601070718.26971-3-pbrobinson@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190601070718.26971-1-pbrobinson@gmail.com> References: <20190601070718.26971-1-pbrobinson@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190601_000734_432923_23AAC690 X-CRM114-Status: GOOD ( 12.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Robinson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The i2c2 bus has a external plug which enables the easy connection of external "bricks" with sensors of various kinds, while i2c4 on the Extended/Full boards has a pair of on board motion sensors, accelerometer and magnetometer on one chip and gyroscope on another so it makes sense to enable these i2c buses for use. Tested on UDOO Neo Full. Signed-off-by: Peter Robinson Reviewed-by: Fabio Estevam --- v2: move i2c-4 core to imx6sx-udoo-neo.dtsi and just enable it on specific boards --- .../arm/boot/dts/imx6sx-udoo-neo-extended.dts | 4 +++ arch/arm/boot/dts/imx6sx-udoo-neo-full.dts | 4 +++ arch/arm/boot/dts/imx6sx-udoo-neo.dtsi | 26 +++++++++++++++++++ 3 files changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts b/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts index c6005cd284be..04a9f8780b8c 100644 --- a/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts +++ b/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts @@ -16,3 +16,7 @@ reg = <0x80000000 0x40000000>; }; }; + +&i2c4 { /* Onboard Motion sensors */ + status = "okay"; +}; diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts b/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts index ad8b8a663a70..3cc6b0231ff6 100644 --- a/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts +++ b/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts @@ -31,3 +31,7 @@ }; }; }; + +&i2c4 { /* Onboard Motion sensors */ + status = "okay"; +}; diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi b/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi index 386707c1bfe0..26373e3f3afd 100644 --- a/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi +++ b/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi @@ -188,6 +188,20 @@ }; }; +&i2c2 { /* Brick snap in sensors connector */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c2>; + clock-frequency = <100000>; + status = "okay"; +}; + +&i2c4 { /* Onboard Motion sensors */ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_i2c4>; + clock-frequency = <100000>; + status = "disabled"; +}; + &iomuxc { pinctrl_bt_reg: btreggrp { fsl,pins = @@ -219,6 +233,18 @@ ; }; + pinctrl_i2c2: i2c2grp { + fsl,pins = + , + ; + }; + + pinctrl_i2c4: i2c4grp { + fsl,pins = + , + ; + }; + pinctrl_uart1: uart1grp { fsl,pins = , From patchwork Sat Jun 1 07:07:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 10971193 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 2C3AD1575 for ; Sat, 1 Jun 2019 07:07:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 177A028BCD for ; Sat, 1 Jun 2019 07:07:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0781128D61; Sat, 1 Jun 2019 07:07:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5FB9A28BCD for ; Sat, 1 Jun 2019 07:07:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9NlkeLTV5ZVkFfjQI4PxK75gUSZBD3t+lFRtGtszLu0=; b=McVeuIG88hGS6I wXW3lsKDN9fxbM0s8hfY2fNKvzUbWh6/T7hRzCEOp9LVe/11qIuwxGQ5b36EVF1eOJJMINDqqUGve qXcjOPZaY7BuyIE5dJCIpMIhAslWKjykrn3Utmy/VKrdB7yTiIjziOZ7qbUp8GmTRHJTzYI3DPzYR lLXyd5nvfvpW9MTcoQETlUVlxFeZmXS8X6qIo2iAAIQAfjStyE3w+1/kOCpPSFaXj5nJd9gKZSVei 4cC1Y5mOCIgNKb2+523QTbiA6zc5X2db8lcW7KePsNLLNbVu7jbgt3QRzCEGFTbRGa+nR8v9u449A HN2mU1pIu0w4wiZ5kmGw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hWy7K-0002Ka-8G; Sat, 01 Jun 2019 07:07:50 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hWy72-0001wG-5r for linux-arm-kernel@lists.infradead.org; Sat, 01 Jun 2019 07:07:33 +0000 Received: by mail-wr1-x442.google.com with SMTP id f8so7889630wrt.1 for ; Sat, 01 Jun 2019 00:07:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9lL5CgHcd0LZEFcnEjtQYPA7xSFuJCxrXyXWXhxW8WE=; b=JhWaX8UQaa8+V7uFIGcC9hxXJeyEEsg+W5+B5NXAVFuxgzgfgvnpt+Fc4NtYUjUvhq Mg2J6I+odS0v3LTRy6lbJr3bTKMD9V+O/JXMT8G8avwjjme03qZCPTv/N8SBwuHVFJ9w NEQ/2pkLBPbDrE/63TFN5SvAMEwHUUwxWC2hgTJ1AOKtVscYg1g5YHXyd+HWUGjxZMSB 6uC5V7SQa5mv7lK/aikG5MA8jZQ4DNxB276V7qCv58sLoR2IRIc2xwEGHuPNCGLTBa7o jBtQ4YpcjzX/fs8ZEt2C67YF426DIWVMhOvVL1cy/+JTFobBj1A8r4X79lvRUENgM4k9 0Tfg== 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=9lL5CgHcd0LZEFcnEjtQYPA7xSFuJCxrXyXWXhxW8WE=; b=hnHj6Ge+hp6JKfvB+3MmPryjtkiqtSf2npyyxdvkcCIVk+Vyg1p+WGph50UpNRbuJZ FrYWoSABW2FXr43c+ZN+//3BtFGFNEv48cidsi/kNp6koQ1yTvzETXTfc6sQEoQ1UdYC SxcOW7EZTNxCLuQ9mqGakxAmOOHgsfDk15JwC3bhC9aMlJy4tn8QXW0iy19eOxkQiXtg a8ZhS7ucOFiB13SF04h+t1YxLumE+ZQhycd6FpHK10wnO4irVHoZLjdvgv7ZG4yc9UJa bHFVb5y+S9T8kXgz+TBfBeYebGstkkKeOZbFwpRJCTi/xu8HOdIZKa7aJClOSLpIAqR6 k05Q== X-Gm-Message-State: APjAAAWERlSQOt2t1eDy6guDlmfZLKbZlNVtGcsHrs7PRj13hQ+LWq0+ KhkREtW61YL96iRwS8VRHUQ= X-Google-Smtp-Source: APXvYqzWHYyI7f4522H/ds8l8XyFO1Cbr+RerwEo87fol1T4saiJ3SHofTlPq5DOiurs4uLMNYmsFQ== X-Received: by 2002:adf:e945:: with SMTP id m5mr9269179wrn.90.1559372850859; Sat, 01 Jun 2019 00:07:30 -0700 (PDT) Received: from morpheus.roving-it.com.com (2.e.6.5.c.a.a.1.a.8.0.3.1.e.3.c.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681:c3e1:308a:1aac:56e2]) by smtp.googlemail.com with ESMTPSA id h8sm19008382wmf.5.2019.06.01.00.07.29 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 01 Jun 2019 00:07:30 -0700 (PDT) From: Peter Robinson To: Rob Herring , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/3] ARM: dts: imx6sx-udoo-neo: add bluetooth config to uart3 Date: Sat, 1 Jun 2019 08:07:18 +0100 Message-Id: <20190601070718.26971-4-pbrobinson@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190601070718.26971-1-pbrobinson@gmail.com> References: <20190601070718.26971-1-pbrobinson@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190601_000732_214901_40E49097 X-CRM114-Status: GOOD ( 14.54 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Robinson Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This updates the WL1831 bluetooth to use the serial serdev driver interface. Signed-off-by: Peter Robinson Reviewed-by: Fabio Estevam --- .../arm/boot/dts/imx6sx-udoo-neo-extended.dts | 4 ++++ arch/arm/boot/dts/imx6sx-udoo-neo-full.dts | 4 ++++ arch/arm/boot/dts/imx6sx-udoo-neo.dtsi | 24 ++++++++----------- 3 files changed, 18 insertions(+), 14 deletions(-) diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts b/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts index 04a9f8780b8c..5c50d44eb8d8 100644 --- a/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts +++ b/arch/arm/boot/dts/imx6sx-udoo-neo-extended.dts @@ -20,3 +20,7 @@ &i2c4 { /* Onboard Motion sensors */ status = "okay"; }; + +&uart3 { /* Bluetooth */ + status = "okay"; +}; diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts b/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts index 3cc6b0231ff6..ba051a755177 100644 --- a/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts +++ b/arch/arm/boot/dts/imx6sx-udoo-neo-full.dts @@ -35,3 +35,7 @@ &i2c4 { /* Onboard Motion sensors */ status = "okay"; }; + +&uart3 { /* Bluetooth */ + status = "okay"; +}; diff --git a/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi b/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi index 26373e3f3afd..f35c3af43780 100644 --- a/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi +++ b/arch/arm/boot/dts/imx6sx-udoo-neo.dtsi @@ -70,18 +70,6 @@ startup-delay-us = <70000>; enable-active-high; }; - - reg_bt: regulator-bt { - compatible = "regulator-fixed"; - pinctrl-names = "default"; - pinctrl-0 = <&pinctrl_bt_reg>; - enable-active-high; - gpio = <&gpio2 17 GPIO_ACTIVE_HIGH>; - regulator-name = "bt_reg"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - regulator-always-on; - }; }; &fec1 { @@ -343,11 +331,19 @@ status = "disabled"; }; -&uart3 { /* Bluetooth */ +&uart3 { /* Bluetooth - only on Extended/Full versions */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart3>; uart-has-rtscts; - status = "okay"; + status = "disabled"; + + bluetooth { + compatible = "ti,wl1831-st"; + enable-gpios = <&gpio2 17 GPIO_ACTIVE_HIGH>; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_bt_reg>; + max-speed = <921600>; + }; }; /* Arduino serial */