Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp8156128rwb; Wed, 23 Nov 2022 16:36:53 -0800 (PST) X-Google-Smtp-Source: AA0mqf6sXVzSea0L5O8rGb8MZ/PqVRmdvNVR33RlHUrAjQEuYYiKnZeKcWKwP99T9Rg9dkig6jXM X-Received: by 2002:a05:6a00:e0f:b0:563:312d:745b with SMTP id bq15-20020a056a000e0f00b00563312d745bmr11860906pfb.69.1669250212828; Wed, 23 Nov 2022 16:36:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669250212; cv=pass; d=google.com; s=arc-20160816; b=BQ2EsuvehXk+4JM6x2ZrClBobQJh7hkhCiQJWLkxUv3Y3Qi5J4H3eXRGPfRSQ/rKF2 LDxP2XvE9gjdlcQO2DxPV1rqm4QVeZLuP/4AO/wfuR18IIKVwieq/XRceEW/sRxLtOGg EG8HQ9VLVT8O6S14Hg0WFwgsvRWy6WQumuM5VIcG8ZnLVphgCRJQamZvS9Oq/1qLJj3h Bob2UEJNR+YJawp7kFruEpEqoKrEdwn0ioGRECk3k+ljT65ES7+BSsYYFl+814o0fq6e as1z9bwQ1nSsffQyWHe7iB1/B1LvyCR5cXWbuwOBM2sGYsr5uRQrwyPz2rb0Rx7mYUp5 maKQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=0ULWPm05rpr4EqC7UPbE3uKjJHV/QfHeV8IeVr39cYo=; b=RAwCsOkoOSULI45XxG02gwVilyrESInM9rb/r/EicLQchqhf/DkoDYochNyqXuj+Al URqfvNNG57kftfXZtzMkUl24SNbNNV7rEKK49X7xNKHNHDi+OP40uxIjXn/SmJFVWHm4 vailutvCNjiPyAaMRUn5LXsqK52Hw5EJkmEbEpX15ViRW97AG6RoW6Jojk0m7DzLBGO+ vFsiicbD/7FnVRVeTg7uGAmtGa+1BO6rUP0d/fyDVpgLFbs4BjKg0f2F8MAD5ITrF4ww F9SDCFtpzt+bmpDUXLv9lOYQpTY3m1bTslgV8CvWx5q9cAuiPRK8TUkHTG3EB3EtMKw8 xhoQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=zJdgyjyw; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l13-20020a63ea4d000000b00476deba079fsi817519pgk.507.2022.11.23.16.36.41; Wed, 23 Nov 2022 16:36:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@inadvantage.onmicrosoft.com header.s=selector2-inadvantage-onmicrosoft-com header.b=zJdgyjyw; arc=pass (i=1 spf=pass spfdomain=in-advantage.com dkim=pass dkdomain=in-advantage.com dmarc=pass fromdomain=in-advantage.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=in-advantage.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229985AbiKWXcf (ORCPT + 88 others); Wed, 23 Nov 2022 18:32:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38072 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229874AbiKWXcd (ORCPT ); Wed, 23 Nov 2022 18:32:33 -0500 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2107.outbound.protection.outlook.com [40.107.220.107]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEB7B6594; Wed, 23 Nov 2022 15:32:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OLKxm5Tnp26MgL2WRLrCjIWC2kFFkgCEkKEfvGF9BFkbOkW9yfKp/NupU8hnW02/O8YS0X37YuYX4USScaGgHbFo6v4prJAZWxRI17exA73sF3au5EHwpC9anAclgcv0zxLC8t8ctQoD4MyKsAQIQ8egkVkEhC4VwHj/4U4kEbmiZnsQGhI209vOuQnBbCaLkKNFtGo4leYNFQGEelleRBwk6Pd4R6sdnEMfFktjXnOdbRrUT53jquqmJ8wVHkPni3NxAAJhZMsRKYp2ugRgKpzxe7IYkHz5XerOrNg1W/mGcm9ZBWwvDaLvMgiisLLckgPCaDB1Mg3BlS2VSEaRrw== 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=0ULWPm05rpr4EqC7UPbE3uKjJHV/QfHeV8IeVr39cYo=; b=DuwqI35OnmU2kzpJdWRrNJlDtZh1VoKt+plozM7V0reuzGcjSfX5pxuIN51YKXd81U6fkihk7nq3/Jz9kukB+RCacCrJvZBRjRflL+eg8I8AkWEG0+1dTfsBKU18vWancT9y81sSbq6+hh5bETnsh3QT8LQBZPxlFqEaug1qedE+F4Op4oH6gcDCYAArrOuPntkurdb1frT+rOaNPzla89QIMch4DHgPhpta1lXzHlAivCyekjHY0l7rBEVCsR1ncHHj48vR8W7Ogge7tfMZoB0rtZ9u6BlWuNxMREnYpDNPmR9O6Am2pDvPZYbCPoAT6wT1FuBwDaNCLTkxOBnkfw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=in-advantage.com; dmarc=pass action=none header.from=in-advantage.com; dkim=pass header.d=in-advantage.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inadvantage.onmicrosoft.com; s=selector2-inadvantage-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0ULWPm05rpr4EqC7UPbE3uKjJHV/QfHeV8IeVr39cYo=; b=zJdgyjywaSDyvR5tGwxpgiQ6lSOPxqGYmg0IJwWqZob7ZGm4zLFg76l7LhiPAXZ5nz5JiWSaNOu3pJO1d3ss8jgmT6nFe2udI8x5ID6SQ2bPY5xd/4BlZcLlIXvOEly1rkbO5iG/+cRzqAGnuG8FmoeIA1U8iaX7HqP0pLXzcLc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=in-advantage.com; Received: from MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) by CH0PR10MB4873.namprd10.prod.outlook.com (2603:10b6:610:c7::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.15; Wed, 23 Nov 2022 23:32:25 +0000 Received: from MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::45b5:a860:9cea:a74c]) by MWHPR1001MB2351.namprd10.prod.outlook.com ([fe80::45b5:a860:9cea:a74c%4]) with mapi id 15.20.5834.015; Wed, 23 Nov 2022 23:32:25 +0000 From: Colin Foster To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Tony Lindgren , =?UTF-8?q?Beno=C3=AEt=20Cousson?= , soc@kernel.org, Olof Johansson , Arnd Bergmann , Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 0/2] add support for Phytec PCM-049 and PCM-959 Date: Wed, 23 Nov 2022 15:32:07 -0800 Message-Id: <20221123233209.1854806-1-colin.foster@in-advantage.com> X-Mailer: git-send-email 2.25.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: BY5PR13CA0025.namprd13.prod.outlook.com (2603:10b6:a03:180::38) To MWHPR1001MB2351.namprd10.prod.outlook.com (2603:10b6:301:35::37) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR1001MB2351:EE_|CH0PR10MB4873:EE_ X-MS-Office365-Filtering-Correlation-Id: 2aa3404d-018f-4f31-9ae6-08dacdaafa5e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: R4fGqHMT4KcuVqWIhbjJeF4YqPIOBN8xwerfCeiH3J8KEcMX9EpvjQ88/seQaMwQ8PZff1r0oVMX1j/2j6sV2gvC7JISn0vLn1uj4a4fT1gjJBXDTbKyQLr8ruxECESd6MnDzAFRPd9NWJGmYy55AbdxaRPTOJ6IgxljT6UfVyzI0SRXpMvTjEqUnQy4Gr/F2RJvdA8RgzjL7d1pnGlGSzb3r3rUadUv8HuYN1pWsSsX+97xuVAKukITqX23OtfPXKcdtyAK3aCYoCN6hCtL/nJL8RJhicgu4jzpc2DdDAMcnXk6cYe4vD3VxOEwCn5lW0oXIe8hzmlM1rF8A7PCmqVS3+sgvu+2KhFS7lzj1FQ9tweG6XBZeshLgpqlr+t1KVJ2ZEeG6ZuDlVuEVYMlleBfFhGlBFJcvdguCZ378VN6p0HOR9NK5vrUMSAMf0df0W1ipasr2j+g5e+0TL6GBwvVSafH1lkUxPwQw5ZQ6CYrNfT3ZwQFrOQTthdwCYAf+jV/5f0MZzuqzJJlTEik21JX5uSSIz/Tsbxh4lR2aTjgLiax9y1jWZMoBJbhvBNE435ALr+UxHp7ae9KByhscnP4EHIpA6I4VN0BYVSHC18HIgKhfBSAqKtdpB9FMuf4DGFPTSjp31O8Q7+NdKJmiQIvh5oKlKmigkmSa7brAA1C6FWfYUZDp7zlANJSRKBeitCZYByUIRpF7+q5MLJlU6q7ifC+pWp6ChUxdqeZSnE= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MWHPR1001MB2351.namprd10.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(396003)(366004)(39840400004)(376002)(346002)(136003)(451199015)(6666004)(41300700001)(478600001)(66899015)(6486002)(966005)(66476007)(8676002)(316002)(1076003)(8936002)(26005)(66556008)(66946007)(4326008)(7416002)(186003)(5660300002)(36756003)(54906003)(44832011)(52116002)(6506007)(83380400001)(2616005)(2906002)(86362001)(6512007)(38100700002)(38350700002);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?/8US9MBVXra6+FThBrC/dAmkR0pz3jtGaaql0cbA4UVMwFpo7EAGg4eeMmWQ?= =?us-ascii?Q?iKgwgrCNp8peJLvRynBh0mb5msOi/7U9BWtM9V5X9vXdJMeULvTQz4ceZokm?= =?us-ascii?Q?l8Hjk0dC9vgD3SRUH68YANmfloUAYXa2N3KbTxQbmOSM60BjVqwY1cDcK+R+?= =?us-ascii?Q?v36xer8ex/5iMwlPGJCbxswuU5VRNI2H4DkSDVR+DG3uEw3zacMGSeY3BYsZ?= =?us-ascii?Q?oyoriN58QvyTWlk45Ux36kIfaMgQ0eczH+oNpGckpThMYd1V7vHU1v7FltO2?= =?us-ascii?Q?q1AXO+EqRJZ4NQwP1ZH/E4KFn0Oic1Jr2KTcWmt94yChqfdv3/tkp1UWXZU2?= =?us-ascii?Q?blTXEwab5HZQsus9KUBSb94b1KyYY80mkYSfSozJXUpJaUFbnhtIibEzd1A+?= =?us-ascii?Q?9lArN9QyyV8zylKLLdIc6Nppnv1CVSvECoj7XHv+NsLzHzmXc5M/vgQ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eBIoc79F8Z+vBWpAjCKMg2MpSfvUe0prS+w0Hxju6GfpPMQox7S?= =?us-ascii?Q?4f/NSAK8wFM1LBgw6SYt8J/vRMYg3f3yJlgJIC5zcFhUFtYqfaXxNzOjNRgf?= =?us-ascii?Q?euvtCa3UkZji6pe4n3SdFR0u1GF2yWu32RrwFFHklx2UdfaiJKYOagHhvAvc?= =?us-ascii?Q?1EXkaPs+xQTFbKsBPO3yLa2RnqiXBjOEGOZWFA+GIXY2thQnABsvwVOvGzzk?= =?us-ascii?Q?IPEIwHN2/PSU5IY8beIcc0qjoR1r//PxB79RM85QTsKYWLIMyB+Vew2wryfm?= =?us-ascii?Q?lw=3D=3D?= X-OriginatorOrg: in-advantage.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2aa3404d-018f-4f31-9ae6-08dacdaafa5e X-MS-Exchange-CrossTenant-AuthSource: MWHPR1001MB2351.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2022 23:32:25.6547 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 48e842ca-fbd8-4633-a79d-0c955a7d3aae X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: ULZjce5TEvP0Mrv//kwzjf64KAOcPcxYQUYdpoLbtV8IUl19blz12BwfQF+CLtFvfpjVVPp94cV8Ap2ZQO2FcXX42+uAQfT22/RXXse2kbI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR10MB4873 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org As should be clear for the title and patch title, this is adding initial support for the OMAP 4460 SOM and dev kit for Phytec's PCM959 evaluation kit. The PCM049 is a legacy SOM offered by Phytec: https://www.phytec.com/legacy-soms/ There was a vendor BSP offered by Phytec, but that never entered the Device Tree era. This patch is meant to change that. My development bootloader has moved to U-Boot, but I have verified Barebox works in the past. When booting from SD card, either bootloader should work. When booting from Barebox, the NAND OOB layout is incompatible between the bootloader and the kernel. I haven't had any OOB / ECC errors in the NAND at all, which was my main concern. Due to that, I'm submitting this as a patch instead of an RFC. Hardware ECC correction seems to be fully functional. v1->v2 * Almost everything moved into the SOM (PCM-049) .dtsi. Only the LED chip is dev-board specific. * Fix pinmux associations (*pmx_core was applying *pmx_wkup entries... I'm surprised that didn't cause more issues) * Documentation added * Updates from review: * Board compatible strings added * Hyphen / underscore changes * Remove unnecessary status="okay" entries * Generic names used (regulator, led-1, etc.) Colin Foster (2): dt-bindings: arm: omap: add phytec pcm-049 som and pcm-959 dev board arm: dts: omap4: pcm959: add initial support for phytec pcm959 .../devicetree/bindings/arm/omap/omap.txt | 3 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap4-phytec-pcm-049.dtsi | 412 ++++++++++++++++++ arch/arm/boot/dts/omap4-phytec-pcm-959.dts | 48 ++ 4 files changed, 464 insertions(+) create mode 100644 arch/arm/boot/dts/omap4-phytec-pcm-049.dtsi create mode 100644 arch/arm/boot/dts/omap4-phytec-pcm-959.dts -- 2.25.1