From patchwork Thu Apr 20 21:17:33 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 8501 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp622985vqo; Thu, 20 Apr 2023 14:19:52 -0700 (PDT) X-Google-Smtp-Source: AKy350YaB8JsgTUSCKt6C2xxsUDSeZGBTh2JLbLUfS+DLEvnJQJURlZZaufEiDuSkDBeWV+zJSKn X-Received: by 2002:a17:902:db05:b0:1a9:20bc:798d with SMTP id m5-20020a170902db0500b001a920bc798dmr3664178plx.62.1682025592687; Thu, 20 Apr 2023 14:19:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682025592; cv=none; d=google.com; s=arc-20160816; b=DLAD5JOHapiGVdJuxKs7gNYbDlqhnvxP5U1ovDDdzvcUAJUNirz6zAZKFDZvczhIsP Z5jWBwquanYk7jOULindK8YX96XLKox8ZPH4RumsQLwpz1CzWtCpl0XYZxwr4lJV8F8B KcUPBhUwLoXh5qXkbvjme+rcAxav3f4e1lp8uDH4384w+nzhm97N7UbIE75xWrCH8Hep yHnX/aF+6shorXoY+j3d7Ns8/AsaY+ePQfzv+6+PxfQz1oc73LlIAkjTcyhEcjkvox6a CClnKhyJnZeFhLU7omSVwAtsw7ZV+FeGdUfVo2NdDM1HQlWBRifhzeCFn4qVnmP8bDZz Bzfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:content-transfer-encoding:mime-version :message-id:date:subject:from:dkim-signature; bh=i0Pj+AVFybiuMWHWYcZm+EIAYi+KrTLHdnCxLp8NU1c=; b=uJAgCFMESgptXpgSEeOXZ1QojcNJAKyuRaVjGVBWXhS6drJfFc994d32vh/0TIUKXf dIdEGpXggHD1NW0m1WCujVyhJam6Dg48R6cbNyQ3ULSRNFdDC8cgvhP2bk9CNePFKDcO tTVhRyWvvAQrxi2GdA5e7GmGNgvhPwGS5jEP0+/712aNP6XQEqxH+UbQi73z9O7Q6eS5 psS+LZTx66XFs1MMLd/licDcTheNwExyFg5OYa/yjzdUdnr9AA3mMSJMpT3qRdkodhyR nEnWKQrNeSiPJVL0CnHML5/m4tJNflWf5BZyjBoGtUXDaiulrrzc+k6K/Z7loEq1oGP4 499A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lwDHnyU+; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jg6-20020a17090326c600b001a1f44d31b5si2436756plb.565.2023.04.20.14.19.38; Thu, 20 Apr 2023 14:19:52 -0700 (PDT) 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=@linaro.org header.s=google header.b=lwDHnyU+; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231707AbjDTVRx (ORCPT + 99 others); Thu, 20 Apr 2023 17:17:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45014 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231287AbjDTVRr (ORCPT ); Thu, 20 Apr 2023 17:17:47 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53F984C1A for ; Thu, 20 Apr 2023 14:17:45 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-4ec8148f73eso861776e87.1 for ; Thu, 20 Apr 2023 14:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1682025463; x=1684617463; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=i0Pj+AVFybiuMWHWYcZm+EIAYi+KrTLHdnCxLp8NU1c=; b=lwDHnyU+dTm6lkohZg4kDlrRTFntofvIVqppVB0b8ucL+8Bkd0y+5fTwzeeCMWAog4 5m1Ce4x1U2iMx+TYJe1f2Qrs7zgncuB9KhPxTd2tkHBLVWtuCiel/yKNpdGKgsPB2K8c 5lFlffzW3BQcWuNYGXU/RnyvnwE631oc5wmeL422sc1wIjaKY5wRNYktRg5ugcTO1WO0 waFvCCq3/yGJopu2KoZmGwfSbjKm9h0QX67Txe6IF0RnWGVGlJFWGwm43MRA+/RAtPRZ VsHgGoO27dxBBfPAsUY57oRAycpi1ww6Doj5RIsz0NpdihTGwtRC02mUWPamZsNXUqOm m6Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682025463; x=1684617463; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=i0Pj+AVFybiuMWHWYcZm+EIAYi+KrTLHdnCxLp8NU1c=; b=Ul/hbDqDLpGcGIqse9hP0rTxjHt4iTp5Cn/Q63FwNpt4CFNgaau5e2SialU6LESUB/ z+bo8YQ81WQbrY1PpKo1ByMVcd/0ROlTJegxg3nVCyD4gQUVAJR85FBCWYXxonJ6CDMN 9PYAT42TuUvYqbVCaiVKiSB62tpCe8CHkLdBANZBfSQsbORr4OQlhQoFtB/TH9TA6P/v m+XY2at7HO8jtQmBs+yEhxPTRlUDq02wwLFiq2+XwILoPo7GX0jdT4C0IXhtXNf/uT/U k4ejX68YVeCd9bELOy65HR4pmOD4GwgWVAc5b8X7Fji/m6LT7xfx+w5XxEu6mvgdNFi3 v5Mg== X-Gm-Message-State: AAQBX9ehocexvjpnKYhWdC0lJQ9B5ckc/xUiMFc/yn2gOxvEk5QcuOWM 11O+gEd1hzW2zT6ajnEIj3vxrg== X-Received: by 2002:ac2:46cb:0:b0:4eb:4002:a5ca with SMTP id p11-20020ac246cb000000b004eb4002a5camr671480lfo.66.1682025463586; Thu, 20 Apr 2023 14:17:43 -0700 (PDT) Received: from [192.168.1.2] (c-05d8225c.014-348-6c756e10.bbcust.telenor.se. [92.34.216.5]) by smtp.gmail.com with ESMTPSA id g12-20020a19ee0c000000b004edd3f011cfsm332985lfb.43.2023.04.20.14.17.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Apr 2023 14:17:43 -0700 (PDT) From: Linus Walleij Subject: [PATCH v2 0/2] SRAM dt binding and fix Date: Thu, 20 Apr 2023 23:17:33 +0200 Message-Id: <20230417-ux500-sram-v2-0-6e62ad551faa@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAO2rQWQC/22Nyw7CIBBFf8XM2jFAn7jyP0wX0GI7iYIZtKlp+ u9C3bo895GzQnRMLsL5sAK7mSIFn0AdD9BPxo8OaUgMSqhClLLB91IJgZHNA3UtG103qh5sCel gTXRo2fh+ypff0uVpbp/sbrTsqmuXeKL4CvzZzbPM6V/JLFFgpVWp29batqgud/KGwynwCN22b V/uUng8wwAAAA== To: Rob Herring , Krzysztof Kozlowski , Arnd Bergmann , Greg Kroah-Hartman Cc: Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Linus Walleij X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1763731667609938836?= X-GMAIL-MSGID: =?utf-8?q?1763731667609938836?= This adds a DT binding for the U8500 SRAMs. This patch series also fixes an issue with pool labels that I saw on U8500. I suppose SRAM patches will go in through the SoC tree, I kind of feel that SRAM is a SoC concept and the driver should actually be in drivers/soc... Signed-off-by: Linus Walleij --- Changes in v2: - Change to just use dev_name() for naming the SRAM partition when no label is passed. - Link to v1: https://lore.kernel.org/r/20230417-ux500-sram-v1-0-5924988bb835@linaro.org --- Linus Walleij (2): dt-bindings: sram: Add compatible for ST-Ericsson U8500 eSRAM misc: sram: Generate unique names for subpools Documentation/devicetree/bindings/sram/sram.yaml | 1 + drivers/misc/sram.c | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) --- base-commit: fe15c26ee26efa11741a7b632e9f23b01aca4cc6 change-id: 20230417-ux500-sram-961796726db4 Best regards,