Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2258300imm; Fri, 7 Sep 2018 13:24:16 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYv+asePq/23L4XOoLk1AQqHIWFXlXihrg+Qs5pxyzbiJG67lGfdE8yTsh9my7oYckLr9aI X-Received: by 2002:a63:5025:: with SMTP id e37-v6mr10016666pgb.341.1536351856559; Fri, 07 Sep 2018 13:24:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536351856; cv=none; d=google.com; s=arc-20160816; b=yhtQkKwSVG4Kp6FolEbZx2zHBw64gHML6eclcDEJwmZVTmzb9a/EOQpLB9J9ZwA+lI FTGrMAHzA7M2XLwe5kaSCwFZ69SiVc/OLnqQ8Az/Ilc47UADYzPT28DiRbDF/LiCAc0L hDutl60tgwRftcP1rDYHx74sDjVRZymLki3885KRUoNrH3nWye05qreduNXlx4DXC+xY Pr1HywItqj47auhbBw3Tzpahp4goxFVrCNNaiG6txZBH08ErmsSsTWXuIIbkkXXT0O8f zN21yzrIzKx3edvm0aHAgAf2uQnxHIaf6F0XeNyyGkjqZukzjZTNcHCRy6IcbBenX78j XENA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:content-transfer-encoding :mime-version:organization:references:in-reply-to:date:cc:to:from :message-id; bh=A640OUPaWqhm3Pl9+rswKIyzQvxx2ptxiV2ftphEqsY=; b=rqWA/EAnVvgZ6i0EpkquaFZ8IluAJK+vUO47l7pXp8PA8QaeM5v0DX9GLXRoPWGywW /UsBc/PBx+MiUgTs7hvASXOk/KiEydlG/jI57jhvn5Yu+pDaErCSkUjfyc5oOUY3E4zI 7eF5W3cQQ29UfysHZ7XRT0BQSMzLlXMO8OsQYz7d2ti/IpXmJ1i7v+KWTo8sWrgZWV0A u9KLPWcmgMiqmoFmL1wCkM18IHfC2IfDfWwKetEZw99bKH4+e6wNmlZP/KwGLn0z5wvG jPmeoNNuPYiPMB9JBA45L6P5G5igcn4299BuYp31z/3EF0zFMaWVCfgIK5aUrIzMfvdL eHpw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b128-v6si9516136pfb.352.2018.09.07.13.24.00; Fri, 07 Sep 2018 13:24:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726499AbeIHBF2 (ORCPT + 99 others); Fri, 7 Sep 2018 21:05:28 -0400 Received: from baldur.buserror.net ([165.227.176.147]:48592 "EHLO baldur.buserror.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725999AbeIHBF2 (ORCPT ); Fri, 7 Sep 2018 21:05:28 -0400 Received: from [2601:449:8400:7293:12bf:48ff:fe84:c9a0] by baldur.buserror.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fyNHF-0007Sf-So; Fri, 07 Sep 2018 15:22:50 -0500 Message-ID: From: Scott Wood To: Ran Wang , Leo Li , Rob Herring , Mark Rutland Cc: devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Date: Fri, 07 Sep 2018 15:22:48 -0500 In-Reply-To: <20180831035219.31619-2-ran.wang_1@nxp.com> References: <20180831035219.31619-1-ran.wang_1@nxp.com> <20180831035219.31619-2-ran.wang_1@nxp.com> Organization: Red Hat Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.1-2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 2601:449:8400:7293:12bf:48ff:fe84:c9a0 X-SA-Exim-Rcpt-To: ran.wang_1@nxp.com, leoyang.li@nxp.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-SA-Exim-Mail-From: oss@buserror.net X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on baldur.localdomain X-Spam-Level: X-Spam-Status: No, score=-17.5 required=5.0 tests=ALL_TRUSTED,BAYES_00, GREYLIST_ISWHITE autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -15 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -1.5 GREYLIST_ISWHITE The incoming server has been whitelisted for this * recipient and sender Subject: Re: [PATCH 2/3] Documentation: dt: binding: fsl: update property description for RCPM X-SA-Exim-Version: 4.2.1 (built Tue, 02 Aug 2016 21:08:31 +0000) X-SA-Exim-Scanned: Yes (on baldur.buserror.net) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2018-08-31 at 11:52 +0800, Ran Wang wrote: > +Optional properties: > + - big-endian : Indicate RCPM registers is big-endian. A RCPM node > + that doesn't have this property will be regarded as little-endian. You've just broken all the existing powerpc device trees that are big-endian and have no big-endian property. > + - : This string > + is referred by RCPM driver to judge if the consumer (such as flex timer) > + is able to be regards as wakeup source or not, such as 'fsl,ls1012a- > ftm'. > + Further, this property will carry the bit mask info to control > + coresponding wake up source. What will you do if there are multiple instances of a device with the same compatible, and different wakeup bits? Plus, it's an awkward design in general, and you don't describe what the value actually means (bits in which register?). What was wrong with the existing binding? Alternatively, use the clock bindings. > - > -Example: > - lpuart0: serial@2950000 { > - compatible = "fsl,ls1021a-lpuart"; > - reg = <0x0 0x2950000 0x0 0x1000>; > - interrupts = ; > - clocks = <&sysclk>; > - clock-names = "ipg"; > - fsl,rcpm-wakeup = <&rcpm 0x0 0x40000000>; > + big-endian; > + fsl,ls1012a-ftm = <0x20000>; > + fsl,pfe = <0xf0000020>; fsl,pfe is not documented. -Scott