From patchwork Mon Mar 25 20:32:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13602915 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 31567C54E58 for ; Mon, 25 Mar 2024 20:33:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=disL151DSYFGDwRKhQni67wL+kuOcSOHda1jwjbF4Jg=; b=mJddIIDcz/k6bm 1GaqoxFEdY3xUZ8MWpsYa1YhrwfXMf34HTvULRre9lOYvYC/IlAdjNEdpckEiqcMvZFI82nRxqWa7 3HhdFKdlmpB2j+4kOE2vUAIjlxr6CF3fYDjJptv/3JIA1KWsk+7UsMET0FfewzwSXPc1d11mEFU5L WGqX7+k8cC/hrYK/XlPK5UB5OjY6vwS2G8gZJio1frwcvvMLJasS6A53ekat+4vALK0sNa3nVQ9w9 sf1ypVMLs0/GZchjZbzmJNzqUcnxN6B1XvH9gGMFPKXVSc6V7E217g5jg4FKanZLfBK0sJJUjMJlC M3lk3TpaOnBc37Ebg8XQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ror09-00000001oqU-1pSp; Mon, 25 Mar 2024 20:33:01 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ror05-00000001ooN-1tIv for linux-arm-kernel@lists.infradead.org; Mon, 25 Mar 2024 20:32:59 +0000 Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 316BB161B; Mon, 25 Mar 2024 21:32:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1711398743; bh=7yTT8lPe0pPP8LRjiZ20vvt0WYq95+MUh+JgWuseALI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CfdHKp9akJkF8wW6xzJg67xD1PuIj8xRl+f76JTz/Sm0o4IVI7x5eXq89+8FdRk9d sxdas3OgsZ8vwBpMGZ4BPFDh/ozFReWQVQYvbAONCClM4JhKpnkiHPEh4zuw/5HuGt YZX4wVGzQ9dyH4XwBhKpoNqHbdWJhw3Arvn7Ho9Q= From: Laurent Pinchart To: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Cc: Trevor Zaharichuk , Greg Lytle , Jonathan Cameron , Lars-Peter Clausen , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sean Nyekjaer , linux-iio@vger.kernel.org Subject: [PATCH 1/5] dt-bindings: iio: dac: ti,dac5571: Add DAC081C081 support Date: Mon, 25 Mar 2024 22:32:41 +0200 Message-ID: <20240325203245.31660-2-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240325203245.31660-1-laurent.pinchart@ideasonboard.com> References: <20240325203245.31660-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_133257_904690_C45A2DDE X-CRM114-Status: GOOD ( 10.46 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The DAC081C081 is a TI DAC whose software interface is compatible with the DAC5571. It is the 8-bit version of the DAC121C081, already supported by the DAC5571 bindings. Extends the bindings to support this chip. Signed-off-by: Laurent Pinchart Reviewed-by: Sean Nyekjaer --- Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml b/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml index 79da0323c327..e59db861e2eb 100644 --- a/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml +++ b/Documentation/devicetree/bindings/iio/dac/ti,dac5571.yaml @@ -21,6 +21,7 @@ properties: - ti,dac5573 - ti,dac6573 - ti,dac7573 + - ti,dac081c081 - ti,dac121c081 reg: From patchwork Mon Mar 25 20:32:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13602916 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 11F45C54E64 for ; Mon, 25 Mar 2024 20:33:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wewLDNrn9js/IG8+R3jyDXN/FHJo1BxXIC46aJUwIoo=; b=QXN4lOdZJz2yGO P2TSNuo9+GhY/XBgWvDZYZRIaDPwC/RR4wvbPlLbOPXOPuZ5z58IVPGF2JZ0QWeCci2k6lSXMQmyq 2jUduRQ2RIZb2rxRp5fprKxi8d4kL6IIcMycAu8vjECszG7BiSV82XuN+/pVL74YbaJpoB9jI+CyT rj/E3DMvxoFsvolB0nLlcE2n0ULmvv+/+taZMURADWiE+raTu47WQEt8hCA5Cv1yzjJpQ2bV8i1io +8MUhbmR4YkDqbwTmCW2H7DfEzN/8HuuSbKRYvB8Z+c2xfsym58OVTt8ScL8gEjOQ7VKaCEvabYZi ASGD9QwDUuRRudFo3nFg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ror0C-00000001oro-18I4; Mon, 25 Mar 2024 20:33:04 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ror05-00000001ooV-1stP for linux-arm-kernel@lists.infradead.org; Mon, 25 Mar 2024 20:32:59 +0000 Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BFA5D3372; Mon, 25 Mar 2024 21:32:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1711398745; bh=ycHRYiTS2rqX1z1nXX5amVUPfjf+7hjHKfnWrEZ6N3w=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VsvUqZSsTZi+5i9NNix0N6qTQIAkVpfOmm95jAqDYNqLNyptBrHIvwWQfO3BDG/Ju 0W40DT/w81FyvlsesfcuLqgxcBAsfM5m4fiQjMC9QplgysIVHs07zyFuEGlPA9h5Dq 38QdIBALcKAysbsIowLO93z33fPPpwVsKOOksEh8= From: Laurent Pinchart To: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Cc: Trevor Zaharichuk , Greg Lytle , Jonathan Cameron , Lars-Peter Clausen , Sean Nyekjaer , linux-iio@vger.kernel.org Subject: [PATCH 2/5] iio: dac: ti-dac5571: Add DAC081C081 support Date: Mon, 25 Mar 2024 22:32:42 +0200 Message-ID: <20240325203245.31660-3-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240325203245.31660-1-laurent.pinchart@ideasonboard.com> References: <20240325203245.31660-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_133257_871992_ED6498DC X-CRM114-Status: GOOD ( 11.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The DAC081C081 is a TI DAC whose software interface is compatible with the DAC5571. It is the 8-bit version of the DAC121C081, already supported by the DAC5571 driver. Extends the driver to support this chip. Signed-off-by: Laurent Pinchart Reviewed-by: Sean Nyekjaer > --- drivers/iio/dac/ti-dac5571.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/iio/dac/ti-dac5571.c b/drivers/iio/dac/ti-dac5571.c index efb1269a77c1..c5162b72951a 100644 --- a/drivers/iio/dac/ti-dac5571.c +++ b/drivers/iio/dac/ti-dac5571.c @@ -13,6 +13,7 @@ * https://www.ti.com/lit/ds/symlink/dac5573.pdf * https://www.ti.com/lit/ds/symlink/dac6573.pdf * https://www.ti.com/lit/ds/symlink/dac7573.pdf + * https://www.ti.com/lit/ds/symlink/dac081c081.pdf * https://www.ti.com/lit/ds/symlink/dac121c081.pdf */ @@ -386,6 +387,7 @@ static void dac5571_remove(struct i2c_client *i2c) } static const struct of_device_id dac5571_of_id[] = { + {.compatible = "ti,dac081c081", .data = &dac5571_spec[single_8bit] }, {.compatible = "ti,dac121c081", .data = &dac5571_spec[single_12bit] }, {.compatible = "ti,dac5571", .data = &dac5571_spec[single_8bit] }, {.compatible = "ti,dac6571", .data = &dac5571_spec[single_10bit] }, @@ -401,6 +403,7 @@ static const struct of_device_id dac5571_of_id[] = { MODULE_DEVICE_TABLE(of, dac5571_of_id); static const struct i2c_device_id dac5571_id[] = { + {"dac081c081", (kernel_ulong_t)&dac5571_spec[single_8bit] }, {"dac121c081", (kernel_ulong_t)&dac5571_spec[single_12bit] }, {"dac5571", (kernel_ulong_t)&dac5571_spec[single_8bit] }, {"dac6571", (kernel_ulong_t)&dac5571_spec[single_10bit] }, From patchwork Mon Mar 25 20:32:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13602917 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8789BC54E64 for ; Mon, 25 Mar 2024 20:33:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=vSJCs2JHsa5A18C3642KqV05aYgiiMr7Jo2gUTGA6zk=; b=itHlXkh2d7yL8B 2Fc13CNJ3AZKJDE+Ccpa9kQ3Bw5tG1OfCaVb/ZOsAEQ0pW63N0VbWHyTSMwe7rBuFXXru9r3wI9it rcTsHz7gRt0K1QWUd/2bqrTTJBJ+ZnHbTqINsrX36wfrwDieHat/gZz8HzriaFfAAU8cDF6gLj0s3 5n1+tlo4rik/vm8m/fyHTqofW0bZl/w4QJjRloyCpJfokyWBtnK/zMHxm1xes/m9LksBFI998u2n5 G1vpRaR1VvE9CAdov0GIY4opGN7i+S8a27+KDaI3YNTeIY2JCFNOVDsmhUUZVq7LHU8Nd4oK2pC8X lj8v8Nz+JU+LKXnyecpQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ror0R-00000001oxf-01q6; Mon, 25 Mar 2024 20:33:19 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ror06-00000001oor-3b6d for linux-arm-kernel@lists.infradead.org; Mon, 25 Mar 2024 20:33:00 +0000 Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 5BB152CFB; Mon, 25 Mar 2024 21:32:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1711398746; bh=zuzokH1Io0J6nQ9Vpc2m9tADHcKPN+WA5XzXwlf+NO8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s2twUUJleJVk6Gdzr4zJCEBaBsatB3Kou6HB6/RqBVU6DgDo6xmzjL93GQhfLJEtP 1HNKhgWlPW6g5aYBcEwctiuxvlrJZMrNkdy1glOTu2d8+TbWddbIqYlp9fiEOaiJjV l1UJGJOkBuuxNtfRZ0oH3UHlpw1z6cNKiLV5D88k= From: Laurent Pinchart To: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Cc: Trevor Zaharichuk , Greg Lytle , Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: [PATCH 3/5] dt-bindings: vendor-prefix: Add prefix for Au-Zone Technologies Date: Mon, 25 Mar 2024 22:32:43 +0200 Message-ID: <20240325203245.31660-4-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240325203245.31660-1-laurent.pinchart@ideasonboard.com> References: <20240325203245.31660-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_133259_060440_F48059C5 X-CRM114-Status: UNSURE ( 9.08 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Au-Zone Technologies is a company that designs and manufactures products for AI vision applications. Add a DT vendor prefix for it. Signed-off-by: Laurent Pinchart Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index b97d298b3eb6..fce3d80c3d34 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -180,6 +180,8 @@ patternProperties: description: AU Optronics Corporation "^auvidea,.*": description: Auvidea GmbH + "^au-zone,.*": + description: Au-Zone Technologies "^avago,.*": description: Avago Technologies "^avia,.*": From patchwork Mon Mar 25 20:32:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13602918 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C44E6CD11DB for ; Mon, 25 Mar 2024 20:33:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=k9RzA81W2fnyL3s6jwYDVm3IcpMVKxjf+j9v4LxtY5E=; b=e0nguBbmPVGLYp dscOFsTdWbazdA6PZ07PIAptWQFFadqGtMq443qhjlS0z5KLdJFJAOcl3nXh4Rk4Y2qNkrbhLmz7T qr1h9/elMlboEkkCd6UlZNKXnUFUdkkGXhCv3JMyGhMgGFYIMweG/Yl6qYkgatYR8QXe7tWgEPfnP uBQcQUNhy6jL4tXDCEKP5AH5s4EbE2S+KOZC9bC0jjD6Si5R3D4OCI7CXpv8kUwobTKvsqf0lkUTF 4O96dS50MEl8kRBgX+diCmLeeOlmNiIH14XzWKlSlz8kkcQPqhT1M1Z4Oyn0+eyE/op4eo8tLd3ki sGptnBictkrs22piw+dg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ror0S-00000001oyc-3LPN; Mon, 25 Mar 2024 20:33:20 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ror08-00000001opk-0mMp for linux-arm-kernel@lists.infradead.org; Mon, 25 Mar 2024 20:33:01 +0000 Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id D745538DA; Mon, 25 Mar 2024 21:32:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1711398748; bh=6XJEvL6Keu+x7laHymQSy+SNnk9GUCpJ3qj8qn+9C2o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a5leokgP7DgOlPH4dOqxE5KAP51RP0RPGFqROhG7RTKZd2ZWVWrgmIHwfddRRBP9W ME5GaXZNNDEdJnQvT3+uWuIQ7e4f8iqiEOLi3sLq7mtYi34RngGzi0FHTZgBENHueR g+0nLmhbjZt25/bKxV0WXmxvVKnJELt1WtUYHyfs= From: Laurent Pinchart To: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Cc: Trevor Zaharichuk , Greg Lytle , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Li Yang Subject: [PATCH 4/5] dt-bindings: arm: Add Au-Zone Maivin AI Vision Starter Kit Date: Mon, 25 Mar 2024 22:32:44 +0200 Message-ID: <20240325203245.31660-5-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240325203245.31660-1-laurent.pinchart@ideasonboard.com> References: <20240325203245.31660-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_133300_390167_93BBE182 X-CRM114-Status: UNSURE ( 8.49 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Maivin board is an AI vision starter kit sold by Au-Zone Technologies, developed in collaboration with Toradex and Vision Components. It is based on a Toradex Verdin i.MX8MP SoM. Add a corresponding compatible string. Signed-off-by: Laurent Pinchart --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/arm/fsl.yaml index 0027201e19f8..d892c4f9fda3 100644 --- a/Documentation/devicetree/bindings/arm/fsl.yaml +++ b/Documentation/devicetree/bindings/arm/fsl.yaml @@ -1064,6 +1064,13 @@ properties: - toradex,verdin-imx8mp-wifi # Verdin iMX8M Plus Wi-Fi / BT Modules - const: fsl,imx8mp + - description: Au-Zone Technologies i.MX8MP-based boards + items: + - const: au-zone,maivin-starter-kit # Au-Zone Maivin AI Vision Starter Kit + - const: toradex,verdin-imx8mp-nonwifi # Verdin iMX8M Plus Module without Wi-Fi / BT + - const: toradex,verdin-imx8mp # Verdin iMX8M Plus Module + - const: fsl,imx8mp + - description: Avnet (MSC Branded) Boards with SM2S i.MX8M Plus Modules items: - const: avnet,sm2s-imx8mp-14N0600E-ep1 # SM2S-IMX8PLUS-14N0600E on SM2-MB-EP1 Carrier Board From patchwork Mon Mar 25 20:32:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Laurent Pinchart X-Patchwork-Id: 13602920 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id ECEDDC54E58 for ; Mon, 25 Mar 2024 20:33:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=F7TYgoG5NMNJLyiKq6SQO9Ms8cVgd2ae3okk8/583hI=; b=nG3zLz+zE7XpZB X3UE5taZegbkpYT5GS9f8Fm7p8++dVIwcgRvcfrqB9Yx3UpJst0SSTdubWzaXmzytTcIowKpxDLZM 5HKTM4N26IaZN5DU/vkvAjYvFJL8ldvSkHVKf5VYZ6tX3X0qAcWn1WmMfiF+vPF56oFdAjjLbcKLC dP9vShw3LSXVHlCpREtnsuaV81XUecX6/KFkVGiJfZv/aEBvKCm6Zx5irJGxx6YAyC1VlHnq2gLY7 Bs22mRkuVv0q2Qordd+xBJYHWtSYyO0Pd1dhGKt5EP6303Lf5TEOo0fMjpWu9J51Q7TBoouqhV3d9 GKIAzm8JKYuK7r5QqguQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1ror0T-00000001ozX-3Kha; Mon, 25 Mar 2024 20:33:21 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1ror09-00000001oqI-2cEe for linux-arm-kernel@lists.infradead.org; Mon, 25 Mar 2024 20:33:04 +0000 Received: from pendragon.ideasonboard.com (81-175-209-231.bb.dnainternet.fi [81.175.209.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 520443DF5; Mon, 25 Mar 2024 21:32:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1711398749; bh=b54+KoPqk9vJxHOYKe1rYg0vBKB3XALqnUgUm4P7Bag=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JecIxkwSmvHbuY8HqHQS2tV4U0qa474u+kX/Xv3eSg5HH8atpeKwdf/Fi7qPtANQE hHd8XQcBLYWrT0UZ8dF/Qdgkn/B2D1kKzm/JS8PdRMEpKOGsNBoDXU2tZsNVLRne/c Mg5scYMn/DyVNQN5c0Kt/HHKFB0H8GbYnDqh3Ug4= From: Laurent Pinchart To: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org Cc: Trevor Zaharichuk , Greg Lytle , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Rob Herring , Krzysztof Kozlowski , Conor Dooley Subject: [PATCH 5/5] arm64: dts: Add device tree source for the Au-Zone Maivin Starter Kit Date: Mon, 25 Mar 2024 22:32:45 +0200 Message-ID: <20240325203245.31660-6-laurent.pinchart@ideasonboard.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240325203245.31660-1-laurent.pinchart@ideasonboard.com> References: <20240325203245.31660-1-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240325_133301_950999_11AA95C2 X-CRM114-Status: GOOD ( 19.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The Maivin board is an AI vision starter kit sold by Au-Zone Technologies, developed in collaboration with Toradex and Vision Components. It is based on a Toradex Verdin i.MX8MP SoM. Add a device tree that covers the base set the peripherals found on the board: - Ethernet - USB - SD card slot - CAN and serial ports (RS232 and RS485) - DACs, EEPROMs, temperature sensor - PCI M.2 and CSI regulators An additional pinctrl group is included for the M.2 modem, but hasn't been tested due to lack of compatible hardware. Signed-off-by: Laurent Pinchart --- arch/arm64/boot/dts/freescale/Makefile | 1 + .../boot/dts/freescale/imx8mp-maivin.dts | 236 ++++++++++++++++++ 2 files changed, 237 insertions(+) create mode 100644 arch/arm64/boot/dts/freescale/imx8mp-maivin.dts diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 045250d0a040..03af8c242649 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -165,6 +165,7 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mp-dhcom-pdk2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-dhcom-pdk3.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-icore-mx8mp-edimm2.2.dtb +dtb-$(CONFIG_ARCH_MXC) += imx8mp-maivin.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-msc-sm2s-ep1.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-phyboard-pollux-rdk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mp-skov-revb-hdmi.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mp-maivin.dts b/arch/arm64/boot/dts/freescale/imx8mp-maivin.dts new file mode 100644 index 000000000000..2d1c8e782465 --- /dev/null +++ b/arch/arm64/boot/dts/freescale/imx8mp-maivin.dts @@ -0,0 +1,236 @@ +// SPDX-License-Identifier: GPL-2.0+ OR MIT +/* + * Copyright 2021 Au-Zone Technologies + * Copyright 2024 Ideas on Board + */ + +/dts-v1/; + +#include +#include +#include + +#include "imx8mp-verdin.dtsi" +#include "imx8mp-verdin-nonwifi.dtsi" + +/ { + model = "Au-Zone Maivin AI Vision Starter Kit"; + compatible = "au-zone,maivin-starter-kit", + "toradex,verdin-imx8mp-nonwifi", + "toradex,verdin-imx8mp", + "fsl,imx8mp"; + + gpio-keys { + compatible = "gpio-keys"; + pinctrl-0 = <&pinctrl_sw1>; + + button-0 { + label = "SW1"; + linux,code = ; + interrupts-extended = <&gpio3 16 IRQ_TYPE_LEVEL_LOW>; + }; + }; + + leds { + compatible = "gpio-leds"; + pinctrl-0 = <&pinctrl_led>; + + led-0 { + color = ; + function = LED_FUNCTION_STATUS; + linux,default-trigger = "heartbeat"; + gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>; + }; + }; + + csi_3v3: regulator-csi-3v3 { + compatible = "regulator-fixed"; + regulator-name = "CSI_3V3"; + pinctrl-0 = <&pinctrl_csi_3v3>; + gpio = <&gpio3 7 GPIO_ACTIVE_HIGH>; + enable-active-high; + startup-delay-us = <50000>; /* TODO: Determine the right value */ + }; + + m2_3v3: regulator-m2-3v3 { + compatible = "regulator-fixed"; + regulator-name = "M2_3V3"; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + pinctrl-0 = <&pinctrl_m2_3v3>; + gpio = <&gpio3 1 GPIO_ACTIVE_HIGH>; + enable-active-high; + }; + + /* Carrier Board Supply 3V3_SW */ + reg_3v3: regulator-3v3-sw { + compatible = "regulator-fixed"; + regulator-max-microvolt = <3300000>; + regulator-min-microvolt = <3300000>; + regulator-name = "3V3_SW"; + }; +}; + +&eqos { + status = "okay"; +}; + +/* Verdin CAN_1 */ +&flexcan1 { + status = "okay"; +}; + +/* Verdin CAN_2 */ +&flexcan2 { + status = "okay"; +}; + +/* Verdin I2C_2_DSI */ +&i2c2 { + status = "okay"; + + clock-frequency = <400000>; + scl-gpios = <&gpio5 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + sda-gpios = <&gpio5 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + + dac@d { + compatible = "ti,dac081c081"; + reg = <0x0d>; + vref-supply = <&csi_3v3>; + }; +}; + +/* Verdin I2C_4_CSI */ +&i2c3 { + status = "okay"; + + dac@d { + compatible = "ti,dac081c081"; + reg = <0x0d>; + vref-supply = <&csi_3v3>; + }; +}; + +/* Verdin I2C_1 */ +&i2c4 { + status = "okay"; + + temp-sensor@4b { + compatible = "ti,tmp102"; + reg = <0x4b>; + }; + + /* EEPROM on the rear connector interface */ + eeprom@54 { + compatible = "st,24c02", "atmel,24c02"; + pagesize = <16>; + reg = <0x54>; + }; +}; + +/* EEPROM on the carrier board */ +&eeprom_carrier_board { + status = "okay"; +}; + +&iomuxc { + pinctrl_csi_3v3: csi-3v3-grp { + fsl,pins = < + MX8MP_IOMUXC_NAND_DATA01__GPIO3_IO07 0x184 /* SODIMM 58 */ + >; + }; + + gpio7grp { + fsl,pins = < + MX8MP_IOMUXC_SAI1_RXD1__GPIO4_IO03 0x82 /* SODIMM 220 */ + >; + }; + + gpio8grp { + fsl,pins = < + MX8MP_IOMUXC_SAI1_RXC__GPIO4_IO01 0x82 /* SODIMM 222 */ + >; + }; + + pinctrl_led: ledgrp { + fsl,pins = < + MX8MP_IOMUXC_NAND_DQS__GPIO3_IO14 0x82 /* SODIMM 66 */ + >; + }; + + /* M.2 power off and reset */ + pinctrl_m2: m2grp { + fsl,pins = < + MX8MP_IOMUXC_NAND_DATA00__GPIO3_IO06 0x82 /* SODIMM 56 */ + MX8MP_IOMUXC_NAND_DATA03__GPIO3_IO09 0x82 /* SODIMM 62 */ + >; + }; + + pinctrl_m2_3v3: m2-3v3-grp { + fsl,pins = < + MX8MP_IOMUXC_NAND_CE0_B__GPIO3_IO01 0x82 /* SODIMM 54 */ + >; + }; + + pinctrl_sw1: sw1grp { + fsl,pins = < + /* + * SW1 shortens the pin to ground when pressed, enable + * the internal pull-up. + */ + MX8MP_IOMUXC_NAND_READY_B__GPIO3_IO16 0x1c0 /* SODIMM 64 */ + >; + }; +}; + +®_usdhc2_vmmc { + vin-supply = <®_3v3>; +}; + +/* Verdin UART_1 */ +/* Enabling RS-485 operation */ +&uart1 { + fsl,uart-has-rtscts; + linux,rs485-enabled-at-boot-time; +}; + +/* Verdin UART_2, for M.2 card slot */ +&uart2 { + status = "okay"; +}; + +/* Verdin UART_3, used as the Linux Console */ +&uart3 { + status = "okay"; +}; + +/* Verdin USB_1, USB recovery */ +&usb3_phy0 { + status = "okay"; +}; + +&usb3_0 { + status = "okay"; +}; + +&usb_dwc3_0 { + status = "okay"; +}; + +/* Verdin USB_2, for M.2 card slot */ +&usb3_phy1 { + status = "okay"; +}; + +&usb3_1 { + status = "okay"; +}; + +&usb_dwc3_1 { + status = "okay"; +}; + +/* Verdin SD_1, for SD card slot */ +&usdhc2 { + status = "okay"; +};