Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3079031pxu; Mon, 19 Oct 2020 03:27:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/Th0aga0lz+XNlCVfVEZBuLVXmGIN+OeTQb9i3yCcHP3cPBL9X56ppOkDuy4JlIHTV1Rc X-Received: by 2002:a17:906:6545:: with SMTP id u5mr16524451ejn.346.1603103259747; Mon, 19 Oct 2020 03:27:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1603103259; cv=pass; d=google.com; s=arc-20160816; b=aiKWs13GqSqZD96ozpNjLQtIpRMx/HtwszcHFVSR+yX6paPbS0gtlUey65acilRotB HPzA4DarfW2V3t9ptvQHxddTas8XFAd1hWp5XwbhXGuGxtUOvrv2Tp6S4DJTIU22Jeh+ O39Tpuhnxr7pYkZtYvJGoUwEM+YX/utqv+fn3S0deocL7HK1oEoXQd338ys1mzki8tIA IgTbQ4i3HV8p28y0GtuGQwEsWKPzvw2Yq198Oz/xnfrcF7hTnpFfyTnYmDiMGDdzjtPX CYw6JqA8J7j0XNRjmQn7rx5ZE9mTEjrsi/XY/tO7hIX3+5XYawsPbb5QvZxMnl9gXVGN WVyg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=IkDwRQQnDsJ6l4YhI6BNKWr2jPI/N3rQnuj4f1bPETo=; b=nrR+KeIFsCJTSwHOgA31Zcwu492nw9cBcAAglX0sfi7cYUhE/yYhYl/l+T8Nny49Tf xT5esMugAoK3O9M5R3f+1WqQRt/a4GKmCq6Wri6I4or2Ccnswg0v6Yo5xnc2SeOx3Jbo CnKOMpAhKwx0rorj4W8StNuyNGQYSiqWwsIgamNGZCdtsuoenjq6/HSQtkg9XTBqJtcM tXbVOuFKAZGRm0aDdU4UcMAsQa2ivIhKfxtxgWn2oaqcaAv8kmrH0yZlnVDWUNZIIhf4 YZj1DJw3wNaDSEyzHWE/BFgSVGY+ztr+CJuYo7ws0Ak+uCaDqv+LObZkkkF5gTqMVsvu aPsQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=A9j85VmG; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gw9si7259281ejb.176.2020.10.19.03.27.15; Mon, 19 Oct 2020 03:27:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=A9j85VmG; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728467AbgJSH6I (ORCPT + 99 others); Mon, 19 Oct 2020 03:58:08 -0400 Received: from mail-eopbgr00082.outbound.protection.outlook.com ([40.107.0.82]:63976 "EHLO EUR02-AM5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728435AbgJSH6G (ORCPT ); Mon, 19 Oct 2020 03:58:06 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oVlfz92XjB+LRQ9HwO7jwxAR1ikaLfG5WiPxHnfPj2ZVk5JGPoSIQ1ZjXTRk4wZmKbyLIiiw5LD2FPDxmb5AA07cBjl0jpUzEG6jw6RSv9q6mmRgG64uCmqG/Tlimp6/3WYAuTvQ3uhepuevFhDrHLLaVAO2kzvpkouAboMkyXzFCnd84Ex4Vd6RDnnBY92LKYzYTo7P8w40vJE0RlFCiz/+74EQSuD2NPegUAXojtGfHBnJt0shPlChb0Uu9w1ce4SEHNemDkPCeMcczWXu0+1OCfrd4nPnCA15FM5UXtQKKNLntsGYpcQgMMV9VUfOfeg/v9Lro1VbvXaQw8wffg== 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=IkDwRQQnDsJ6l4YhI6BNKWr2jPI/N3rQnuj4f1bPETo=; b=Za5kHCr2eyEyr6BCG5YwPT84jNISzIrz+NK1Cj3VPNpaJjtKnQoOrRxqpU3oyXtp/3fT6Uzc/Pg0LXbHCpBWsRqMKd9i2x4+9Uez8M+UFecEUFe76tB4lTWdirMdU6Kd2qJblEbxXRGaEP7JuKzwdz3FDrad00ozo8uX8nA8qgpZIe0uKlM4gGXy9/5B4G2ANwmwrbH+64886q8KuB2sTm96RPTyiw3wd/zQDVVjHpI4GXlSZBP8YnoVaKJb/JoMS14CCAIqDSyPh9Fzbajde8+7VbIjzYZweDO0b4ysCBb+sGXEVsUY/V9bXbBwqJp60Ui4T5TNQj11wAZbOlEhBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=IkDwRQQnDsJ6l4YhI6BNKWr2jPI/N3rQnuj4f1bPETo=; b=A9j85VmGmZkVgF1b/KPo8+tWb65MhtI5iAaUJvORDj9Vp31AZllBBbprsymQJLaVVMzUYGjBG+wIPLSxu0XKM7r2VMg9eO/YnuSF/MaSlz//eX9zRVFrFz2yoQffVZ2vibXpeM/TbSBmV87Le9pQDfEMtBUVNqZ1g93WlwIfRSI= Authentication-Results: pengutronix.de; dkim=none (message not signed) header.d=none;pengutronix.de; dmarc=none action=none header.from=nxp.com; Received: from DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) by DB7PR04MB3963.eurprd04.prod.outlook.com (2603:10a6:5:1c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Mon, 19 Oct 2020 07:58:02 +0000 Received: from DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::3c3a:58b9:a1cc:cbcc]) by DB8PR04MB6795.eurprd04.prod.outlook.com ([fe80::3c3a:58b9:a1cc:cbcc%9]) with mapi id 15.20.3477.028; Mon, 19 Oct 2020 07:58:02 +0000 From: Joakim Zhang To: mkl@pengutronix.de, robh+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de Cc: kernel@pengutronix.de, linux-imx@nxp.com, victor.liu@nxp.com, linux-can@vger.kernel.org, pankaj.bansal@nxp.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V2 6/8] dt-bindings: can: flexcan: add fsl,scu-index property to indicate a resource Date: Mon, 19 Oct 2020 23:57:35 +0800 Message-Id: <20201019155737.26577-7-qiangqing.zhang@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201019155737.26577-1-qiangqing.zhang@nxp.com> References: <20201019155737.26577-1-qiangqing.zhang@nxp.com> Content-Type: text/plain X-Originating-IP: [119.31.174.71] X-ClientProxiedBy: SG2PR02CA0107.apcprd02.prod.outlook.com (2603:1096:4:92::23) To DB8PR04MB6795.eurprd04.prod.outlook.com (2603:10a6:10:fa::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.71) by SG2PR02CA0107.apcprd02.prod.outlook.com (2603:1096:4:92::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.20 via Frontend Transport; Mon, 19 Oct 2020 07:57:58 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 8bd2224a-c682-465c-806c-08d87404b428 X-MS-TrafficTypeDiagnostic: DB7PR04MB3963: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6108; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: nJlwXF7QrYfa30TCzhZfaJRYXFy1dKvmEeV+TkvQcNo5uUQcuTa6XL/aNc2pgEDuezAtvLp2Gz2KZv53VkFEJ9AAY1NHlByu9MRHbaQdvW7R8H0ZXcoKAnEnelydsV35VyWDpHj+MXkYLdhuloB/4+3/QsZR/Tff32+cLNdptRHMtI/l040XP1VLKn8ts8YWPU5rTCuArqvIRbd2+y3eeMnAOplcK3DZci5gj4b8feEJfq8JIEXBocF22nNQ7DoA8gESnFsl+T1Sj4UWsnPFtjqxhloDBZgrncKe4tAqvHhVBRou964chow8AiVMRFoHLA+GdVpcKXfMk8fo3MjRnQBhvNMh7rPrAtyQ0Oa59NW2aCEpx3ATUZsQDTsYerN7 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR04MB6795.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(366004)(39860400002)(376002)(396003)(346002)(69590400008)(86362001)(6512007)(478600001)(2906002)(316002)(5660300002)(36756003)(1076003)(83380400001)(186003)(16526019)(956004)(2616005)(8676002)(8936002)(26005)(66556008)(66946007)(66476007)(6486002)(52116002)(6666004)(6506007)(4326008);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: J898xXImeU0DnUbLgyCBquzYSWy4a60kKjdx/evZfRdqortK7FBjiPfvfwcrDKyfqT8vTMOnmGIcnPT3zeAWl75eCei3dsKWCYC9C8G/LD5uzFjoCGsxRp096Nwyb+KN6LTJ6Jk4+CYQdNVSHfv6NfVjY2sw7s0sr0VAbIvbtIZ3IBolA9wAphc6dKv1nPHAkUmdllsrBnoycv882X6Pz8aGUALyCKe5SJ/JYeOaJIzQxERbXB6xhKaegDrLRDrNcC5qtnw3l8RCX7GhlRRjyj61gDQXm0nZJvZOU3hIqD+RhVHk4q6fxeUVTY0ufAQwjtxdBx3LsKmaUtD/F/MTNCZvyWEDgPbiNTkHad5wNBRI+BDdcRFQVj52OzeaiEqOulz2nqOFVrfnoy4f5NYpn5zj8vDqZ0REY6DUJiJ+r3TXbEC0qUs1isv9xsNe632Q1mP9xS4X6Z+SmMPA9NhwcijBxJzsswgByvtEzs3pztNw4wpdWZGjUAa+5RFMHDLFd+o1qzHZpnkxST4hzG86iTpvIY1t3rt4EddTbMyTK/iMoCaO4Vu6xneCWGKB1Y4FpZiDn9Ygc23pB+KdaopixBIC87Nq5qpEIBKeSISbUACpvIKUPHUDxF4mCcpTK7mawsRayhqo4kwH+hxiYICMog== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8bd2224a-c682-465c-806c-08d87404b428 X-MS-Exchange-CrossTenant-AuthSource: DB8PR04MB6795.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2020 07:58:02.8201 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: sgcro7nkZz3+wzMB59cBTye7+dWR6bwGEzmEzVPkS+M6DFP51PItSeuKdCEN1E+XfvzoWfMO62TOXQCX84oCWQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR04MB3963 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For SoCs with SCU support, need setup stop mode via SCU firmware, so this property can help indicate a resource in SCU firmware. Signed-off-by: Joakim Zhang --- Documentation/devicetree/bindings/net/can/fsl-flexcan.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt index 6af67f5e581c..38a7da4fef3f 100644 --- a/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt +++ b/Documentation/devicetree/bindings/net/can/fsl-flexcan.txt @@ -43,6 +43,11 @@ Optional properties: 0: clock source 0 (oscillator clock) 1: clock source 1 (peripheral clock) +- fsl,scu-index: The scu index of CAN instance. + For SoCs with SCU support, need setup stop mode via SCU firmware, + so this property can help indicate a resource. It supports up to + 3 CAN instances now, so the value should be 0, 1, or 2. + - wakeup-source: enable CAN remote wakeup Example: @@ -54,4 +59,5 @@ Example: interrupt-parent = <&mpic>; clock-frequency = <200000000>; // filled in by bootloader fsl,clk-source = /bits/ 8 <0>; // select clock source 0 for PE + fsl,scu-index = /bits/ 8 <1>; // the second CAN instance }; -- 2.17.1